stefanpenner-my_generator 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +29 -29
- data/VERSION.yml +1 -1
- data/rails_generators/{shoulda_model → my_model}/USAGE +0 -0
- data/rails_generators/{shoulda_model/shoulda_model_generator.rb → my_model/my_model_generator.rb} +1 -1
- data/rails_generators/{shoulda_model → my_model}/templates/factory.rb +0 -0
- data/rails_generators/{shoulda_model → my_model}/templates/fixtures.yml +0 -0
- data/rails_generators/{shoulda_model → my_model}/templates/migration.rb +0 -0
- data/rails_generators/{shoulda_model → my_model}/templates/model.rb +0 -0
- data/rails_generators/{shoulda_model → my_model}/templates/unit_test.rb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/USAGE +0 -0
- data/rails_generators/{shoulda_scaffold/shoulda_scaffold_generator.rb → my_scaffold/my_scaffold_generator.rb} +2 -2
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/blueprint/ie.css +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/blueprint/print.css +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/blueprint/screen.css +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/controller.rb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/_form.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/edit.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/index.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/layout.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/new.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/erb/show.html.erb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/functional_test/basic.rb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/functional_test/should_be_restful.rb +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/_form.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/edit.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/index.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/layout.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/new.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/haml/show.html.haml +0 -0
- data/rails_generators/{shoulda_scaffold → my_scaffold}/templates/helper.rb +0 -0
- metadata +29 -29
data/Manifest
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
rails_generators/
|
2
|
-
rails_generators/
|
3
|
-
rails_generators/
|
4
|
-
rails_generators/
|
5
|
-
rails_generators/
|
6
|
-
rails_generators/
|
7
|
-
rails_generators/
|
8
|
-
rails_generators/
|
9
|
-
rails_generators/
|
10
|
-
rails_generators/
|
11
|
-
rails_generators/
|
12
|
-
rails_generators/
|
13
|
-
rails_generators/
|
14
|
-
rails_generators/
|
15
|
-
rails_generators/
|
16
|
-
rails_generators/
|
17
|
-
rails_generators/
|
18
|
-
rails_generators/
|
19
|
-
rails_generators/
|
20
|
-
rails_generators/
|
21
|
-
rails_generators/
|
22
|
-
rails_generators/
|
23
|
-
rails_generators/
|
24
|
-
rails_generators/
|
25
|
-
rails_generators/
|
26
|
-
rails_generators/
|
27
|
-
rails_generators/
|
28
|
-
rails_generators/
|
1
|
+
rails_generators/my_model/shoulda_model_generator.rb
|
2
|
+
rails_generators/my_model/templates/factory.rb
|
3
|
+
rails_generators/my_model/templates/fixtures.yml
|
4
|
+
rails_generators/my_model/templates/migration.rb
|
5
|
+
rails_generators/my_model/templates/model.rb
|
6
|
+
rails_generators/my_model/templates/unit_test.rb
|
7
|
+
rails_generators/my_model/USAGE
|
8
|
+
rails_generators/my_scaffold/shoulda_scaffold_generator.rb
|
9
|
+
rails_generators/my_scaffold/templates/blueprint/ie.css
|
10
|
+
rails_generators/my_scaffold/templates/blueprint/print.css
|
11
|
+
rails_generators/my_scaffold/templates/blueprint/screen.css
|
12
|
+
rails_generators/my_scaffold/templates/controller.rb
|
13
|
+
rails_generators/my_scaffold/templates/erb/_form.html.erb
|
14
|
+
rails_generators/my_scaffold/templates/erb/edit.html.erb
|
15
|
+
rails_generators/my_scaffold/templates/erb/index.html.erb
|
16
|
+
rails_generators/my_scaffold/templates/erb/layout.html.erb
|
17
|
+
rails_generators/my_scaffold/templates/erb/new.html.erb
|
18
|
+
rails_generators/my_scaffold/templates/erb/show.html.erb
|
19
|
+
rails_generators/my_scaffold/templates/functional_test/basic.rb
|
20
|
+
rails_generators/my_scaffold/templates/functional_test/should_be_restful.rb
|
21
|
+
rails_generators/my_scaffold/templates/haml/_form.html.haml
|
22
|
+
rails_generators/my_scaffold/templates/haml/edit.html.haml
|
23
|
+
rails_generators/my_scaffold/templates/haml/index.html.haml
|
24
|
+
rails_generators/my_scaffold/templates/haml/layout.html.haml
|
25
|
+
rails_generators/my_scaffold/templates/haml/new.html.haml
|
26
|
+
rails_generators/my_scaffold/templates/haml/show.html.haml
|
27
|
+
rails_generators/my_scaffold/templates/helper.rb
|
28
|
+
rails_generators/my_scaffold/USAGE
|
29
29
|
Rakefile
|
30
30
|
README.markdown
|
31
|
-
|
31
|
+
my_generator.gemspec
|
32
32
|
Manifest
|
data/VERSION.yml
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# ShouldaScaffoldGeneratorConfig based on rubygems code.
|
3
3
|
# Thank you Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
4
4
|
#++
|
5
|
-
class
|
5
|
+
class MyScaffoldGeneratorConfig
|
6
6
|
|
7
7
|
DEFAULT_TEMPLATING = 'haml'
|
8
8
|
DEFAULT_FUNCTIONAL_TEST_STYLE = 'should_be_restful'
|
@@ -56,7 +56,7 @@ class ShouldaScaffoldGeneratorConfig
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
class
|
59
|
+
class MyScaffoldGenerator < Rails::Generator::NamedBase
|
60
60
|
default_options :skip_timestamps => false, :skip_migration => false, :skip_layout => true
|
61
61
|
|
62
62
|
attr_reader :controller_name,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Nichols
|
@@ -87,34 +87,34 @@ files:
|
|
87
87
|
- test/shoulda_macros/generator_macros.rb
|
88
88
|
- test/stolen_from_railties.rb
|
89
89
|
- test/test_helper.rb
|
90
|
-
- rails_generators/
|
91
|
-
- rails_generators/
|
92
|
-
- rails_generators/
|
93
|
-
- rails_generators/
|
94
|
-
- rails_generators/
|
95
|
-
- rails_generators/
|
96
|
-
- rails_generators/
|
97
|
-
- rails_generators/
|
98
|
-
- rails_generators/
|
99
|
-
- rails_generators/
|
100
|
-
- rails_generators/
|
101
|
-
- rails_generators/
|
102
|
-
- rails_generators/
|
103
|
-
- rails_generators/
|
104
|
-
- rails_generators/
|
105
|
-
- rails_generators/
|
106
|
-
- rails_generators/
|
107
|
-
- rails_generators/
|
108
|
-
- rails_generators/
|
109
|
-
- rails_generators/
|
110
|
-
- rails_generators/
|
111
|
-
- rails_generators/
|
112
|
-
- rails_generators/
|
113
|
-
- rails_generators/
|
114
|
-
- rails_generators/
|
115
|
-
- rails_generators/
|
116
|
-
- rails_generators/
|
117
|
-
- rails_generators/
|
90
|
+
- rails_generators/my_model/my_model_generator.rb
|
91
|
+
- rails_generators/my_model/templates/factory.rb
|
92
|
+
- rails_generators/my_model/templates/fixtures.yml
|
93
|
+
- rails_generators/my_model/templates/migration.rb
|
94
|
+
- rails_generators/my_model/templates/model.rb
|
95
|
+
- rails_generators/my_model/templates/unit_test.rb
|
96
|
+
- rails_generators/my_model/USAGE
|
97
|
+
- rails_generators/my_scaffold/my_scaffold_generator.rb
|
98
|
+
- rails_generators/my_scaffold/templates/blueprint/ie.css
|
99
|
+
- rails_generators/my_scaffold/templates/blueprint/print.css
|
100
|
+
- rails_generators/my_scaffold/templates/blueprint/screen.css
|
101
|
+
- rails_generators/my_scaffold/templates/controller.rb
|
102
|
+
- rails_generators/my_scaffold/templates/erb/_form.html.erb
|
103
|
+
- rails_generators/my_scaffold/templates/erb/edit.html.erb
|
104
|
+
- rails_generators/my_scaffold/templates/erb/index.html.erb
|
105
|
+
- rails_generators/my_scaffold/templates/erb/layout.html.erb
|
106
|
+
- rails_generators/my_scaffold/templates/erb/new.html.erb
|
107
|
+
- rails_generators/my_scaffold/templates/erb/show.html.erb
|
108
|
+
- rails_generators/my_scaffold/templates/functional_test/basic.rb
|
109
|
+
- rails_generators/my_scaffold/templates/functional_test/should_be_restful.rb
|
110
|
+
- rails_generators/my_scaffold/templates/haml/_form.html.haml
|
111
|
+
- rails_generators/my_scaffold/templates/haml/edit.html.haml
|
112
|
+
- rails_generators/my_scaffold/templates/haml/index.html.haml
|
113
|
+
- rails_generators/my_scaffold/templates/haml/layout.html.haml
|
114
|
+
- rails_generators/my_scaffold/templates/haml/new.html.haml
|
115
|
+
- rails_generators/my_scaffold/templates/haml/show.html.haml
|
116
|
+
- rails_generators/my_scaffold/templates/helper.rb
|
117
|
+
- rails_generators/my_scaffold/USAGE
|
118
118
|
has_rdoc: false
|
119
119
|
homepage: http://github.com/stefanpenner/my_generator
|
120
120
|
post_install_message:
|