actionpack 4.2.7.1 → 4.2.8.rc1

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: 831166379400b82be11f191d39302346f6e6a20f
4
- data.tar.gz: 3605af42df27b00a6f27ebcbc002b1e646e34707
3
+ metadata.gz: 76b9ac1f62153da113473b841ac30b78f4ccac7c
4
+ data.tar.gz: 344d247914032a35dcc2ad061b779435f8cf89e1
5
5
  SHA512:
6
- metadata.gz: 7af401fb71f5b47fbd1c683b8b1fe5fb2c8c8b804fae9f0b2b84ecbcbe834f80b2974ced64ddae24b47fb4a40eec0acb3ccdf2e2cb0a32a3c8d57c11bbaa741a
7
- data.tar.gz: a1de918b1fd12317214e9b07cf7c4bae5e7314ae34199f468d77e4f888cb4e6e771dea98385f0bbbcc96ba6782c15ab3fa3b21f63d374eaabe62fa5cdd5f2bae
6
+ metadata.gz: 5c65f396bf0f73945ff5124ce4d0a3925b17b9f24ea44db3edfc35b34d4b6a4524f6984e8298d01cff9dbbaf3aa93ce5c2870b8a0fa256de996054705fef55c0
7
+ data.tar.gz: f8970ac58b8ec95d0c3bbec6f5cb6e2f7d26081bc61061306de6285514ef6c043c9eb44cb63714997b7a3dd8d048ac430906f8e282765974cd3e750ee49597cc
@@ -1,3 +1,8 @@
1
+ ## Rails 4.2.8.rc1 (February 09, 2017) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 4.2.7 (July 12, 2016) ##
2
7
 
3
8
  * No changes.
@@ -85,8 +85,6 @@ module ActionController
85
85
  # format.csv { render csv: @csvable, filename: @csvable.name }
86
86
  # end
87
87
  # end
88
- # To use renderers and their mime types in more concise ways, see
89
- # <tt>ActionController::MimeResponds::ClassMethods.respond_to</tt>
90
88
  def self.add(key, &block)
91
89
  define_method(_render_with_renderer_method_name(key), &block)
92
90
  RENDERERS << key.to_sym
@@ -311,7 +311,7 @@ module ActionDispatch
311
311
 
312
312
  handle_options(options)
313
313
 
314
- if @cookies[name.to_s] != value or options[:expires]
314
+ if @cookies[name.to_s] != value || options[:expires]
315
315
  @cookies[name.to_s] = value
316
316
  @set_cookies[name.to_s] = options
317
317
  @delete_cookies.delete(name.to_s)
@@ -506,7 +506,7 @@ module ActionDispatch
506
506
 
507
507
  @parent_jar = parent_jar
508
508
  @options = options
509
- secret = key_generator.generate_key(@options[:encrypted_cookie_salt])
509
+ secret = key_generator.generate_key(@options[:encrypted_cookie_salt])[0, ActiveSupport::MessageEncryptor.key_len]
510
510
  sign_secret = key_generator.generate_key(@options[:encrypted_signed_cookie_salt])
511
511
  @encryptor = ActiveSupport::MessageEncryptor.new(secret, sign_secret, digest: digest, serializer: ActiveSupport::MessageEncryptor::NullSerializer)
512
512
  end
@@ -110,7 +110,7 @@ module ActionDispatch
110
110
  if options_constraints.is_a?(Hash)
111
111
  split_constraints path_params, options_constraints
112
112
  options_constraints.each do |key, default|
113
- if URL_OPTIONS.include?(key) && (String === default || Fixnum === default)
113
+ if URL_OPTIONS.include?(key) && (String === default || Integer === default)
114
114
  @defaults[key] ||= default
115
115
  end
116
116
  end
@@ -790,8 +790,8 @@ module ActionDispatch
790
790
  end
791
791
 
792
792
  if options[:constraints].is_a?(Hash)
793
- defaults = options[:constraints].select do
794
- |k, v| URL_OPTIONS.include?(k) && (v.is_a?(String) || v.is_a?(Fixnum))
793
+ defaults = options[:constraints].select do |k, v|
794
+ URL_OPTIONS.include?(k) && (v.is_a?(String) || v.is_a?(Integer))
795
795
  end
796
796
 
797
797
  (options[:defaults] ||= {}).reverse_merge!(defaults)
@@ -361,6 +361,7 @@ module ActionDispatch
361
361
  # simultaneously.
362
362
  def open_session
363
363
  dup.tap do |session|
364
+ session.reset!
364
365
  yield session if block_given?
365
366
  end
366
367
  end
@@ -7,8 +7,8 @@ module ActionPack
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 2
10
- TINY = 7
11
- PRE = "1"
10
+ TINY = 8
11
+ PRE = "rc1"
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.7.1
4
+ version: 4.2.8.rc1
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: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.7.1
19
+ version: 4.2.8.rc1
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.7.1
26
+ version: 4.2.8.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 4.2.7.1
101
+ version: 4.2.8.rc1
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.7.1
108
+ version: 4.2.8.rc1
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.7.1
115
+ version: 4.2.8.rc1
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.7.1
122
+ version: 4.2.8.rc1
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
@@ -294,15 +294,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
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
- version: '0'
299
+ version: 1.3.1
300
300
  requirements:
301
301
  - none
302
302
  rubyforge_project:
303
- rubygems_version: 2.6.6
303
+ rubygems_version: 2.6.10
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).
307
307
  test_files: []
308
- has_rdoc: