rails 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: 9bc9928c416b65b18ebc53d54d36a2917ecf7c0e
4
+ data.tar.gz: 11c9750dfdfccc40e37964c050740ebe4d08ba69
5
+ SHA512:
6
+ metadata.gz: 48106395d762d5ea8a209d4cccacd191f6e88d2cf4355106c8b2b87fdf0e15fddf810677e10b117236aaf22321c2e74890ea74e391eb5fca215bb87ebace2a4f
7
+ data.tar.gz: daa4ea4d125225295c30abae8e63e17c917e7aa9d488c88457cbd4220cef6b5008e43737b06c1adde5ed3f8d587b35e9fc6fe671cad132d0a31d9d1a9f61e2ba
@@ -1,3 +1,8 @@
1
+ ## Rails 4.0.6 (May 27, 2014) ##
2
+
3
+ *No changes*
4
+
5
+
1
6
  ## Rails 4.0.5 (May 6, 2014) ##
2
7
 
3
8
  *No changes*
@@ -15,7 +15,7 @@
15
15
  </p>
16
16
  <% end %>
17
17
  <p>
18
- The guides for Rails 3.2.x are available at <a href="http://guides.rubyonrails.org/v3.2.17/">http://guides.rubyonrails.org/v3.2.17/</a>.
18
+ The guides for Rails 3.2.x are available at <a href="http://guides.rubyonrails.org/v3.2.18/">http://guides.rubyonrails.org/v3.2.18/</a>.
19
19
  </p>
20
20
  <p>
21
21
  The guides for Rails 2.3.x are available at <a href="http://guides.rubyonrails.org/v2.3.11/">http://guides.rubyonrails.org/v2.3.11/</a>.
@@ -174,7 +174,7 @@ end
174
174
  # in your /etc/hosts file to try this out locally
175
175
  def extract_locale_from_tld
176
176
  parsed_locale = request.host.split('.').last
177
- I18n.available_locales.include?(parsed_locale.to_sym) ? parsed_locale : nil
177
+ I18n.available_locales.map(&:to_s).include?(parsed_locale) ? parsed_locale : nil
178
178
  end
179
179
  ```
180
180
 
@@ -187,7 +187,7 @@ We can also set the locale from the _subdomain_ in a very similar way:
187
187
  # in your /etc/hosts file to try this out locally
188
188
  def extract_locale_from_subdomain
189
189
  parsed_locale = request.subdomains.first
190
- I18n.available_locales.include?(parsed_locale.to_sym) ? parsed_locale : nil
190
+ I18n.available_locales.map(&:to_s).include?(parsed_locale) ? parsed_locale : nil
191
191
  end
192
192
  ```
193
193
 
metadata CHANGED
@@ -1,134 +1,119 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
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: activerecord
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - '='
52
46
  - !ruby/object:Gem::Version
53
- version: 4.0.5
47
+ version: 4.0.6.rc1
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
- version: 4.0.5
54
+ version: 4.0.6.rc1
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: actionmailer
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - '='
68
60
  - !ruby/object:Gem::Version
69
- version: 4.0.5
61
+ version: 4.0.6.rc1
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - '='
76
67
  - !ruby/object:Gem::Version
77
- version: 4.0.5
68
+ version: 4.0.6.rc1
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: railties
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - '='
84
74
  - !ruby/object:Gem::Version
85
- version: 4.0.5
75
+ version: 4.0.6.rc1
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - '='
92
81
  - !ruby/object:Gem::Version
93
- version: 4.0.5
82
+ version: 4.0.6.rc1
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: bundler
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: 1.3.0
102
- - - <
90
+ - - "<"
103
91
  - !ruby/object:Gem::Version
104
92
  version: '2.0'
105
93
  type: :runtime
106
94
  prerelease: false
107
95
  version_requirements: !ruby/object:Gem::Requirement
108
- none: false
109
96
  requirements:
110
- - - ! '>='
97
+ - - ">="
111
98
  - !ruby/object:Gem::Version
112
99
  version: 1.3.0
113
- - - <
100
+ - - "<"
114
101
  - !ruby/object:Gem::Version
115
102
  version: '2.0'
116
103
  - !ruby/object:Gem::Dependency
117
104
  name: sprockets-rails
118
105
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
106
  requirements:
121
- - - ~>
107
+ - - "~>"
122
108
  - !ruby/object:Gem::Version
123
- version: 2.0.0
109
+ version: '2.0'
124
110
  type: :runtime
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
113
  requirements:
129
- - - ~>
114
+ - - "~>"
130
115
  - !ruby/object:Gem::Version
131
- version: 2.0.0
116
+ version: '2.0'
132
117
  description: Ruby on Rails is a full-stack web framework optimized for programmer
133
118
  happiness and sustainable productivity. It encourages beautiful code by favoring
134
119
  convention over configuration.
@@ -138,6 +123,8 @@ extensions: []
138
123
  extra_rdoc_files: []
139
124
  files:
140
125
  - README.md
126
+ - guides/CHANGELOG.md
127
+ - guides/Rakefile
141
128
  - guides/assets/images/akshaysurve.jpg
142
129
  - guides/assets/images/belongs_to.png
143
130
  - guides/assets/images/book_icon.gif
@@ -180,6 +167,7 @@ files:
180
167
  - guides/assets/images/i18n/demo_translated_pirate.png
181
168
  - guides/assets/images/i18n/demo_translation_missing.png
182
169
  - guides/assets/images/i18n/demo_untranslated.png
170
+ - guides/assets/images/icons/README
183
171
  - guides/assets/images/icons/callouts/1.png
184
172
  - guides/assets/images/icons/callouts/10.png
185
173
  - guides/assets/images/icons/callouts/11.png
@@ -202,7 +190,6 @@ files:
202
190
  - guides/assets/images/icons/next.png
203
191
  - guides/assets/images/icons/note.png
204
192
  - guides/assets/images/icons/prev.png
205
- - guides/assets/images/icons/README
206
193
  - guides/assets/images/icons/tip.png
207
194
  - guides/assets/images/icons/up.png
208
195
  - guides/assets/images/icons/warning.png
@@ -226,20 +213,20 @@ files:
226
213
  - guides/assets/javascripts/guides.js
227
214
  - guides/assets/javascripts/jquery.min.js
228
215
  - guides/assets/javascripts/responsive-tables.js
229
- - guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
230
216
  - guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js
217
+ - guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
231
218
  - guides/assets/javascripts/syntaxhighlighter/shBrushBash.js
219
+ - guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
232
220
  - guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js
233
221
  - guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js
234
- - guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
235
222
  - guides/assets/javascripts/syntaxhighlighter/shBrushCss.js
236
223
  - guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js
237
224
  - guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js
238
225
  - guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js
239
226
  - guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js
227
+ - guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
240
228
  - guides/assets/javascripts/syntaxhighlighter/shBrushJava.js
241
229
  - guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js
242
- - guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
243
230
  - guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js
244
231
  - guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js
245
232
  - guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js
@@ -275,13 +262,16 @@ files:
275
262
  - guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
276
263
  - guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css
277
264
  - guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css
278
- - guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
279
265
  - guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
266
+ - guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
280
267
  - guides/bug_report_templates/action_controller_gem.rb
281
268
  - guides/bug_report_templates/action_controller_master.rb
282
269
  - guides/bug_report_templates/active_record_gem.rb
283
270
  - guides/bug_report_templates/active_record_master.rb
284
- - guides/CHANGELOG.md
271
+ - guides/code/getting_started/Gemfile
272
+ - guides/code/getting_started/Gemfile.lock
273
+ - guides/code/getting_started/README.rdoc
274
+ - guides/code/getting_started/Rakefile
285
275
  - guides/code/getting_started/app/assets/javascripts/application.js
286
276
  - guides/code/getting_started/app/assets/javascripts/comments.js.coffee
287
277
  - guides/code/getting_started/app/assets/javascripts/posts.js.coffee
@@ -312,6 +302,7 @@ files:
312
302
  - guides/code/getting_started/bin/bundle
313
303
  - guides/code/getting_started/bin/rails
314
304
  - guides/code/getting_started/bin/rake
305
+ - guides/code/getting_started/config.ru
315
306
  - guides/code/getting_started/config/application.rb
316
307
  - guides/code/getting_started/config/boot.rb
317
308
  - guides/code/getting_started/config/database.yml
@@ -329,20 +320,15 @@ files:
329
320
  - guides/code/getting_started/config/initializers/wrap_parameters.rb
330
321
  - guides/code/getting_started/config/locales/en.yml
331
322
  - guides/code/getting_started/config/routes.rb
332
- - guides/code/getting_started/config.ru
333
323
  - guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
334
324
  - guides/code/getting_started/db/migrate/20130122045842_create_comments.rb
335
325
  - guides/code/getting_started/db/schema.rb
336
326
  - guides/code/getting_started/db/seeds.rb
337
- - guides/code/getting_started/Gemfile
338
- - guides/code/getting_started/Gemfile.lock
339
327
  - guides/code/getting_started/public/404.html
340
328
  - guides/code/getting_started/public/422.html
341
329
  - guides/code/getting_started/public/500.html
342
330
  - guides/code/getting_started/public/favicon.ico
343
331
  - guides/code/getting_started/public/robots.txt
344
- - guides/code/getting_started/Rakefile
345
- - guides/code/getting_started/README.rdoc
346
332
  - guides/code/getting_started/test/controllers/comments_controller_test.rb
347
333
  - guides/code/getting_started/test/controllers/posts_controller_test.rb
348
334
  - guides/code/getting_started/test/controllers/welcome_controller_test.rb
@@ -354,15 +340,14 @@ files:
354
340
  - guides/code/getting_started/test/models/comment_test.rb
355
341
  - guides/code/getting_started/test/models/post_test.rb
356
342
  - guides/code/getting_started/test/test_helper.rb
343
+ - guides/rails_guides.rb
357
344
  - guides/rails_guides/generator.rb
358
345
  - guides/rails_guides/helpers.rb
359
346
  - guides/rails_guides/indexer.rb
360
347
  - guides/rails_guides/kindle.rb
361
348
  - guides/rails_guides/levenshtein.rb
362
- - guides/rails_guides/markdown/renderer.rb
363
349
  - guides/rails_guides/markdown.rb
364
- - guides/rails_guides.rb
365
- - guides/Rakefile
350
+ - guides/rails_guides/markdown/renderer.rb
366
351
  - guides/source/2_2_release_notes.md
367
352
  - guides/source/2_3_release_notes.md
368
353
  - guides/source/3_0_release_notes.md
@@ -399,8 +384,8 @@ files:
399
384
  - guides/source/i18n.md
400
385
  - guides/source/index.html.erb
401
386
  - guides/source/initialization.md
402
- - guides/source/kindle/copyright.html.erb
403
387
  - guides/source/kindle/KINDLE.md
388
+ - guides/source/kindle/copyright.html.erb
404
389
  - guides/source/kindle/layout.html.erb
405
390
  - guides/source/kindle/rails_guides.opf.erb
406
391
  - guides/source/kindle/toc.html.erb
@@ -424,26 +409,25 @@ files:
424
409
  homepage: http://www.rubyonrails.org
425
410
  licenses:
426
411
  - MIT
412
+ metadata: {}
427
413
  post_install_message:
428
414
  rdoc_options: []
429
415
  require_paths:
430
416
  - lib
431
417
  required_ruby_version: !ruby/object:Gem::Requirement
432
- none: false
433
418
  requirements:
434
- - - ! '>='
419
+ - - ">="
435
420
  - !ruby/object:Gem::Version
436
421
  version: 1.9.3
437
422
  required_rubygems_version: !ruby/object:Gem::Requirement
438
- none: false
439
423
  requirements:
440
- - - ! '>='
424
+ - - ">="
441
425
  - !ruby/object:Gem::Version
442
426
  version: 1.8.11
443
427
  requirements: []
444
428
  rubyforge_project:
445
- rubygems_version: 1.8.23.2
429
+ rubygems_version: 2.2.2
446
430
  signing_key:
447
- specification_version: 3
431
+ specification_version: 4
448
432
  summary: Full-stack web application framework.
449
433
  test_files: []