activesupport 3.2.14 → 3.2.15.rc1
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 +7 -0
- data/CHANGELOG.md +12 -1
- data/lib/active_support/cache/file_store.rb +2 -1
- data/lib/active_support/tagged_logging.rb +10 -0
- data/lib/active_support/version.rb +2 -2
- metadata +55 -79
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: d152c4ceebe1b38b371b69191c9ad8af83f23992
|
|
4
|
+
data.tar.gz: fa7e4ca3032c8fb4774e597f23464e3e8b52cc6d
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 11b61a980c4633238c193151658f81e91daf6b9dce16eae93a042e4901947fff71db84e9d4b06e7790d15415d8481de0f407340262b6757185eabc937d58f2ba
|
|
7
|
+
data.tar.gz: 115354b6cc46db100674e7dfe8ee26b6869f396bd56bf26fe29fa72c682932445ed331b8774c0bf5af716fb4bbaffe466d74fcdac91866e620930c9eefde37b7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## unreleased ##
|
|
2
|
+
|
|
3
|
+
* Fix ActiveSupport::Cache::FileStore#cleanup to no longer rely on missing each_key method.
|
|
4
|
+
|
|
5
|
+
*Murray Steele*
|
|
6
|
+
|
|
7
|
+
* Add respond_to_missing? for TaggedLogging which is best practice when overriding method_missing. This permits
|
|
8
|
+
wrapping TaggedLogging by another log abstraction such as em-logger.
|
|
9
|
+
|
|
10
|
+
*Wolfram Arnold*
|
|
11
|
+
|
|
12
|
+
|
|
1
13
|
## Rails 3.2.14 (Jul 22, 2013) ##
|
|
2
14
|
|
|
3
15
|
* Make `Time.at_with_coercion` retain the second fraction and return local time.
|
|
@@ -30,7 +42,6 @@
|
|
|
30
42
|
|
|
31
43
|
## Rails 3.2.13 (Mar 18, 2013) ##
|
|
32
44
|
|
|
33
|
-
|
|
34
45
|
* Fix DateTime comparison with DateTime::Infinity object.
|
|
35
46
|
|
|
36
47
|
*Dan Kubb*
|
|
@@ -29,7 +29,8 @@ module ActiveSupport
|
|
|
29
29
|
|
|
30
30
|
def cleanup(options = nil)
|
|
31
31
|
options = merged_options(options)
|
|
32
|
-
|
|
32
|
+
search_dir(cache_path) do |fname|
|
|
33
|
+
key = file_path_key(fname)
|
|
33
34
|
entry = read_entry(key, options)
|
|
34
35
|
delete_entry(key, options) if entry && entry.expired?
|
|
35
36
|
end
|
|
@@ -72,6 +72,16 @@ module ActiveSupport
|
|
|
72
72
|
@logger.send(method, *args)
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
+
if RUBY_VERSION < '1.9'
|
|
76
|
+
def respond_to?(*args)
|
|
77
|
+
super || @logger.respond_to?(*args)
|
|
78
|
+
end
|
|
79
|
+
else
|
|
80
|
+
def respond_to_missing?(*args)
|
|
81
|
+
@logger.respond_to? *args
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
75
85
|
private
|
|
76
86
|
def tags_text
|
|
77
87
|
tags = current_tags
|
metadata
CHANGED
|
@@ -1,70 +1,57 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activesupport
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 3
|
|
8
|
-
- 2
|
|
9
|
-
- 14
|
|
10
|
-
version: 3.2.14
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 3.2.15.rc1
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
6
|
+
authors:
|
|
13
7
|
- David Heinemeier Hansson
|
|
14
8
|
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::Version
|
|
27
|
-
hash: 7
|
|
28
|
-
segments:
|
|
29
|
-
- 0
|
|
30
|
-
- 6
|
|
31
|
-
version: "0.6"
|
|
11
|
+
date: 2013-10-03 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: i18n
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0.6'
|
|
32
20
|
- - ">="
|
|
33
|
-
- !ruby/object:Gem::Version
|
|
34
|
-
hash: 15
|
|
35
|
-
segments:
|
|
36
|
-
- 0
|
|
37
|
-
- 6
|
|
38
|
-
- 4
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
39
22
|
version: 0.6.4
|
|
40
23
|
type: :runtime
|
|
41
|
-
name: i18n
|
|
42
|
-
version_requirements: *id001
|
|
43
24
|
prerelease: false
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- 0
|
|
54
|
-
version: "1.0"
|
|
55
|
-
type: :runtime
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0.6'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 0.6.4
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
56
34
|
name: multi_json
|
|
57
|
-
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.0'
|
|
40
|
+
type: :runtime
|
|
58
41
|
prerelease: false
|
|
59
|
-
|
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '1.0'
|
|
47
|
+
description: A toolkit of support libraries and Ruby core extensions extracted from
|
|
48
|
+
the Rails framework. Rich support for multibyte strings, internationalization, time
|
|
49
|
+
zones, and testing.
|
|
60
50
|
email: david@loudthinking.com
|
|
61
51
|
executables: []
|
|
62
|
-
|
|
63
52
|
extensions: []
|
|
64
|
-
|
|
65
53
|
extra_rdoc_files: []
|
|
66
|
-
|
|
67
|
-
files:
|
|
54
|
+
files:
|
|
68
55
|
- CHANGELOG.md
|
|
69
56
|
- MIT-LICENSE
|
|
70
57
|
- README.rdoc
|
|
@@ -278,42 +265,31 @@ files:
|
|
|
278
265
|
- lib/active_support/xml_mini/rexml.rb
|
|
279
266
|
- lib/active_support/xml_mini.rb
|
|
280
267
|
- lib/active_support.rb
|
|
281
|
-
has_rdoc: true
|
|
282
268
|
homepage: http://www.rubyonrails.org
|
|
283
|
-
licenses:
|
|
269
|
+
licenses:
|
|
284
270
|
- MIT
|
|
271
|
+
metadata: {}
|
|
285
272
|
post_install_message:
|
|
286
|
-
rdoc_options:
|
|
287
|
-
- --encoding
|
|
273
|
+
rdoc_options:
|
|
274
|
+
- "--encoding"
|
|
288
275
|
- UTF-8
|
|
289
|
-
require_paths:
|
|
276
|
+
require_paths:
|
|
290
277
|
- lib
|
|
291
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
|
-
|
|
293
|
-
requirements:
|
|
278
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
|
+
requirements:
|
|
294
280
|
- - ">="
|
|
295
|
-
- !ruby/object:Gem::Version
|
|
296
|
-
hash: 57
|
|
297
|
-
segments:
|
|
298
|
-
- 1
|
|
299
|
-
- 8
|
|
300
|
-
- 7
|
|
281
|
+
- !ruby/object:Gem::Version
|
|
301
282
|
version: 1.8.7
|
|
302
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
hash: 3
|
|
308
|
-
segments:
|
|
309
|
-
- 0
|
|
310
|
-
version: "0"
|
|
283
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
|
+
requirements:
|
|
285
|
+
- - ">"
|
|
286
|
+
- !ruby/object:Gem::Version
|
|
287
|
+
version: 1.3.1
|
|
311
288
|
requirements: []
|
|
312
|
-
|
|
313
289
|
rubyforge_project:
|
|
314
|
-
rubygems_version:
|
|
290
|
+
rubygems_version: 2.0.2
|
|
315
291
|
signing_key:
|
|
316
|
-
specification_version:
|
|
317
|
-
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
|
292
|
+
specification_version: 4
|
|
293
|
+
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
|
294
|
+
Rails framework.
|
|
318
295
|
test_files: []
|
|
319
|
-
|