Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
danwrong committed Apr 8, 2009
0 parents commit 60b0448
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
pkg
1 change: 1 addition & 0 deletions CHANGELOG
@@ -0,0 +1 @@
v0.1 Initial release
22 changes: 22 additions & 0 deletions LICENSE
@@ -0,0 +1,22 @@
Copyright (c) 2009 Dan Webb

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions Manifest
@@ -0,0 +1,6 @@
CHANGELOG
lib/liquid_inheritance.rb
LICENSE
Rakefile
README
Manifest
Empty file added README
Empty file.
10 changes: 10 additions & 0 deletions Rakefile
@@ -0,0 +1,10 @@
require 'echoe'

Echoe.new("liquid-inheritance") do |p|
p.author = "Dan Webb"
p.email = 'dan@danwebb.net'
p.summary = "Adds Django style template inheritance to Liquid"
p.url = "http://github.com/danwrong/liquid-inheritance/"
p.runtime_dependencies = ["liquid >= 1.9.0"]
p.retain_gemspec = true
end
9 changes: 9 additions & 0 deletions lib/liquid_inheritance.rb
@@ -0,0 +1,9 @@
require 'liquid'

module LiquidInheritance
autoload :Extends, 'tags/extends'
autoload :Block, 'tags/block'
end

Liquid::Template.register_tag(:extends, LiquidInheritance::Extends)
Liquid::Template.register_tag(:block, LiquidInheritance::Block)
Empty file added lib/tags/block.rb
Empty file.
Empty file added lib/tags/extends.rb
Empty file.

0 comments on commit 60b0448

Please sign in to comment.