railties 4.0.5 → 4.0.6.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2addba930c313cd529867a5cbda30b54cbda1bea
4
+ data.tar.gz: fa04ea95fef1eb21b51e30821577eaa310ca30f6
5
+ SHA512:
6
+ metadata.gz: af559197da14b7c97924ec2004b3e580c8bccae52f5e04fd2f6542a4914037d4404455af344e69650e64899fd30ef31e1318fb4c92e30e0cf97fe4c3df776da0
7
+ data.tar.gz: 81d5d4a92371e34bcab1b78a5dfb8d6db8ac8e8fdffadfa6e56c44ee24280f816badf55a74b4b0562238538fd71ab42c528f21cc585ced14f22f55dda10626c1
@@ -1,3 +1,10 @@
1
+ ## Rails 4.0.6 (May 27, 2014) ##
2
+
3
+ * Do not set the Rails environment to test by default when using test_unit Railtie.
4
+
5
+ *Konstantin Shabanov*
6
+
7
+
1
8
  ## Rails 4.0.5 (May 6, 2014) ##
2
9
 
3
10
  *No changes*
@@ -28,7 +28,12 @@ module Rails
28
28
 
29
29
  protected
30
30
  attr_reader :file_name
31
- alias :singular_name :file_name
31
+
32
+ # FIXME: We are avoiding to use alias because a bug on thor that make
33
+ # this method public and add it to the task list.
34
+ def singular_name
35
+ file_name
36
+ end
32
37
 
33
38
  # Wrap block with namespace of current application
34
39
  # if namespace exists and is not skipped
@@ -1,4 +1,4 @@
1
- if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^(default$|test(:|$))/).any?
1
+ if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^test(?::|$)/).any?
2
2
  ENV['RAILS_ENV'] ||= 'test'
3
3
  end
4
4
 
@@ -2,8 +2,8 @@ module Rails
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- TINY = 5
6
- PRE = nil
5
+ TINY = 6
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
9
9
  end
metadata CHANGED
@@ -1,88 +1,78 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.5
5
- prerelease:
4
+ version: 4.0.6.rc1
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Heinemeier Hansson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-06 00:00:00.000000000 Z
11
+ date: 2014-05-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 4.0.5
19
+ version: 4.0.6.rc1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 4.0.5
26
+ version: 4.0.6.rc1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: actionpack
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - '='
36
32
  - !ruby/object:Gem::Version
37
- version: 4.0.5
33
+ version: 4.0.6.rc1
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - '='
44
39
  - !ruby/object:Gem::Version
45
- version: 4.0.5
40
+ version: 4.0.6.rc1
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.8.7
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.8.7
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: thor
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: 0.18.1
70
- - - <
62
+ - - "<"
71
63
  - !ruby/object:Gem::Version
72
64
  version: '2.0'
73
65
  type: :runtime
74
66
  prerelease: false
75
67
  version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
68
  requirements:
78
- - - ! '>='
69
+ - - ">="
79
70
  - !ruby/object:Gem::Version
80
71
  version: 0.18.1
81
- - - <
72
+ - - "<"
82
73
  - !ruby/object:Gem::Version
83
74
  version: '2.0'
84
- description: ! 'Rails internals: application bootup, plugins, generators, and rake
85
- tasks.'
75
+ description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
86
76
  email: david@loudthinking.com
87
77
  executables:
88
78
  - rails
@@ -90,21 +80,23 @@ extensions: []
90
80
  extra_rdoc_files: []
91
81
  files:
92
82
  - CHANGELOG.md
93
- - README.rdoc
94
83
  - RDOC_MAIN.rdoc
84
+ - README.rdoc
95
85
  - bin/rails
86
+ - lib/rails.rb
96
87
  - lib/rails/all.rb
97
88
  - lib/rails/api/task.rb
98
89
  - lib/rails/app_rails_loader.rb
90
+ - lib/rails/application.rb
99
91
  - lib/rails/application/bootstrap.rb
100
92
  - lib/rails/application/configuration.rb
101
93
  - lib/rails/application/finisher.rb
102
94
  - lib/rails/application/routes_reloader.rb
103
- - lib/rails/application.rb
104
95
  - lib/rails/backtrace_cleaner.rb
105
96
  - lib/rails/cli.rb
106
97
  - lib/rails/code_statistics.rb
107
98
  - lib/rails/code_statistics_calculator.rb
99
+ - lib/rails/commands.rb
108
100
  - lib/rails/commands/application.rb
109
101
  - lib/rails/commands/console.rb
110
102
  - lib/rails/commands/dbconsole.rb
@@ -114,23 +106,24 @@ files:
114
106
  - lib/rails/commands/runner.rb
115
107
  - lib/rails/commands/server.rb
116
108
  - lib/rails/commands/update.rb
117
- - lib/rails/commands.rb
118
109
  - lib/rails/configuration.rb
119
110
  - lib/rails/console/app.rb
120
111
  - lib/rails/console/helpers.rb
121
112
  - lib/rails/deprecation.rb
113
+ - lib/rails/engine.rb
122
114
  - lib/rails/engine/commands.rb
123
115
  - lib/rails/engine/configuration.rb
124
116
  - lib/rails/engine/railties.rb
125
- - lib/rails/engine.rb
126
- - lib/rails/generators/actions/create_migration.rb
117
+ - lib/rails/generators.rb
127
118
  - lib/rails/generators/actions.rb
119
+ - lib/rails/generators/actions/create_migration.rb
128
120
  - lib/rails/generators/active_model.rb
129
121
  - lib/rails/generators/app_base.rb
130
122
  - lib/rails/generators/base.rb
131
123
  - lib/rails/generators/css/assets/assets_generator.rb
132
124
  - lib/rails/generators/css/assets/templates/stylesheet.css
133
125
  - lib/rails/generators/css/scaffold/scaffold_generator.rb
126
+ - lib/rails/generators/erb.rb
134
127
  - lib/rails/generators/erb/controller/controller_generator.rb
135
128
  - lib/rails/generators/erb/controller/templates/view.html.erb
136
129
  - lib/rails/generators/erb/mailer/mailer_generator.rb
@@ -141,13 +134,16 @@ files:
141
134
  - lib/rails/generators/erb/scaffold/templates/index.html.erb
142
135
  - lib/rails/generators/erb/scaffold/templates/new.html.erb
143
136
  - lib/rails/generators/erb/scaffold/templates/show.html.erb
144
- - lib/rails/generators/erb.rb
145
137
  - lib/rails/generators/generated_attribute.rb
146
138
  - lib/rails/generators/js/assets/assets_generator.rb
147
139
  - lib/rails/generators/js/assets/templates/javascript.js
148
140
  - lib/rails/generators/migration.rb
149
141
  - lib/rails/generators/named_base.rb
142
+ - lib/rails/generators/rails/app/USAGE
150
143
  - lib/rails/generators/rails/app/app_generator.rb
144
+ - lib/rails/generators/rails/app/templates/Gemfile
145
+ - lib/rails/generators/rails/app/templates/README.rdoc
146
+ - lib/rails/generators/rails/app/templates/Rakefile
151
147
  - lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
152
148
  - lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css
153
149
  - lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt
@@ -156,6 +152,7 @@ files:
156
152
  - lib/rails/generators/rails/app/templates/bin/bundle
157
153
  - lib/rails/generators/rails/app/templates/bin/rails
158
154
  - lib/rails/generators/rails/app/templates/bin/rake
155
+ - lib/rails/generators/rails/app/templates/config.ru
159
156
  - lib/rails/generators/rails/app/templates/config/application.rb
160
157
  - lib/rails/generators/rails/app/templates/config/boot.rb
161
158
  - lib/rails/generators/rails/app/templates/config/databases/frontbase.yml
@@ -182,78 +179,77 @@ files:
182
179
  - lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
183
180
  - lib/rails/generators/rails/app/templates/config/locales/en.yml
184
181
  - lib/rails/generators/rails/app/templates/config/routes.rb
185
- - lib/rails/generators/rails/app/templates/config.ru
186
182
  - lib/rails/generators/rails/app/templates/db/seeds.rb.tt
187
- - lib/rails/generators/rails/app/templates/Gemfile
188
183
  - lib/rails/generators/rails/app/templates/gitignore
189
184
  - lib/rails/generators/rails/app/templates/public/404.html
190
185
  - lib/rails/generators/rails/app/templates/public/422.html
191
186
  - lib/rails/generators/rails/app/templates/public/500.html
192
187
  - lib/rails/generators/rails/app/templates/public/favicon.ico
193
188
  - lib/rails/generators/rails/app/templates/public/robots.txt
194
- - lib/rails/generators/rails/app/templates/Rakefile
195
- - lib/rails/generators/rails/app/templates/README.rdoc
196
189
  - lib/rails/generators/rails/app/templates/test/test_helper.rb
197
- - lib/rails/generators/rails/app/USAGE
190
+ - lib/rails/generators/rails/assets/USAGE
198
191
  - lib/rails/generators/rails/assets/assets_generator.rb
199
192
  - lib/rails/generators/rails/assets/templates/javascript.js
200
193
  - lib/rails/generators/rails/assets/templates/stylesheet.css
201
- - lib/rails/generators/rails/assets/USAGE
194
+ - lib/rails/generators/rails/controller/USAGE
202
195
  - lib/rails/generators/rails/controller/controller_generator.rb
203
196
  - lib/rails/generators/rails/controller/templates/controller.rb
204
- - lib/rails/generators/rails/controller/USAGE
197
+ - lib/rails/generators/rails/generator/USAGE
205
198
  - lib/rails/generators/rails/generator/generator_generator.rb
206
199
  - lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt
207
200
  - lib/rails/generators/rails/generator/templates/USAGE.tt
208
- - lib/rails/generators/rails/generator/USAGE
201
+ - lib/rails/generators/rails/generator/templates/templates/.empty_directory
202
+ - lib/rails/generators/rails/helper/USAGE
209
203
  - lib/rails/generators/rails/helper/helper_generator.rb
210
204
  - lib/rails/generators/rails/helper/templates/helper.rb
211
- - lib/rails/generators/rails/helper/USAGE
212
- - lib/rails/generators/rails/integration_test/integration_test_generator.rb
213
205
  - lib/rails/generators/rails/integration_test/USAGE
214
- - lib/rails/generators/rails/migration/migration_generator.rb
206
+ - lib/rails/generators/rails/integration_test/integration_test_generator.rb
215
207
  - lib/rails/generators/rails/migration/USAGE
216
- - lib/rails/generators/rails/model/model_generator.rb
208
+ - lib/rails/generators/rails/migration/migration_generator.rb
217
209
  - lib/rails/generators/rails/model/USAGE
210
+ - lib/rails/generators/rails/model/model_generator.rb
211
+ - lib/rails/generators/rails/plugin_new/USAGE
218
212
  - lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
219
213
  - lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
214
+ - lib/rails/generators/rails/plugin_new/templates/Gemfile
215
+ - lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE
216
+ - lib/rails/generators/rails/plugin_new/templates/README.rdoc
217
+ - lib/rails/generators/rails/plugin_new/templates/Rakefile
220
218
  - lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt
221
219
  - lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt
220
+ - lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory
221
+ - lib/rails/generators/rails/plugin_new/templates/app/models/.empty_directory
222
222
  - lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt
223
223
  - lib/rails/generators/rails/plugin_new/templates/bin/rails.tt
224
224
  - lib/rails/generators/rails/plugin_new/templates/config/routes.rb
225
- - lib/rails/generators/rails/plugin_new/templates/Gemfile
226
225
  - lib/rails/generators/rails/plugin_new/templates/gitignore
226
+ - lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb
227
227
  - lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb
228
228
  - lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb
229
- - lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb
230
229
  - lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake
231
- - lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE
232
230
  - lib/rails/generators/rails/plugin_new/templates/rails/application.rb
233
231
  - lib/rails/generators/rails/plugin_new/templates/rails/boot.rb
234
232
  - lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js
235
233
  - lib/rails/generators/rails/plugin_new/templates/rails/routes.rb
236
234
  - lib/rails/generators/rails/plugin_new/templates/rails/stylesheets.css
237
- - lib/rails/generators/rails/plugin_new/templates/Rakefile
238
- - lib/rails/generators/rails/plugin_new/templates/README.rdoc
239
235
  - lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb
240
236
  - lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb
241
237
  - lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb
242
- - lib/rails/generators/rails/plugin_new/USAGE
243
- - lib/rails/generators/rails/resource/resource_generator.rb
244
238
  - lib/rails/generators/rails/resource/USAGE
239
+ - lib/rails/generators/rails/resource/resource_generator.rb
245
240
  - lib/rails/generators/rails/resource_route/resource_route_generator.rb
241
+ - lib/rails/generators/rails/scaffold/USAGE
246
242
  - lib/rails/generators/rails/scaffold/scaffold_generator.rb
247
243
  - lib/rails/generators/rails/scaffold/templates/scaffold.css
248
- - lib/rails/generators/rails/scaffold/USAGE
244
+ - lib/rails/generators/rails/scaffold_controller/USAGE
249
245
  - lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
