rails3-generators 0.10.2 → 0.10.3

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/CHANGELOG.rdoc CHANGED
@@ -4,7 +4,7 @@
4
4
  * Datamapper Tests
5
5
  * Mongomapper Tests
6
6
 
7
- == 0.10.2
7
+ == 0.10.3
8
8
  * optimize
9
9
  * add --extension option to machinist blueprints. (I like using ".blueprint". --Louis T.)
10
10
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.2
1
+ 0.10.3
@@ -5,7 +5,7 @@ module Machinist
5
5
  class ModelGenerator < Base
6
6
  argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
7
7
  class_option :dir, :type => :string, :default => "test/blueprints", :desc => "The directory where the blueprints should go"
8
- class_option :extension, :type => :string, :default => "rb", :desc => "file extenstion name"
8
+ class_option :extension, :type => :string, :default => "rb", :desc => "file extension name"
9
9
 
10
10
  def create_machinist_initializer
11
11
  return if File.exists?(File.expand_path("config/initializers/machinist.rb", self.destination_root))
@@ -13,7 +13,7 @@ module Machinist
13
13
  end
14
14
 
15
15
  def create_blueprint_file
16
- template 'blueprint.rb', File.join(options[:dir], "#{table_name}.#{options[:extenstion].to_s}")
16
+ template 'blueprint.rb', File.join(options[:dir], "#{table_name}.#{options[:extension].to_s}")
17
17
  end
18
18
  end
19
19
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails3-generators}
8
- s.version = "0.10.2"
8
+ s.version = "0.10.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T.", "Jai-Gouk Kim", "Darcy Laycock", "Peter Haza", "Peter Gumeson"]
@@ -130,7 +130,7 @@ Gem::Specification.new do |s|
130
130
  ]
131
131
  s.homepage = %q{http://github.com/indirect/rails3-generators}
132
132
  s.post_install_message = %q{
133
- rails3-generators-0.10.2
133
+ rails3-generators-0.10.3
134
134
 
135
135
  Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,
136
136
  for information about recent changes to this project.
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 10
8
- - 2
9
- version: 0.10.2
8
+ - 3
9
+ version: 0.10.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Valim
@@ -151,7 +151,7 @@ homepage: http://github.com/indirect/rails3-generators
151
151
  licenses: []
152
152
 
153
153
  post_install_message: "\n\
154
- rails3-generators-0.10.2\n\n\
154
+ rails3-generators-0.10.3\n\n\
155
155
  Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,\n\
156
156
  for information about recent changes to this project.\n\n\
157
157
  note: if you use erb templates add the follow to your generators block to take full advantage of this gem.\n\