activesupport 3.2.14 → 3.2.15.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

@@ -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
@@ -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
- each_key(options) do |key|
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
@@ -2,8 +2,8 @@ module ActiveSupport
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 14
6
- PRE = nil
5
+ TINY = 15
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
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
- hash: 19
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
- date: 2013-07-22 00:00:00 -03:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
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
- - !ruby/object:Gem::Dependency
45
- requirement: &id002 !ruby/object:Gem::Requirement
46
- none: false
47
- requirements:
48
- - - ~>
49
- - !ruby/object:Gem::Version
50
- hash: 15
51
- segments:
52
- - 1
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
- version_requirements: *id002
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
- description: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.
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
- none: false
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
- none: false
304
- requirements:
305
- - - ">="
306
- - !ruby/object:Gem::Version
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: 1.6.2
290
+ rubygems_version: 2.0.2
315
291
  signing_key:
316
- specification_version: 3
317
- summary: A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.
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
-