atomic_mem_cache_store 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 77ba4d9c1bc102bcbde344a6d09967c1e39ffbb1
4
+ data.tar.gz: 01b0150dca2282c8552ed32e5fc61871e2b075d0
5
+ SHA512:
6
+ metadata.gz: ed9fa3ba3fdb4ffb7f43f23178043ce7d632213f3b456c8c670095c9b43d30911dbf6e57a7a03151e04363b1d83ae88ee6b13252177548f985d04cfe50ec0597
7
+ data.tar.gz: 0424e91427c574aec7d0e75a439ac195ad990f8d1d4b80dcdd4b39174f5995f5245df2aeb7804c0e02c46f553a6482a5ebc73586c738e104ac1ff60a7e686cb4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.add_development_dependency "rspec"
20
20
  s.add_development_dependency "rake"
21
- s.add_runtime_dependency "activesupport", ">2.1"
21
+ s.add_development_dependency "iconv"
22
+ s.add_runtime_dependency "activesupport", "~>2.1"
22
23
  s.add_runtime_dependency "memcache-client"
23
24
  end
@@ -1,6 +1,6 @@
1
1
  require 'active_support'
2
2
 
3
- class AtomicMemCacheStore < ActiveSupport::Cache::MemCacheStore
3
+ class AtomicMemCacheStore < ActiveSupport::Cache::CompressedMemCacheStore
4
4
  VERSION = File.read(File.join(File.dirname(__FILE__),'..','VERSION') ).strip
5
5
  NEWLY_STORED = "STORED\r\n"
6
6
 
@@ -1,3 +1,5 @@
1
+ require 'iconv'
2
+
1
3
  begin
2
4
  require 'spec/autorun'
3
5
  rescue LoadError
metadata CHANGED
@@ -1,89 +1,94 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: atomic_mem_cache_store
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Renaud (Nel) Morvan
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2012-02-11 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-08-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
32
20
  type: :development
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
35
28
  name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
36
35
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: iconv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
46
48
  type: :development
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: activesupport
50
49
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ">"
55
- - !ruby/object:Gem::Version
56
- hash: 1
57
- segments:
58
- - 2
59
- - 1
60
- version: "2.1"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.1'
61
62
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: memcache-client
65
63
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '2.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: memcache-client
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
75
76
  type: :runtime
76
- version_requirements: *id004
77
- description: Rails memcached store optimized for the thundering herb issue. This limit cache recalculation to a single process while as long as key is not swept by LRU. Drop-in replacement of Rails memcached store.
78
- email:
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Rails memcached store optimized for the thundering herb issue. This limit
84
+ cache recalculation to a single process while as long as key is not swept by LRU.
85
+ Drop-in replacement of Rails memcached store.
86
+ email:
79
87
  - nel@w3fu.com
80
88
  executables: []
81
-
82
89
  extensions: []
83
-
84
90
  extra_rdoc_files: []
85
-
86
- files:
91
+ files:
87
92
  - .gitignore
88
93
  - Gemfile
89
94
  - README.md
@@ -95,37 +100,27 @@ files:
95
100
  - spec/spec_helper.rb
96
101
  homepage: https://github.com/nel/atomic_mem_cache_store
97
102
  licenses: []
98
-
103
+ metadata: {}
99
104
  post_install_message:
100
105
  rdoc_options: []
101
-
102
- require_paths:
106
+ require_paths:
103
107
  - lib
104
- required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
- version: "0"
113
- required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- hash: 3
119
- segments:
120
- - 0
121
- version: "0"
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
122
118
  requirements: []
123
-
124
119
  rubyforge_project: atomic_mem_cache_store
125
- rubygems_version: 1.8.15
120
+ rubygems_version: 2.0.3
126
121
  signing_key:
127
- specification_version: 3
122
+ specification_version: 4
128
123
  summary: Rails memcached store with atomic expiration
129
- test_files:
124
+ test_files:
130
125
  - spec/lib/atomic_mem_cache_store_spec.rb
131
126
  - spec/spec_helper.rb