actionpack 3.2.15.rc3 → 3.2.15

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: 15081f087072707dce194abf6e47173e8f2468dd
4
- data.tar.gz: e5c8fccee5eb77a7a552ad5a79744025361b0d23
3
+ metadata.gz: 455d11505ca31532f8570b62dd5a8cb89ec6b6bd
4
+ data.tar.gz: 3cbb9416fae50fc72fc400dd8b82842b055f0ec1
5
5
  SHA512:
6
- metadata.gz: c2f572cb55888c22a081778cf181c33599d23e575a7800a5dfaca202c86eb13a3a37a7b20304b4ad5840c7048aa20525a0daf9f1aaa4aac21bdd750b905751ee
7
- data.tar.gz: eb90f74b64ba5f0c1f63bf036b90811629cc6fe77e1bf48c84e217049ff9fb76209f3f76d19ff0a2017fd59c6f381f83dc4b84addcb319602b6ac59d8c594ca2
6
+ metadata.gz: e906230c1d7d55c88ae0e26cd5f9f0e20666bd6e19f93ce25bb51199081e7ebe4ee64b3e423e94eaf6c30429d876488d0a510fe44a6ff5f71275de0a0e8e485f
7
+ data.tar.gz: c39d68a232d12ef7c6bbbe08166f3d92163c1e9eacc8e314ec1039a8c91f05ab8c252d3a7b7d5a273e3cf626219b64a9801b3ebc8f09fc0ddcb951a49f394710
@@ -1,4 +1,4 @@
1
- ## unreleased ##
1
+ ## Rails 3.2.15 (Oct 16, 2013) ##
2
2
 
3
3
  * Fix `ActionDispatch::RemoteIp::GetIp#calculate_ip` to only check for spoofing
4
4
  attacks if both `HTTP_CLIENT_IP` and `HTTP_X_FORWARDED_FOR` are set.
@@ -23,7 +23,7 @@ module ActionController
23
23
  exception_class_name = payload[:exception].first
24
24
  status = ActionDispatch::ExceptionWrapper.status_code_for_exception(exception_class_name)
25
25
  end
26
- message = "Completed #{status} #{Rack::Utils::HTTP_STATUS_CODES[status]} in %.0fms" % event.duration
26
+ message = "Completed #{status} #{Rack::Utils::HTTP_STATUS_CODES[status]} in #{format_duration(event.duration)}"
27
27
  message << " (#{additions.join(" | ")})" unless additions.blank?
28
28
 
29
29
  info(message)
@@ -34,9 +34,7 @@ module ActionController
34
34
  end
35
35
 
36
36
  def send_file(event)
37
- message = "Sent file %s"
38
- message << " (%.1fms)"
39
- info(message % [event.payload[:path], event.duration])
37
+ info("Sent file #{event.payload[:path]} (#{format_duration(event.duration)})")
40
38
  end
41
39
 
42
40
  def redirect_to(event)
@@ -44,7 +42,7 @@ module ActionController
44
42
  end
45
43
 
46
44
  def send_data(event)
47
- info("Sent data %s (%.1fms)" % [event.payload[:filename], event.duration])
45
+ info("Sent data #{event.payload[:filename]} (#{format_duration(event.duration)})")
48
46
  end
49
47
 
50
48
  %w(write_fragment read_fragment exist_fragment?
@@ -53,7 +51,8 @@ module ActionController
53
51
  def #{method}(event)
54
52
  key_or_path = event.payload[:key] || event.payload[:path]
55
53
  human_name = #{method.to_s.humanize.inspect}
56
- info("\#{human_name} \#{key_or_path} \#{"(%.1fms)" % event.duration}")
54
+ duration = format_duration(event.duration)
55
+ info("\#{human_name} \#{key_or_path} \#{duration}")
57
56
  end
58
57
  METHOD
59
58
  end
@@ -3,7 +3,7 @@ module ActionPack
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 15
6
- PRE = "rc3"
6
+ PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  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: 3.2.15.rc3
4
+ version: 3.2.15
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: 2013-10-11 00:00:00.000000000 Z
11
+ date: 2013-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.15.rc3
19
+ version: 3.2.15
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: 3.2.15.rc3
26
+ version: 3.2.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.15.rc3
33
+ version: 3.2.15
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: 3.2.15.rc3
40
+ version: 3.2.15
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack-cache
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -363,9 +363,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
363
363
  version: 1.8.7
364
364
  required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  requirements:
366
- - - ">"
366
+ - - ">="
367
367
  - !ruby/object:Gem::Version
368
- version: 1.3.1
368
+ version: '0'
369
369
  requirements:
370
370
  - none
371
371
  rubyforge_project: