generator-spec 0.7.2 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.markdown +2 -1
  2. data/Rakefile +10 -7
  3. data/VERSION +1 -1
  4. data/generator-spec.gemspec +9 -22
  5. metadata +69 -171
@@ -1,6 +1,7 @@
1
1
  # RSpec 2 add-on for specifying and testing generators
2
2
 
3
- This project contains RSpec 2 matchers, helpers and various utilities to assist in writing Generator specs. There is additional support geared towards writing specs for Generators in Rails 3.
3
+ This project contains RSpec 2 matchers, helpers and various utilities to assist in writing Generator specs.
4
+ There is additional support for writing specs for Generators in Rails 3.
4
5
 
5
6
  ## Why?
6
7
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ require 'psych'
2
+
1
3
  begin
2
4
  require 'jeweler'
3
5
  Jeweler::Tasks.new do |gem|
@@ -7,18 +9,19 @@ begin
7
9
  gem.email = "kmandrup@gmail.com"
8
10
  gem.homepage = "http://github.com/kristianmandrup/rspec_for_generators"
9
11
  gem.authors = ["Kristian Mandrup"]
10
- gem.add_development_dependency "rspec", ">= 2.0.1"
11
- gem.add_development_dependency "mocha", ">= 0.9.8"
12
- gem.add_development_dependency 'rails-app-spec', "~> 0.3.0"
12
+ # gem.add_development_dependency "rspec", ">= 2.0.1"
13
+ gem.add_development_dependency "mocha", ">= 0.9.8"
14
+ # gem.add_development_dependency 'rails-app-spec', "~> 0.3.0"
13
15
 
14
- gem.add_dependency 'rails-app-spec', ">= 0.3.0"
15
- gem.add_dependency "rspec", ">= 2.0.1"
16
+ # gem.add_dependency 'rails-app-spec', ">= 0.3.2"
17
+ gem.add_dependency "rspec", ">= 2.4.1"
16
18
  gem.add_dependency "rake", ">= 0.8.7"
17
19
  gem.add_dependency "rails", ">= 3.0.1"
18
20
  gem.add_dependency "test-unit", ">= 2.0.1"
21
+
19
22
  gem.add_dependency "require_all", "~> 1.2.0"
20
- gem.add_dependency "sugar-high", "~> 0.3.0"
21
- gem.add_dependency "rails3_artifactor", ">= 0.3.0"
23
+ gem.add_dependency "sugar-high", "~> 0.4.0"
24
+ # gem.add_dependency "rails3_artifactor", ">= 0.3.2"
22
25
 
23
26
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
24
27
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{generator-spec}
8
- s.version = "0.7.2"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-12-20}
12
+ s.date = %q{2011-03-04}
13
13
  s.description = %q{RSpec 2 library to facilitate creating generator specs}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -66,7 +66,7 @@ Gem::Specification.new do |s|
66
66
  ]
