rails 4.2.0.rc1 → 4.2.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a94a420de40f59147615336adb6378560cc5f90c
4
- data.tar.gz: c36d15873cf2e140bc1c7f515d203562b1922d7b
3
+ metadata.gz: 17ec59b4b783e8bbeebcf632264e952d79ac5fad
4
+ data.tar.gz: dc3a4b614e6f3fc46b3d591841413c4f3f6dfe19
5
5
  SHA512:
6
- metadata.gz: 01dacbef8f0f4bb36e58c13c0d8d4eb4a1abd6041124fdbab4c0b0de700dc153ba891591e1c38fe9b768500d783cc34df6f6250f4b5627395ab298e7d3b94d19
7
- data.tar.gz: 223e7933d3974f10597125066d69e5b8f9b0ce942ab54ae79bb98cfb1bf2fc3cd2892818e0d911ad2c6a7af1f70b5c8e5b8cab5c71e0f13e82ad178dc30fa225
6
+ metadata.gz: 670eec25cd6c65b40369c00481957d9a1dadba76399872b785e80617009f04a2ad1ff4ef2bb536dbd09df95321db7a350f3b7a5fb71d3a8a9f1feada8ee62c22
7
+ data.tar.gz: 75e6da2602e8aa47e830cade8c85ac72c1874e40eb5dd4b45cbe91fe3e8c69047483d4c47939a7cbee6f4e3ab297ac703d5ded150044435b8a5f382b49d11c88
data/README.md CHANGED
@@ -78,7 +78,7 @@ We encourage you to contribute to Ruby on Rails! Please check out the
78
78
 
79
79
  ## Code Status
80
80
 
81
- * [![Build Status](https://travis-ci.org/rails/rails.svg?branch=master)](https://travis-ci.org/rails/rails)
81
+ * [![Build Status](https://travis-ci.org/rails/rails.svg?branch=4-2-stable)](https://travis-ci.org/rails/rails)
82
82
 
83
83
  ## License
84
84
 
@@ -509,6 +509,17 @@ Please refer to the [Changelog][action-pack] for detailed changes.
509
509
  serving assets from your Rails server in production.
510
510
  ([Pull Request](https://github.com/rails/rails/pull/16466))
511
511
 
512
+ * When calling the `process` helpers in an integration test the path needs to have
513
+ a leading slash. Previously you could omit it but that was a byproduct of the
514
+ implementation and not an intentional feature, e.g.:
515
+
516
+ ```ruby
517
+   test "list all posts" do
518
+     get "/posts"
519
+     assert_response :success 
520
+ end
521
+ ```
522
+
512
523
  Action View
513
524
  -----------
514
525
 
@@ -1950,24 +1950,6 @@ as well as adding or subtracting their results from a Time object. For example:
1950
1950
  (4.months + 5.years).from_now
1951
1951
  ```
1952
1952
 
1953
- While these methods provide precise calculation when used as in the examples above, care
1954
- should be taken to note that this is not true if the result of `months', `years', etc is
1955
- converted before use:
1956
-
1957
- ```ruby
1958
- # equivalent to 30.days.to_i.from_now
1959
- 1.month.to_i.from_now
1960
-
1961
- # equivalent to 365.25.days.to_f.from_now
1962
- 1.year.to_f.from_now
1963
- ```
1964
-
1965
- In such cases, Ruby's core [Date](http://ruby-doc.org/stdlib/libdoc/date/rdoc/Date.html) and
1966
- [Time](http://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html) should be used for precision
1967
- date and time arithmetic.
1968
-
1969
- NOTE: Defined in `active_support/core_ext/numeric/time.rb`.
1970
-
1971
1953
  ### Formatting
1972
1954
 
1973
1955
  Enables the formatting of numbers in a variety of ways.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.rc1
4
+ version: 4.2.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,144 +16,144 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0.rc1
19
+ version: 4.2.0.rc2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0.rc1
26
+ version: 4.2.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.0.rc1
33
+ version: 4.2.0.rc2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.0.rc1
40
+ version: 4.2.0.rc2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: actionview
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.2.0.rc1
47
+ version: 4.2.0.rc2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.2.0.rc1
54
+ version: 4.2.0.rc2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activemodel
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.2.0.rc1
61
+ version: 4.2.0.rc2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.2.0.rc1
68
+ version: 4.2.0.rc2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activerecord
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 4.2.0.rc1
75
+ version: 4.2.0.rc2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 4.2.0.rc1
82
+ version: 4.2.0.rc2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: actionmailer
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 4.2.0.rc1
89
+ version: 4.2.0.rc2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 4.2.0.rc1
96
+ version: 4.2.0.rc2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activejob
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 4.2.0.rc1
103
+ version: 4.2.0.rc2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 4.2.0.rc1
110
+ version: 4.2.0.rc2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: railties
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 4.2.0.rc1
117
+ version: 4.2.0.rc2
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 4.2.0.rc1
124
+ version: 4.2.0.rc2
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: 1.3.0
132
- - - "<"
132
+ - - <
133
133
  - !ruby/object:Gem::Version
134
134
  version: '2.0'
135
135
  type: :runtime
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">="
139
+ - - '>='
140
140
  - !ruby/object:Gem::Version
141
141
  version: 1.3.0
142
- - - "<"
142
+ - - <
143
143
  - !ruby/object:Gem::Version
144
144
  version: '2.0'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: sprockets-rails
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
149
+ - - '>='
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  type: :runtime
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ">="
156
+ - - '>='
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  description: Ruby on Rails is a full-stack web framework optimized for programmer
@@ -387,17 +387,17 @@ require_paths:
387
387
  - lib
388
388
  required_ruby_version: !ruby/object:Gem::Requirement
389
389
  requirements:
390
- - - ">="
390
+ - - '>='
391
391
  - !ruby/object:Gem::Version
392
392
  version: 1.9.3
393
393
  required_rubygems_version: !ruby/object:Gem::Requirement
394
394
  requirements:
395
- - - ">="
395
+ - - '>='
396
396
  - !ruby/object:Gem::Version
397
397
  version: 1.8.11
398
398
  requirements: []
399
399
  rubyforge_project:
400
- rubygems_version: 2.2.2
400
+ rubygems_version: 2.2.1
401
401
  signing_key:
402
402
  specification_version: 4
403
403
  summary: Full-stack web application framework.