250
246
  - lib/rails/generators/rails/scaffold_controller/templates/controller.rb
251
- - lib/rails/generators/rails/scaffold_controller/USAGE
247
+ - lib/rails/generators/rails/task/USAGE
252
248
  - lib/rails/generators/rails/task/task_generator.rb
253
249
  - lib/rails/generators/rails/task/templates/task.rb
254
- - lib/rails/generators/rails/task/USAGE
255
250
  - lib/rails/generators/resource_helpers.rb
256
251
  - lib/rails/generators/test_case.rb
252
+ - lib/rails/generators/test_unit.rb
257
253
  - lib/rails/generators/test_unit/controller/controller_generator.rb
258
254
  - lib/rails/generators/test_unit/controller/templates/functional_test.rb
259
255
  - lib/rails/generators/test_unit/helper/helper_generator.rb
@@ -270,25 +266,24 @@ files:
270
266
  - lib/rails/generators/test_unit/plugin/templates/test_helper.rb
271
267
  - lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
272
268
  - lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
273
- - lib/rails/generators/test_unit.rb
274
269
  - lib/rails/generators/testing/assertions.rb
275
270
  - lib/rails/generators/testing/behaviour.rb
276
271
  - lib/rails/generators/testing/setup_and_teardown.rb
277
- - lib/rails/generators.rb
278
272
  - lib/rails/info.rb
279
273
  - lib/rails/info_controller.rb
280
274
  - lib/rails/initializable.rb
281
275
  - lib/rails/paths.rb
276
+ - lib/rails/rack.rb
282
277
  - lib/rails/rack/debugger.rb
283
278
  - lib/rails/rack/log_tailer.rb
284
279
  - lib/rails/rack/logger.rb
285
- - lib/rails/rack.rb
280
+ - lib/rails/railtie.rb
286
281
  - lib/rails/railtie/configurable.rb
287
282
  - lib/rails/railtie/configuration.rb
288
- - lib/rails/railtie.rb
289
283
  - lib/rails/ruby_version_check.rb
290
284
  - lib/rails/rubyprof_ext.rb
291
285
  - lib/rails/source_annotation_extractor.rb
286
+ - lib/rails/tasks.rb
292
287
  - lib/rails/tasks/annotations.rake
293
288
  - lib/rails/tasks/documentation.rake
294
289
  - lib/rails/tasks/engine.rake
@@ -299,7 +294,6 @@ files:
299
294
  - lib/rails/tasks/routes.rake
300
295
  - lib/rails/tasks/statistics.rake
301
296
  - lib/rails/tasks/tmp.rake
302
- - lib/rails/tasks.rb
303
297
  - lib/rails/templates/layouts/application.html.erb
304
298
  - lib/rails/templates/rails/info/properties.html.erb
305
299
  - lib/rails/templates/rails/info/routes.html.erb
@@ -310,35 +304,30 @@ files:
310
304
  - lib/rails/test_unit/testing.rake
311
305
  - lib/rails/version.rb
312
306
  - lib/rails/welcome_controller.rb
313
- - lib/rails.rb
314
- - lib/rails/generators/rails/generator/templates/templates/.empty_directory
315
- - lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory
316
- - lib/rails/generators/rails/plugin_new/templates/app/models/.empty_directory
317
307
  homepage: http://www.rubyonrails.org
318
308
  licenses:
319
309
  - MIT
310
+ metadata: {}
320
311
  post_install_message:
321
312
  rdoc_options:
322
- - --exclude
323
- - .
313
+ - "--exclude"
314
+ - "."
324
315
  require_paths:
325
316
  - lib
326
317
  required_ruby_version: !ruby/object:Gem::Requirement
327
- none: false
328
318
  requirements:
329
- - - ! '>='
319
+ - - ">="
330
320
  - !ruby/object:Gem::Version
331
321
  version: 1.9.3
332
322
  required_rubygems_version: !ruby/object:Gem::Requirement
333
- none: false
334
323
  requirements:
335
- - - ! '>='
324
+ - - ">"
336
325
  - !ruby/object:Gem::Version
337
- version: '0'
326
+ version: 1.3.1
338
327
  requirements: []
339
328
  rubyforge_project:
340
- rubygems_version: 1.8.23.2
329
+ rubygems_version: 2.2.2
341
330
  signing_key:
342
- specification_version: 3
331
+ specification_version: 4
343
332
  summary: Tools for creating, working with, and running Rails applications.
344
333
  test_files: []