shoulda_machinist_generator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +28 -0
- data/VERSION +1 -0
- data/rails_generators/shoulda_model/USAGE +27 -0
- data/rails_generators/shoulda_model/shoulda_model_generator.rb +70 -0
- data/rails_generators/shoulda_model/templates/blueprints.rb +24 -0
- data/rails_generators/shoulda_model/templates/migration.rb +16 -0
- data/rails_generators/shoulda_model/templates/model.rb +2 -0
- data/rails_generators/shoulda_model/templates/unit_test.rb +7 -0
- data/rails_generators/shoulda_scaffold/USAGE +34 -0
- data/rails_generators/shoulda_scaffold/shoulda_scaffold_generator.rb +166 -0
- data/rails_generators/shoulda_scaffold/templates/blueprint/ie.css +22 -0
- data/rails_generators/shoulda_scaffold/templates/blueprint/print.css +29 -0
- data/rails_generators/shoulda_scaffold/templates/blueprint/screen.css +226 -0
- data/rails_generators/shoulda_scaffold/templates/controller.rb +72 -0
- data/rails_generators/shoulda_scaffold/templates/erb/_form.html.erb +8 -0
- data/rails_generators/shoulda_scaffold/templates/erb/edit.html.erb +12 -0
- data/rails_generators/shoulda_scaffold/templates/erb/index.html.erb +22 -0
- data/rails_generators/shoulda_scaffold/templates/erb/layout.html.erb +22 -0
- data/rails_generators/shoulda_scaffold/templates/erb/new.html.erb +8 -0
- data/rails_generators/shoulda_scaffold/templates/erb/show.html.erb +12 -0
- data/rails_generators/shoulda_scaffold/templates/functional_test/basic.rb +107 -0
- data/rails_generators/shoulda_scaffold/templates/helper.rb +2 -0
- data/test/fixtures/about_yml_plugins/bad_about_yml/about.yml +1 -0
- data/test/fixtures/about_yml_plugins/bad_about_yml/init.rb +1 -0
- data/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb +1 -0
- data/test/fixtures/eager/zoo.rb +3 -0
- data/test/fixtures/eager/zoo/reptile_house.rb +2 -0
- data/test/fixtures/environment_with_constant.rb +1 -0
- data/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
- data/test/fixtures/lib/generators/working/working_generator.rb +2 -0
- data/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb +4 -0
- data/test/fixtures/plugins/default/gemlike/init.rb +1 -0
- data/test/fixtures/plugins/default/gemlike/lib/gemlike.rb +2 -0
- data/test/fixtures/plugins/default/gemlike/rails/init.rb +7 -0
- data/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
- data/test/fixtures/plugins/default/stubby/about.yml +2 -0
- data/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb +4 -0
- data/test/fixtures/plugins/default/stubby/init.rb +7 -0
- data/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +2 -0
- data/test/fixtures/tmp/test.log +1 -0
- data/test/rails_generators/shoulda_model_generator_test.rb +39 -0
- data/test/shoulda_macros/generator_macros.rb +36 -0
- data/test/stolen_from_railties.rb +288 -0
- data/test/test_helper.rb +41 -0
- metadata +120 -0
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: shoulda_machinist_generator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dave Hrycyszyn
|
8
|
+
- Stuart Chinery
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-12-07 00:00:00 +00:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: Generators which create tests using shoulda and machinist
|
18
|
+
email: dave.hrycyszyn@headlondon.com
|
19
|
+
executables: []
|
20
|
+
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- LICENSE
|
25
|
+
- README.rdoc
|
26
|
+
files:
|
27
|
+
- LICENSE
|
28
|
+
- README.rdoc
|
29
|
+
- Rakefile
|
30
|
+
- VERSION
|
31
|
+
- rails_generators/shoulda_model/USAGE
|
32
|
+
- rails_generators/shoulda_model/shoulda_model_generator.rb
|
33
|
+
- rails_generators/shoulda_model/templates/blueprints.rb
|
34
|
+
- rails_generators/shoulda_model/templates/migration.rb
|
35
|
+
- rails_generators/shoulda_model/templates/model.rb
|
36
|
+
- rails_generators/shoulda_model/templates/unit_test.rb
|
37
|
+
- rails_generators/shoulda_scaffold/USAGE
|
38
|
+
- rails_generators/shoulda_scaffold/shoulda_scaffold_generator.rb
|
39
|
+
- rails_generators/shoulda_scaffold/templates/blueprint/ie.css
|
40
|
+
- rails_generators/shoulda_scaffold/templates/blueprint/print.css
|
41
|
+
- rails_generators/shoulda_scaffold/templates/blueprint/screen.css
|
42
|
+
- rails_generators/shoulda_scaffold/templates/controller.rb
|
43
|
+
- rails_generators/shoulda_scaffold/templates/erb/_form.html.erb
|
44
|
+
- rails_generators/shoulda_scaffold/templates/erb/edit.html.erb
|
45
|
+
- rails_generators/shoulda_scaffold/templates/erb/index.html.erb
|
46
|
+
- rails_generators/shoulda_scaffold/templates/erb/layout.html.erb
|
47
|
+
- rails_generators/shoulda_scaffold/templates/erb/new.html.erb
|
48
|
+
- rails_generators/shoulda_scaffold/templates/erb/show.html.erb
|
49
|
+
- rails_generators/shoulda_scaffold/templates/functional_test/basic.rb
|
50
|
+
- rails_generators/shoulda_scaffold/templates/helper.rb
|
51
|
+
- test/fixtures/about_yml_plugins/bad_about_yml/about.yml
|
52
|
+
- test/fixtures/about_yml_plugins/bad_about_yml/init.rb
|
53
|
+
- test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb
|
54
|
+
- test/fixtures/eager/zoo.rb
|
55
|
+
- test/fixtures/eager/zoo/reptile_house.rb
|
56
|
+
- test/fixtures/environment_with_constant.rb
|
57
|
+
- test/fixtures/lib/generators/missing_class/missing_class_generator.rb
|
58
|
+
- test/fixtures/lib/generators/working/working_generator.rb
|
59
|
+
- test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb
|
60
|
+
- test/fixtures/plugins/default/gemlike/init.rb
|
61
|
+
- test/fixtures/plugins/default/gemlike/lib/gemlike.rb
|
62
|
+
- test/fixtures/plugins/default/gemlike/rails/init.rb
|
63
|
+
- test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb
|
64
|
+
- test/fixtures/plugins/default/stubby/about.yml
|
65
|
+
- test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb
|
66
|
+
- test/fixtures/plugins/default/stubby/init.rb
|
67
|
+
- test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb
|
68
|
+
- test/fixtures/tmp/test.log
|
69
|
+
- test/rails_generators/shoulda_model_generator_test.rb
|
70
|
+
- test/shoulda_macros/generator_macros.rb
|
71
|
+
- test/stolen_from_railties.rb
|
72
|
+
- test/test_helper.rb
|
73
|
+
has_rdoc: true
|
74
|
+
homepage: http://github.com/futurechimp/shoulda_machinist_generator
|
75
|
+
licenses: []
|
76
|
+
|
77
|
+
post_install_message:
|
78
|
+
rdoc_options:
|
79
|
+
- --charset=UTF-8
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
version:
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: "0"
|
93
|
+
version:
|
94
|
+
requirements: []
|
95
|
+
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 1.3.5
|
98
|
+
signing_key:
|
99
|
+
specification_version: 3
|
100
|
+
summary: Generators which create tests using shoulda and machinist
|
101
|
+
test_files:
|
102
|
+
- test/shoulda_macros/generator_macros.rb
|
103
|
+
- test/test_helper.rb
|
104
|
+
- test/rails_generators/shoulda_model_generator_test.rb
|
105
|
+
- test/fixtures/about_yml_plugins/bad_about_yml/init.rb
|
106
|
+
- 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
|
110
|
+
- 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
|
114
|
+
- test/fixtures/plugins/default/stubby/init.rb
|
115
|
+
- test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb
|
116
|
+
- test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb
|
117
|
+
- test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb
|
118
|
+
- test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb
|
119
|
+
- test/fixtures/environment_with_constant.rb
|
120
|
+
- test/stolen_from_railties.rb
|