cache 0.4.0 → 0.4.1

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: 9755ee8a01fef12521b68531990e578ec2e8d853
4
+ data.tar.gz: f2dfeaaa666ea3c883bcef87219c0628972cee6c
5
+ SHA512:
6
+ metadata.gz: e1dccba377d492970356869a414abad6f23b0ffaab2da66434ee33ca73e28709f89226b10e5edf0fe4d1993307e46725f0f0d4ed4ec82026e1b9d64f6b4d005f
7
+ data.tar.gz: efb12243a5a8c0ff19f293a07e37ca9257fee25e00c88c986083d8b38ef428a4d56bd2f21af9199fb5c2264db51fdc9e80f7a62b90d24b15ff1dc6b0f91a898b
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.4.1 / 2014-12-11
2
+
3
+ * Bug fixes
4
+
5
+ * Properly require 'active_support' before any of its modules
6
+
1
7
  0.4.0 / 2012-09-07
2
8
 
3
9
  * Breaking changes
data/README.md CHANGED
@@ -203,8 +203,8 @@ end
203
203
  It defaults to an in-process memory store:
204
204
 
205
205
  @cache = Cache.new
206
- @cache.set 'hello'
207
- @cache.get 'hello', 'world'
206
+ @cache.set 'hello', 'world'
207
+ @cache.get 'hello'
208
208
 
209
209
  You can specify a more useful cache client:
210
210
 
@@ -36,6 +36,7 @@ class Cache
36
36
  elsif defined?(::Rails) and ::Rails.respond_to?(:cache) and rails_cache = ::Rails.cache
37
37
  rails_cache
38
38
  else
39
+ require 'active_support'
39
40
  require 'active_support/cache'
40
41
  require 'active_support/cache/memory_store'
41
42
  ::ActiveSupport::Cache::MemoryStore.new
@@ -1,3 +1,3 @@
1
1
  class Cache
2
- VERSION = "0.4.0"
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Seamus Abshere
@@ -10,150 +9,132 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-09-07 00:00:00.000000000 Z
12
+ date: 2014-12-11 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: activesupport
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 2.3.11
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 2.3.11
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: yard
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: test-unit
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - ">="
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: redis
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - ">="
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: redis-namespace
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - ">="
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - ">="
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: dalli
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - ">="
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - ">="
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: memcached
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ! '>='
102
+ - - ">="
117
103
  - !ruby/object:Gem::Version
118
104
  version: '0'
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ! '>='
109
+ - - ">="
125
110
  - !ruby/object:Gem::Version
126
111
  version: '0'
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: memcache-client
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ! '>='
116
+ - - ">="
133
117
  - !ruby/object:Gem::Version
134
118
  version: '0'
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ! '>='
123
+ - - ">="
141
124
  - !ruby/object:Gem::Version
142
125
  version: '0'
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: rack
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ! '>='
130
+ - - ">="
149
131
  - !ruby/object:Gem::Version
150
132
  version: '0'
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ! '>='
137
+ - - ">="
157
138
  - !ruby/object:Gem::Version
158
139
  version: '0'
159
140
  description: Wraps memcached, redis(-namespace), memcache-client, dalli and handles
@@ -165,7 +146,7 @@ executables: []
165
146
  extensions: []
166
147
  extra_rdoc_files: []
167
148
  files:
168
- - .gitignore
149
+ - ".gitignore"
169
150
  - CHANGELOG
170
151
  - Gemfile
171
152
  - README.md
@@ -207,27 +188,26 @@ files:
207
188
  - test/test_redis_storage.rb
208
189
  homepage: https://github.com/seamusabshere/cache
209
190
  licenses: []
191
+ metadata: {}
210
192
  post_install_message:
211
193
  rdoc_options: []
212
194
  require_paths:
213
195
  - lib
214
196
  required_ruby_version: !ruby/object:Gem::Requirement
215
- none: false
216
197
  requirements:
217
- - - ! '>='
198
+ - - ">="
218
199
  - !ruby/object:Gem::Version
219
200
  version: '0'
220
201
  required_rubygems_version: !ruby/object:Gem::Requirement
221
- none: false
222
202
  requirements:
223
- - - ! '>='
203
+ - - ">="
224
204
  - !ruby/object:Gem::Version
225
205
  version: '0'
226
206
  requirements: []
227
207
  rubyforge_project: cache
228
- rubygems_version: 1.8.24
208
+ rubygems_version: 2.2.2
229
209
  signing_key:
230
- specification_version: 3
210
+ specification_version: 4
231
211
  summary: A unified cache handling interface inspired by libraries like ActiveSupport::Cache::Store,
232
212
  Perl's Cache::Cache, CHI, etc.
233
213
  test_files: