stefanpenner-my_generator 0.1.2 → 0.1.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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- patch: 2
2
+ patch: 3
3
3
  major: 0
4
4
  minor: 1
@@ -29,7 +29,7 @@ class MyScaffoldGeneratorConfig
29
29
  end
30
30
 
31
31
  def config_file
32
- File.join(find_home, '.shoulda_generator')
32
+ File.join(find_home, '.my_generator')
33
33
  end
34
34
 
35
35
  ##
@@ -74,7 +74,7 @@ class MyScaffoldGenerator < Rails::Generator::NamedBase
74
74
  def initialize(runtime_args, runtime_options = {})
75
75
  super
76
76
 
77
- @configuration = ShouldaScaffoldGeneratorConfig.new
77
+ @configuration = MyScaffoldGeneratorConfig.new
78
78
 
79
79
  @controller_name = @name.pluralize
80
80
 
@@ -128,7 +128,7 @@ class MyScaffoldGenerator < Rails::Generator::NamedBase
128
128
 
129
129
  m.route_resources controller_file_name
130
130
 
131
- m.dependency 'shoulda_model', [name] + @args, :collision => :skip
131
+ m.dependency 'my_model', [name] + @args, :collision => :skip
132
132
  end
133
133
  end
134
134
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stefanpenner-my_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Nichols