shoulda_machinist_generator 0.2.0 → 0.3.2

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.2.0
1
+ 0.3.2
@@ -1,4 +1,4 @@
1
- class ShouldaModelGenerator < Rails::Generator::NamedBase
1
+ class ShouldaMachinistModelGenerator < Rails::Generator::NamedBase
2
2
  default_options :skip_timestamps => false, :skip_migration => false
3
3
 
4
4
  def manifest
@@ -1,8 +1,8 @@
1
1
  #--
2
- # ShouldaScaffoldGeneratorConfig based on rubygems code.
2
+ # ShouldaMachinistScaffoldGeneratorConfig based on rubygems code.
3
3
  # Thank you Chad Fowler, Rich Kilmer, Jim Weirich and others.
4
4
  #++
5
- class ShouldaScaffoldGeneratorConfig
5
+ class ShouldaMachinistScaffoldGeneratorConfig
6
6
 
7
7
  DEFAULT_TEMPLATING = 'erb'
8
8
  DEFAULT_FUNCTIONAL_TEST_STYLE = 'basic'
@@ -56,7 +56,7 @@ class ShouldaScaffoldGeneratorConfig
56
56
  end
57
57
  end
58
58
 
59
- class ShouldaScaffoldGenerator < Rails::Generator::NamedBase
59
+ class ShouldaMachinistScaffoldGenerator < Rails::Generator::NamedBase
60
60
  default_options :skip_timestamps => false, :skip_migration => false, :skip_layout => true
61
61
 
62
62
  attr_reader :controller_name,
@@ -74,7 +74,7 @@ class ShouldaScaffoldGenerator < Rails::Generator::NamedBase
74
74
  def initialize(runtime_args, runtime_options = {})
75
75
  super
76
76
 
77
- @configuration = ShouldaScaffoldGeneratorConfig.new
77
+ @configuration = ShouldaMachinistScaffoldGeneratorConfig.new
78
78
 
79
79
  @controller_name = @name.pluralize
80
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda_machinist_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Hrycyszyn
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-07 00:00:00 +00:00
13
+ date: 2009-12-09 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -99,22 +99,22 @@ signing_key:
99
99
  specification_version: 3
100
100
  summary: Generators which create tests using shoulda and machinist
101
101
  test_files:
102
- - test/shoulda_macros/generator_macros.rb
103
102
  - test/test_helper.rb
104
- - test/rails_generators/shoulda_model_generator_test.rb
105
- - test/fixtures/about_yml_plugins/bad_about_yml/init.rb
103
+ - test/fixtures/environment_with_constant.rb
106
104
  - test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb
107
- - test/fixtures/eager/zoo/reptile_house.rb
108
- - test/fixtures/eager/zoo.rb
109
- - test/fixtures/lib/generators/working/working_generator.rb
105
+ - test/fixtures/about_yml_plugins/bad_about_yml/init.rb
110
106
  - test/fixtures/lib/generators/missing_class/missing_class_generator.rb
111
- - test/fixtures/plugins/default/gemlike/init.rb
112
- - test/fixtures/plugins/default/gemlike/rails/init.rb
113
- - test/fixtures/plugins/default/gemlike/lib/gemlike.rb
107
+ - test/fixtures/lib/generators/working/working_generator.rb
114
108
  - test/fixtures/plugins/default/stubby/init.rb
115
109
  - test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb
116
110
  - test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb
111
+ - test/fixtures/plugins/default/gemlike/init.rb
112
+ - test/fixtures/plugins/default/gemlike/lib/gemlike.rb
113
+ - test/fixtures/plugins/default/gemlike/rails/init.rb
117
114
  - test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb
118
115
  - test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb
119
- - test/fixtures/environment_with_constant.rb
116
+ - test/fixtures/eager/zoo/reptile_house.rb
117
+ - test/fixtures/eager/zoo.rb
118
+ - test/rails_generators/shoulda_model_generator_test.rb
119
+ - test/shoulda_macros/generator_macros.rb
120
120
  - test/stolen_from_railties.rb