67
67
  s.homepage = %q{http://github.com/kristianmandrup/rspec_for_generators}
68
68
  s.require_paths = ["lib"]
69
- s.rubygems_version = %q{1.3.7}
69
+ s.rubygems_version = %q{1.6.1}
70
70
  s.summary = %q{RSpec 2 library add-on for testing generators}
71
71
  s.test_files = [
72
72
  "spec/generator_spec/fixtures/generators/controller/controller_generator.rb",
@@ -89,46 +89,33 @@ Gem::Specification.new do |s|
89
89
  ]
90
90
 
91
91
  if s.respond_to? :specification_version then
92
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
93
92
  s.specification_version = 3
94
93
 
95
94
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
96
- s.add_development_dependency(%q<rspec>, [">= 2.0.1"])
97
95
  s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
98
- s.add_development_dependency(%q<rails-app-spec>, ["~> 0.3.0"])
99
- s.add_runtime_dependency(%q<rails-app-spec>, [">= 0.3.0"])
100
- s.add_runtime_dependency(%q<rspec>, [">= 2.0.1"])
96
+ s.add_runtime_dependency(%q<rspec>, [">= 2.4.1"])
101
97
  s.add_runtime_dependency(%q<rake>, [">= 0.8.7"])
102
98
  s.add_runtime_dependency(%q<rails>, [">= 3.0.1"])
103
99
  s.add_runtime_dependency(%q<test-unit>, [">= 2.0.1"])
104
100
  s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
105
- s.add_runtime_dependency(%q<sugar-high>, ["~> 0.3.0"])
106
- s.add_runtime_dependency(%q<rails3_artifactor>, [">= 0.3.0"])
101
+ s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
107
102
  else
108
- s.add_dependency(%q<rspec>, [">= 2.0.1"])
109
103
  s.add_dependency(%q<mocha>, [">= 0.9.8"])
110
- s.add_dependency(%q<rails-app-spec>, ["~> 0.3.0"])
111
- s.add_dependency(%q<rails-app-spec>, [">= 0.3.0"])
112
- s.add_dependency(%q<rspec>, [">= 2.0.1"])
104
+ s.add_dependency(%q<rspec>, [">= 2.4.1"])
113
105
  s.add_dependency(%q<rake>, [">= 0.8.7"])
114
106
  s.add_dependency(%q<rails>, [">= 3.0.1"])
115
107
  s.add_dependency(%q<test-unit>, [">= 2.0.1"])
116
108
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
117
- s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
118
- s.add_dependency(%q<rails3_artifactor>, [">= 0.3.0"])
109
+ s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
119
110
  end
120
111
  else
121
- s.add_dependency(%q<rspec>, [">= 2.0.1"])
122
112
  s.add_dependency(%q<mocha>, [">= 0.9.8"])
123
- s.add_dependency(%q<rails-app-spec>, ["~> 0.3.0"])
124
- s.add_dependency(%q<rails-app-spec>, [">= 0.3.0"])
125
- s.add_dependency(%q<rspec>, [">= 2.0.1"])
113
+ s.add_dependency(%q<rspec>, [">= 2.4.1"])
126
114
  s.add_dependency(%q<rake>, [">= 0.8.7"])
127
115
  s.add_dependency(%q<rails>, [">= 3.0.1"])
128
116
  s.add_dependency(%q<test-unit>, [">= 2.0.1"])
129
117
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
130
- s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
131
- s.add_dependency(%q<rails3_artifactor>, [">= 0.3.0"])
118
+ s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
132
119
  end
133
120
  end
134
121
 
metadata CHANGED
@@ -1,197 +1,102 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: generator-spec
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 7
8
- - 2
9
- version: 0.7.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.4
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Kristian Mandrup
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-12-20 00:00:00 +01:00
12
+ date: 2011-03-04 00:00:00.000000000 +01:00
18
13
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 2
30
- - 0
31
- - 1
32
- version: 2.0.1
33
- type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
36
16
  name: mocha
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
17
+ requirement: &2157249500 !ruby/object:Gem::Requirement
39
18
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 0
45
- - 9
46
- - 8
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
47
22
  version: 0.9.8
48
23
  type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: rails-app-spec
52
24
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- - 3
61
- - 0
62
- version: 0.3.0
63
- type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: rails-app-spec
67
- prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 0
75
- - 3
76
- - 0
77
- version: 0.3.0
78
- type: :runtime
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *2157249500
26
+ - !ruby/object:Gem::Dependency
81
27
  name: rspec
82
- prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
28
+ requirement: &2157248820 !ruby/object:Gem::Requirement
84
29
  none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- segments:
89
- - 2
90
- - 0
91
- - 1
92
- version: 2.0.1
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.1
93
34
  type: :runtime
94
- version_requirements: *id005
95
- - !ruby/object:Gem::Dependency
96
- name: rake
97
35
  prerelease: false
98
- requirement: &id006 !ruby/object:Gem::Requirement
36
+ version_requirements: *2157248820
37
+ - !ruby/object:Gem::Dependency
38
+ name: rake
39
+ requirement: &2157247680 !ruby/object:Gem::Requirement
99
40
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- segments:
104
- - 0
105
- - 8
106
- - 7
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
107
44
  version: 0.8.7
108
45
  type: :runtime
109
- version_requirements: *id006
110
- - !ruby/object:Gem::Dependency
111
- name: rails
112
46
  prerelease: false
113
- requirement: &id007 !ruby/object:Gem::Requirement
47
+ version_requirements: *2157247680
48
+ - !ruby/object:Gem::Dependency
49
+ name: rails
50
+ requirement: &2157246600 !ruby/object:Gem::Requirement
114
51
  none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- segments:
119
- - 3
120
- - 0
121
- - 1
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
122
55
  version: 3.0.1
123
56
  type: :runtime
124
- version_requirements: *id007
125
- - !ruby/object:Gem::Dependency
126
- name: test-unit
127
57
  prerelease: false
128
- requirement: &id008 !ruby/object:Gem::Requirement
58
+ version_requirements: *2157246600
59
+ - !ruby/object:Gem::Dependency
60
+ name: test-unit
61
+ requirement: &2157242680 !ruby/object:Gem::Requirement
129
62
  none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- segments:
134
- - 2
135
- - 0
136
- - 1
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
137
66
  version: 2.0.1
138
67
  type: :runtime
139
- version_requirements: *id008
140
- - !ruby/object:Gem::Dependency
141
- name: require_all
142
68
  prerelease: false
143
- requirement: &id009 !ruby/object:Gem::Requirement
69
+ version_requirements: *2157242680
70
+ - !ruby/object:Gem::Dependency
71
+ name: require_all
72
+ requirement: &2157241820 !ruby/object:Gem::Requirement
144
73
  none: false
145
- requirements:
74
+ requirements:
146
75
  - - ~>
147
- - !ruby/object:Gem::Version
148
- segments:
149
- - 1
150
- - 2
151
- - 0
76
+ - !ruby/object:Gem::Version
152
77
  version: 1.2.0
153
78
  type: :runtime
154
- version_requirements: *id009
155
- - !ruby/object:Gem::Dependency
156
- name: sugar-high
157
79
  prerelease: false
158
- requirement: &id010 !ruby/object:Gem::Requirement
80
+ version_requirements: *2157241820
81
+ - !ruby/object:Gem::Dependency
82
+ name: sugar-high
83
+ requirement: &2157241180 !ruby/object:Gem::Requirement
159
84
  none: false
160
- requirements:
85
+ requirements:
161
86
  - - ~>
162
- - !ruby/object:Gem::Version
163
- segments:
164
- - 0
165
- - 3
166
- - 0
167
- version: 0.3.0
87
+ - !ruby/object:Gem::Version
88
+ version: 0.4.0
168
89
  type: :runtime
169
- version_requirements: *id010
170
- - !ruby/object:Gem::Dependency
171
- name: rails3_artifactor
172
90
  prerelease: false
173
- requirement: &id011 !ruby/object:Gem::Requirement
174
- none: false
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- segments:
179
- - 0
180
- - 3
181
- - 0
182
- version: 0.3.0
183
- type: :runtime
184
- version_requirements: *id011
91
+ version_requirements: *2157241180
185
92
  description: RSpec 2 library to facilitate creating generator specs
186
93
  email: kmandrup@gmail.com
187
94
  executables: []
188
-
189
95
  extensions: []
190
-
191
- extra_rdoc_files:
96
+ extra_rdoc_files:
192
97
  - LICENSE
193
98
  - README.markdown
194
- files:
99
+ files:
195
100
  - .document
196
101
  - .rspec
197
102
  - LICENSE
@@ -241,36 +146,29 @@ files:
241
146
  has_rdoc: true
242
147
  homepage: http://github.com/kristianmandrup/rspec_for_generators
243
148
  licenses: []
244
-
245
149
  post_install_message:
246
150
  rdoc_options: []
247
-
248
- require_paths:
151
+ require_paths:
249
152
  - lib
250
- required_ruby_version: !ruby/object:Gem::Requirement
153
+ required_ruby_version: !ruby/object:Gem::Requirement
251
154
  none: false
252
- requirements:
253
- - - ">="
254
- - !ruby/object:Gem::Version
255
- segments:
256
- - 0
257
- version: "0"
258
- required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
160
  none: false
260
- requirements:
261
- - - ">="
262
- - !ruby/object:Gem::Version
263
- segments:
264
- - 0
265
- version: "0"
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
266
165
  requirements: []
267
-
268
166
  rubyforge_project:
269
- rubygems_version: 1.3.7
167
+ rubygems_version: 1.6.1
270
168
  signing_key:
271
169
  specification_version: 3
272
170
  summary: RSpec 2 library add-on for testing generators
273
- test_files:
171
+ test_files:
274
172
  - spec/generator_spec/fixtures/generators/controller/controller_generator.rb
275
173
  - spec/generator_spec/fixtures/generators/helper/helper_generator.rb
276
174
  - spec/generator_spec/fixtures/generators/migration/migration_generator.rb