actionpack 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.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e27b68720e44f5d6404e7be9d6959b2f776a5b0
4
- data.tar.gz: 3bb27803254f54bb258af4818f28d9d0d89d8482
3
+ metadata.gz: 357c7714525a7fc137ae94d09766344fe074a4e3
4
+ data.tar.gz: 2711082afb79723d34e90f01b953b6ee7600d07b
5
5
  SHA512:
6
- metadata.gz: f4dab5c75998ef6b5d48e10c26e3732df63b40e98a38b02236e9f1726c80ad7974aee7ce5cc46335bcb7092e71d8ef2cca9c52e9830cc08e6e2d806420ea463d
7
- data.tar.gz: 5c7d3930ae896faef79fdb4a5f68840b050e85ee29d079d0f0f9b0bb6ad06cf5caec70baf0b745b0fe4b82f7fdc119c034bd9fae84b3678fcd1144a1642f2b10
6
+ metadata.gz: 83f778687d72c888973992801f37aa5cf5633f2a17bcee28f393d53882991f6bae60e3ba1dc0b2f36e7eea1726dc34f5347e4496c1c2746f21317fd564d9f492
7
+ data.tar.gz: 709535dc63b0b97c809515a9f237bf5db3cac5ed3af3bcf399e1cf14d03b3e9843fd1f238d736ead9bb2b5de12e04016eee67a0da83e444fe3e7eaeca4430e48
@@ -275,7 +275,10 @@
275
275
  *Dan Langevin*
276
276
 
277
277
  * Build full URI as string when processing path in integration tests for
278
- performance reasons.
278
+ performance reasons. One consequence of this is that the leading slash
279
+ is now required in integration test `process` helpers, whereas previously
280
+ it could be omitted. The fact that this worked was a unintended consequence
281
+ of the implementation and was never an intentional feature.
279
282
 
280
283
  *Guo Xiang Tan*
281
284
 
@@ -32,7 +32,7 @@ The latest version of Action Pack can be installed with RubyGems:
32
32
 
33
33
  Source code can be downloaded as part of the Rails project on GitHub
34
34
 
35
- * https://github.com/rails/rails/tree/master/actionpack
35
+ * https://github.com/rails/rails/tree/4-2-stable/actionpack
36
36
 
37
37
 
38
38
  == License
@@ -580,13 +580,7 @@ module ActionDispatch
580
580
  raise "A rack application must be specified" unless path
581
581
 
582
582
  rails_app = rails_app? app
583
-
584
- if rails_app
585
- options[:as] ||= app.railtie_name
586
- else
587
- # non rails apps can't have an :as
588
- options[:as] = nil
589
- end
583
+ options[:as] ||= app.railtie_name if rails_app
590
584
 
591
585
  target_as = name_for_action(options[:as], path)
592
586
  options[:via] ||= :all
@@ -522,6 +522,8 @@ module ActionDispatch
522
522
  define_method(:_generate_paths_by_default) do
523
523
  supports_path
524
524
  end
525
+
526
+ private :_generate_paths_by_default
525
527
  end
526
528
  end
527
529
 
@@ -8,7 +8,7 @@ module ActionPack
8
8
  MAJOR = 4
9
9
  MINOR = 2
10
10
  TINY = 0
11
- PRE = "rc1"
11
+ PRE = "rc2"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
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,80 +16,80 @@ 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: rack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.6.0.beta2
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
40
  version: 1.6.0.beta2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack-test
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.6.2
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
54
  version: 0.6.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rails-html-sanitizer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.0'
62
- - - ">="
62
+ - - '>='
63
63
  - !ruby/object:Gem::Version
64
64
  version: 1.0.1
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - "~>"
69
+ - - ~>
70
70
  - !ruby/object:Gem::Version
71
71
  version: '1.0'
72
- - - ">="
72
+ - - '>='
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.0.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rails-dom-testing
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ~>
80
80
  - !ruby/object:Gem::Version
81
81
  version: '1.0'
82
- - - ">="
82
+ - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: 1.0.5
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - "~>"
89
+ - - ~>
90
90
  - !ruby/object:Gem::Version
91
91
  version: '1.0'
92
- - - ">="
92
+ - - '>='
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.0.5
95
95
  - !ruby/object:Gem::Dependency
@@ -98,28 +98,28 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 4.2.0.rc1
101
+ version: 4.2.0.rc2
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '='
107
107
  - !ruby/object:Gem::Version
108
- version: 4.2.0.rc1
108
+ version: 4.2.0.rc2
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: activemodel
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 4.2.0.rc1
115
+ version: 4.2.0.rc2
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 4.2.0.rc1
122
+ version: 4.2.0.rc2
123
123
  description: Web apps on Rails. Simple, battle-tested conventions for building and
124
124
  testing MVC web applications. Works with any Rack-compatible server.
125
125
  email: david@loudthinking.com
@@ -289,18 +289,18 @@ require_paths:
289
289
  - lib
290
290
  required_ruby_version: !ruby/object:Gem::Requirement
291
291
  requirements:
292
- - - ">="
292
+ - - '>='
293
293
  - !ruby/object:Gem::Version
294
294
  version: 1.9.3
295
295
  required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  requirements:
297
- - - ">"
297
+ - - '>'
298
298
  - !ruby/object:Gem::Version
299
299
  version: 1.3.1
300
300
  requirements:
301
301
  - none
302
302
  rubyforge_project:
303
- rubygems_version: 2.2.2
303
+ rubygems_version: 2.2.1
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).