actionpack 3.2.15.rc3 → 3.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/action_controller/log_subscriber.rb +5 -6
- data/lib/action_pack/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 455d11505ca31532f8570b62dd5a8cb89ec6b6bd
|
|
4
|
+
data.tar.gz: 3cbb9416fae50fc72fc400dd8b82842b055f0ec1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e906230c1d7d55c88ae0e26cd5f9f0e20666bd6e19f93ce25bb51199081e7ebe4ee64b3e423e94eaf6c30429d876488d0a510fe44a6ff5f71275de0a0e8e485f
|
|
7
|
+
data.tar.gz: c39d68a232d12ef7c6bbbe08166f3d92163c1e9eacc8e314ec1039a8c91f05ab8c252d3a7b7d5a273e3cf626219b64a9801b3ebc8f09fc0ddcb951a49f394710
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
54
|
+
duration = format_duration(event.duration)
|
|
55
|
+
info("\#{human_name} \#{key_or_path} \#{duration}")
|
|
57
56
|
end
|
|
58
57
|
METHOD
|
|
59
58
|
end
|
data/lib/action_pack/version.rb
CHANGED
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
|
|
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
|
+
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
368
|
+
version: '0'
|
|
369
369
|
requirements:
|
|
370
370
|
- none
|
|
371
371
|
rubyforge_project:
|