blockpile 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/blockpile.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{blockpile}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Flint"]
12
- s.date = %q{2010-08-20}
12
+ s.date = %q{2010-08-23}
13
13
  s.description = %q{This module attempts to create structured view helpers. Essentially, a blockpile consists of a ruby class file, and a template. This allows for isolated blocks of view logic, that can maintain a clean separation of markup language from ruby code. Blocks can be inherited from to DRY up view logic.}
14
14
  s.email = %q{tylerflint@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -1,9 +1,10 @@
1
1
  class BlockpileGenerator < Rails::Generators::NamedBase
2
+
2
3
  source_root File.expand_path('../templates', __FILE__)
3
4
 
4
5
  def generate
5
- template "blockpile.rb", "app/helpers/blockpiles/#{file_name}.rb"
6
- copy_file "blockpile.html.erb", "app/views/blockpiles/#{file_name}.html.erb"
6
+ template "blockpile.rb", "app/helpers/#{file_name}_pile.rb"
7
+ copy_file "blockpile.html.erb", "app/views/shared/_#{file_name}.html.erb"
7
8
  end
8
9
 
9
10
  protected
@@ -1,4 +1,4 @@
1
- class <%= class_name %> < Blockpile
1
+ class <%= class_name %>Pile < Blockpile::Base
2
2
 
3
3
  def build(options={})
4
4
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Flint
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-20 00:00:00 -06:00
17
+ date: 2010-08-23 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies: []
20
20