redis-store-pika 1.9.2.1
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/.codeclimate.yml +6 -0
- data/.github/auto-assign-issues.yml +2 -0
- data/.github/workflows/ci.yml +64 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +132 -0
- data/Appraisals +19 -0
- data/CHANGELOG.md +667 -0
- data/CODEOWNERS +1 -0
- data/Gemfile +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +68 -0
- data/Rakefile +15 -0
- data/gemfiles/redis_4_0_x.gemfile +7 -0
- data/gemfiles/redis_4_1_x.gemfile +7 -0
- data/gemfiles/redis_4_6_x.gemfile +7 -0
- data/gemfiles/redis_4_x.gemfile +7 -0
- data/gemfiles/redis_5_x.gemfile +7 -0
- data/lib/redis/distributed_store.rb +68 -0
- data/lib/redis/store/factory.rb +111 -0
- data/lib/redis/store/interface.rb +29 -0
- data/lib/redis/store/namespace.rb +211 -0
- data/lib/redis/store/redis_version.rb +13 -0
- data/lib/redis/store/serialization.rb +67 -0
- data/lib/redis/store/ttl.rb +47 -0
- data/lib/redis/store/version.rb +13 -0
- data/lib/redis/store.rb +85 -0
- data/lib/redis-store-pika.rb +1 -0
- data/lib/redis-store.rb +1 -0
- data/redis-store.gemspec +35 -0
- data/test/redis/distributed_store_test.rb +111 -0
- data/test/redis/store/factory_test.rb +273 -0
- data/test/redis/store/interface_test.rb +27 -0
- data/test/redis/store/namespace_test.rb +316 -0
- data/test/redis/store/redis_version_test.rb +28 -0
- data/test/redis/store/serialization_test.rb +173 -0
- data/test/redis/store/ttl_test.rb +142 -0
- data/test/redis/store/version_test.rb +7 -0
- data/test/redis/store_test.rb +68 -0
- data/test/test_helper.rb +20 -0
- metadata +246 -0
data/CHANGELOG.md
ADDED
@@ -0,0 +1,667 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## 1.9.2.1
|
4
|
+
|
5
|
+
Fixed
|
6
|
+
|
7
|
+
* [Compatibility with Redis client v5.x](https://github.com/redis-store/redis-store/pull/359)
|
8
|
+
|
9
|
+
## 1.9.0
|
10
|
+
|
11
|
+
Breaking Changes
|
12
|
+
|
13
|
+
* As a factor of updates for Redis v4.2.x, support for Ruby 2.1 and 2.2
|
14
|
+
has been dropped. These Ruby versions are end-of-life anyway.
|
15
|
+
|
16
|
+
Fixed
|
17
|
+
|
18
|
+
* [Compatibility with Redis client v4.2.x](https://github.com/redis-store/redis-store/pull/333)
|
19
|
+
|
20
|
+
Added
|
21
|
+
|
22
|
+
* [Support for edge Ruby's keyword arguments](https://github.com/redis-store/redis-store/pull/334)
|
23
|
+
|
24
|
+
## 1.8.2
|
25
|
+
|
26
|
+
Breaking Changes
|
27
|
+
|
28
|
+
* None
|
29
|
+
|
30
|
+
Added
|
31
|
+
|
32
|
+
* [Add namespace to zincrby and zscore](https://github.com/redis-store/redis-store/pull/323)
|
33
|
+
* [Add namespace to zadd and zrem](https://github.com/redis-store/redis-store/pull/326)
|
34
|
+
|
35
|
+
Fixed
|
36
|
+
|
37
|
+
* None
|
38
|
+
|
39
|
+
## 1.8.1
|
40
|
+
|
41
|
+
Breaking Changes
|
42
|
+
|
43
|
+
* None
|
44
|
+
|
45
|
+
Added
|
46
|
+
|
47
|
+
* None
|
48
|
+
|
49
|
+
Fixed
|
50
|
+
|
51
|
+
* [Add namespace to remaining hash methods](https://github.com/redis-store/redis-store/pull/321)
|
52
|
+
|
53
|
+
## 1.8.0
|
54
|
+
|
55
|
+
Breaking Changes
|
56
|
+
|
57
|
+
* None
|
58
|
+
|
59
|
+
Added
|
60
|
+
|
61
|
+
* [Redis Cluster Support](https://github.com/redis-store/redis-store/pull/318)
|
62
|
+
|
63
|
+
Fixed
|
64
|
+
|
65
|
+
* None
|
66
|
+
|
67
|
+
## 1.6.0
|
68
|
+
|
69
|
+
Breaking Changes
|
70
|
+
|
71
|
+
* None
|
72
|
+
|
73
|
+
Added
|
74
|
+
|
75
|
+
* [SSL/TLS Support with the rediss:// URI scheme](https://github.com/redis-store/redis-store/pull/306)
|
76
|
+
* [Use Code Style Guide For New Contributions](https://github.com/redis-store/redis-store/pull/309)
|
77
|
+
|
78
|
+
Fixed
|
79
|
+
|
80
|
+
* None
|
81
|
+
|
82
|
+
## 1.5.0
|
83
|
+
|
84
|
+
Breaking Changes
|
85
|
+
|
86
|
+
* None
|
87
|
+
|
88
|
+
Added
|
89
|
+
|
90
|
+
* [Support for Redis v4 and above](https://github.com/redis-store/redis-store/pull/292)
|
91
|
+
* [Support for distributed mget/read_multi in Redis v4](https://github.com/redis-store/redis-store/pull/282)
|
92
|
+
* [Tests for Namespace#flushdb](https://github.com/redis-store/redis-store/pull/299)
|
93
|
+
* [Support for UNIX Socket path connections](https://github.com/redis-store/redis-store/pull/298)
|
94
|
+
* [HashRing configuration for DistributedStore](https://github.com/redis-store/redis-store/pull/304)
|
95
|
+
|
96
|
+
Fixed
|
97
|
+
|
98
|
+
* [Inefficient use of KEYS when calling FLUSHDB without a namespace](https://github.com/redis-store/redis-store/pull/297)
|
99
|
+
|
100
|
+
## 1.4.1
|
101
|
+
|
102
|
+
Breaking Changes
|
103
|
+
|
104
|
+
* None
|
105
|
+
|
106
|
+
Added
|
107
|
+
|
108
|
+
* [Support for Redis client library v4](https://github.com/redis-store/redis-store/issues/277)
|
109
|
+
|
110
|
+
Fixed
|
111
|
+
|
112
|
+
* None
|
113
|
+
|
114
|
+
## 1.4.0
|
115
|
+
|
116
|
+
Breaking Changes
|
117
|
+
|
118
|
+
* None
|
119
|
+
|
120
|
+
Added
|
121
|
+
|
122
|
+
* Pluggable backend for serializing data in/out of Redis, eventually replacing `:marshalling` in v2.
|
123
|
+
|
124
|
+
Fixed
|
125
|
+
|
126
|
+
* Conventional `Marshal.dump` usage allowing potential security vulnerability (CVE-2017-1000248)
|
127
|
+
|
128
|
+
## 1.3.0
|
129
|
+
|
130
|
+
Breaking Changes
|
131
|
+
|
132
|
+
* None
|
133
|
+
|
134
|
+
Added
|
135
|
+
|
136
|
+
* Add support for marshalling mset
|
137
|
+
|
138
|
+
Fixed
|
139
|
+
|
140
|
+
* Set :raw => true if marshalling
|
141
|
+
* Forward new Hash, not nil, when options are unset
|
142
|
+
|
143
|
+
## 1.2.0
|
144
|
+
|
145
|
+
Breaking Changes
|
146
|
+
|
147
|
+
* None
|
148
|
+
|
149
|
+
Added
|
150
|
+
|
151
|
+
* Allow changing namespaces on the fly
|
152
|
+
* Begin testing against ruby 2.3.0
|
153
|
+
|
154
|
+
Fixed
|
155
|
+
|
156
|
+
* Use batched deletes for flushdb with a namespace
|
157
|
+
* pass set command options to redis
|
158
|
+
* bump rbx 2
|
159
|
+
* fix setex marshalling for distributed store
|
160
|
+
* changes to new url
|
161
|
+
* :warning: shadowing outer local variable - key, pattern, value
|
162
|
+
* :warning: `*' interpreted as argument prefix
|
163
|
+
* Removed duplicated method ttl
|
164
|
+
|
165
|
+
## 1.1.7
|
166
|
+
|
167
|
+
Breaking Changes
|
168
|
+
|
169
|
+
* None
|
170
|
+
|
171
|
+
Added
|
172
|
+
|
173
|
+
* Added redis_version and supports_redis_version? methods to Store and DistributedStore
|
174
|
+
|
175
|
+
Fixed
|
176
|
+
|
177
|
+
* Handle minor and patch version correctly as they may be multiple digits
|
178
|
+
|
179
|
+
*1.1.6 (July 16, 2015)*
|
180
|
+
|
181
|
+
https://github.com/redis-store/redis-store/compare/v1.1.5...v1.1.6
|
182
|
+
|
183
|
+
*1.1.5 (June 8, 2015)*
|
184
|
+
|
185
|
+
https://github.com/redis-store/redis-store/compare/v1.1.4...v1.1.5
|
186
|
+
|
187
|
+
*1.1.4 (August 20, 2013)*
|
188
|
+
|
189
|
+
* Bump version v1.1.4
|
190
|
+
* Release redis-rails 4.0.0
|
191
|
+
* Release redis-actionpack 4.0.0
|
192
|
+
* Release redis-activesupport 4.0.0
|
193
|
+
* Release redis-sinatra 1.4.0
|
194
|
+
* Release redis-rack-cache 1.2.2
|
195
|
+
* Release redis-i18n 0.6.5
|
196
|
+
* Release redis-rack 1.5.0
|
197
|
+
* New versions of the AS, AP and Rails gems [Alexey Vasiliev]
|
198
|
+
* fix gems for Rails 4 [Alexey Vasiliev]
|
199
|
+
* JRuby testing, remove 1.8.7 from tests (unsupported), fix some tests [Alexey Vasiliev]
|
200
|
+
* Change configurations for the Rails dummy app.
|
201
|
+
* use @default_options when calling @pool.set to avoid infinite-ttl session leak, fixes #179 [Sean Walbran]
|
202
|
+
* Test against Rails 4 not master [Rafael Mendonça França]
|
203
|
+
* Make possible to work with rack 1.5 [Rafael Mendonça França]
|
204
|
+
* Add support pluralization support to Redis i18n [Joachim Filip Ignacy Bartosik]
|
205
|
+
* Fixes #189 [Fabrizio Regini]
|
206
|
+
* fix CI script [Fabrizio Regini]
|
207
|
+
* Redis::Factory => Redis::Store::Factory
|
208
|
+
* Added performance warning, per #186. [Brian P O'Rourke]
|
209
|
+
* Fix: read_multi was returning ActiveSupport::Cache::Entry instead of deserialized value [Miles D Goodings]
|
210
|
+
* Fix: can't modify frozen String errors in Redis::Store::Marshalling [Miles D Goodings]
|
211
|
+
* Add expire method and tests [Han Chang]
|
212
|
+
* Run against Rails 4 and Ruby 2.0 [Steve Klabnik]
|
213
|
+
* Clean up README files to be more clear and helpful [Matthew Beale]
|
214
|
+
* Bundler 1.2.0 is now out, don't require the RC on the CI server
|
215
|
+
* Relaxed the requirement for the Redis gem (>= 2.2). Updated development dependencies.
|
216
|
+
* Ensure Redis 2.6 compat
|
217
|
+
|
218
|
+
*1.1.3 (October 6, 2012)*
|
219
|
+
|
220
|
+
* Bump version v1.1.3
|
221
|
+
* Invoke namespaced commands only when keys are present.
|
222
|
+
|
223
|
+
*1.1.2 (September 4, 2012)*
|
224
|
+
|
225
|
+
* Bump version v1.1.2 [Matt Horan]
|
226
|
+
* Override flushdb for namespaced datastore [Gregory Marcilhacy]
|
227
|
+
|
228
|
+
*1.1.1 (June 26, 2012)*
|
229
|
+
|
230
|
+
* Bump version v1.1.1
|
231
|
+
* README, CHANGELOG
|
232
|
+
* Bumped redis-sinatra 1.3.3
|
233
|
+
* Bumped redis-rack 1.4.2
|
234
|
+
* Bumped redis-i18n 0.6.1
|
235
|
+
* Relaxing dependencies
|
236
|
+
* Relax requirement on redis (use >= 2.2.0)
|
237
|
+
Because resque still depends on redis 2.x and sidekiq on redis 3.x,
|
238
|
+
using >= 2.2.0 instead of ~> 3.0.0 allows compatibility with both. [Lukas Westermann]
|
239
|
+
* Use default value for port, otherwise factory_test.rb:65 fails (port = 0) [Lukas Westermann]
|
240
|
+
* Use redis 3.x [Lukas Westermann]
|
241
|
+
* Adding examples for rails cache store config with URLs [aliix]
|
242
|
+
* Bumped redis-rack-cache 1.2
|
243
|
+
* Bump: [Matt Horan]
|
244
|
+
- redis-rails 3.2.3
|
245
|
+
- redis-actionpack 3.2.3
|
246
|
+
- redis-activesupport 3.2.3
|
247
|
+
* Loosen actionpack version requirement for possible Rails 3.2.3 compatibility [Filip Tepper]
|
248
|
+
* Add Rails 3.2.2 support for redis-actionpack, redis-activesupport, redis-rails [Jack Chu]
|
249
|
+
* Bumped redis-rack 1.4.1
|
250
|
+
* Bumped:
|
251
|
+
- redis-rack 1.4.0
|
252
|
+
- redis-activesupport 3.2.1
|
253
|
+
- redis-actionpack 3.2.1
|
254
|
+
- redis-rails 3.2.1
|
255
|
+
* Bump redis-sinatra 1.3.2
|
256
|
+
|
257
|
+
*1.1.0 (February 14, 2012)*
|
258
|
+
|
259
|
+
* Bump version v1.1.0
|
260
|
+
* Prepare stable releases
|
261
|
+
- redis-store 1.1.0
|
262
|
+
- redis-actionpack 3.1.3
|
263
|
+
- redis-activesupport 3.1.3
|
264
|
+
- redis-i18n 0.6.0
|
265
|
+
- redis-rack-cache 1.1
|
266
|
+
- redis-rack 1.3.5
|
267
|
+
- redis-rails 3.1.3
|
268
|
+
- redis-sinatra 1.3.1
|
269
|
+
* Replace minitest-rails with mini_specunit [Matt Horan]
|
270
|
+
* Bumped: [Matt Horan]
|
271
|
+
- redis-actionpack 3.1.3.rc4
|
272
|
+
- redis-activesupport 3.1.3.rc2
|
273
|
+
- redis-i18n 0.6.0.rc2
|
274
|
+
- redis-rack-cache 1.1.rc3
|
275
|
+
- redis-rails 3.1.3.rc4
|
276
|
+
- redis-sinatra 1.3.1.rc2
|
277
|
+
* Remove redis-actionpack dependency on redis-rack-cache [Matt Horan]
|
278
|
+
|
279
|
+
*1.1.0 [rc2] (February 3, 2012)*
|
280
|
+
|
281
|
+
* Bump version v1.1.0.rc2
|
282
|
+
* Bumped: [Matt Horan]
|
283
|
+
- redis-store 1.1.0.rc2
|
284
|
+
- redis-actionpack 3.1.3.rc3
|
285
|
+
- redis-rails 3.1.3.rc3
|
286
|
+
* README, CHANGELOG
|
287
|
+
* Don't clobber :redis_server if provided to ActionDispatch::Session::RedisStore [Matt Horan]
|
288
|
+
* Support :servers option to ActionDispatch::Session::RedisStore [Matt Horan]
|
289
|
+
* Add missing assertions [Matt Horan]
|
290
|
+
* Integrate against a distributed Redis store [Matt Horan]
|
291
|
+
* Remove duplicated logic for merging default Redis server with options [Matt Horan]
|
292
|
+
* Rename ActionDispatch::Session::RedisSessionStore to RedisStore in keeping with documentation and MemCacheStore [Matt Horan]
|
293
|
+
* Test auto-load of unloaded class [Matt Horan]
|
294
|
+
* Replace assert_response with must_be [Matt Horan]
|
295
|
+
* Pending upstream fix [Matt Horan]
|
296
|
+
* Additional tests for rack-actionpack, borrowed from MemCacheStoreTest [Matt Horan]
|
297
|
+
* Test redis-actionpack with dummy Rails application [Matt Horan]
|
298
|
+
* Use Rack::Session::Redis API in RedisSessionStore [Matt Horan]
|
299
|
+
* Quiet warnings [Matt Horan]
|
300
|
+
* Remove superfluous tests [Matt Horan]
|
301
|
+
* Cleanup Redis::Store::Ttl setnx and set tests with help from @mike-burns [Matt Horan]
|
302
|
+
* Verify Ttl#setnx sets raw => true if expiry is provided [Matt Horan]
|
303
|
+
* Fix redis-rack spec [Matt Horan]
|
304
|
+
* Previous fix for double marshal just disabled expiry. Instead, call setnx from Ttl module with :raw => true so that Marshal.dump [Matt Horan]
|
305
|
+
* Test and fix for double marshal [Matt Horan]
|
306
|
+
* Cleanup Redis::Store::Ttl spec [Matt Horan]
|
307
|
+
* Fix Redis::Rack version require [Matt Horan]
|
308
|
+
* Redis::Store::Ttl extends Redis#set with TTL support [Matt Horan]
|
309
|
+
* Specs for Redis::Store::Ttl [Matt Horan]
|
310
|
+
* Bumped:
|
311
|
+
- redis-rack-cache 1.1.rc2
|
312
|
+
- redis-actionpack 3.1.3.rc2
|
313
|
+
- redis-rails 3.1.3.rc2
|
314
|
+
* Ensure TTL is an integer - Rails cache returns a float when used with race_condition_ttl [Matt Williams]
|
315
|
+
|
316
|
+
*1.1.0 [rc] (December 30, 2011)*
|
317
|
+
|
318
|
+
* Bump version v1.1.0.rc
|
319
|
+
* Prepare RCs
|
320
|
+
* redis-store 1.1.0.rc
|
321
|
+
* CHANGELOG
|
322
|
+
* Use strict dependencies.
|
323
|
+
* READMEs and Licenses
|
324
|
+
* redis-actionpack now depends on redis-rack-cache
|
325
|
+
* Redis::Factory.convert_to_redis_client_options => Redis::Factory.resolve.
|
326
|
+
* Don't use autoload
|
327
|
+
* Make redis-rack-cache tests to pass again
|
328
|
+
* Target Rack::Cache 1.1 for redis-rack-cache
|
329
|
+
* Target Rack 1.4.0 for redis-rack
|
330
|
+
* Gemspecs, dependencies and versions
|
331
|
+
* Make redis-rails tests to pass again
|
332
|
+
* redis-actionpack dependencies
|
333
|
+
* redis-activesupport dependencies
|
334
|
+
* Fix for redis-rack tests
|
335
|
+
* Fix for redis-activesupport tests
|
336
|
+
* Make redis-sinatra tests to pass again
|
337
|
+
* Make redis-actionpack tests to pass again
|
338
|
+
* Install bundler 1.1 RC on travis-ci.org [Michael Klishin]
|
339
|
+
* Make redis-rack tests to pass again
|
340
|
+
* Added SETEX support to Interface and Marshalling
|
341
|
+
* Make redis-i18n tests to pass again
|
342
|
+
* Make redis-activesupport tests to pass again
|
343
|
+
* More tests for redis-store core
|
344
|
+
* Redis::Factory is created with general options and not the redis_server [Julien Kirch]
|
345
|
+
* Moved README.md
|
346
|
+
* Split gems in subdirectories
|
347
|
+
* Moved everything under redis-store
|
348
|
+
* Use bundler 1.1.rc
|
349
|
+
* Better Ruby idiom on File.expand_path
|
350
|
+
* Moved Rake test tasks into lib/tasks/redis.tasks.rb, in order to DRY Rake
|
351
|
+
* Testing: Use relative paths when referring to pid files
|
352
|
+
* Autoload modules
|
353
|
+
* Moved Rake test tasks under lib/ in order to make them accessible to all
|
354
|
+
* Let the Redis::DistributedStore test to pass
|
355
|
+
* Let Redis Rake tasks to work again
|
356
|
+
* Run tests without dtach
|
357
|
+
* Switch from RSpec to MiniTest::Unit
|
358
|
+
* Removed all the references to Rails, Merb, Sinatra, Rack, i18n, Rack::Session and Rack::Cache
|
359
|
+
* Gemfile is now depending on the gemspec. Removed Jewler.
|
360
|
+
|
361
|
+
*1.0.0 (September 1, 2011)*
|
362
|
+
|
363
|
+
* Bump version v1.0.0
|
364
|
+
* Avoid encoding issues when sending strings to Redis. [Damian Janowski]
|
365
|
+
* Fixed a bug that caused all the users to share the same session (with a session_id of 0 or 1) [Mathieu Ravaux]
|
366
|
+
* ActiveSupport cache stores reply to read_multi with a hash, not an array. [Matt Griffin]
|
367
|
+
* Rack::Session && Rack::Cache store can be created with options [aligo]
|
368
|
+
* add destroy_session [aligo]
|
369
|
+
* compatible with rails 3.1. rely on Rack::Session::Redis stores API. [aligo]
|
370
|
+
* Fixed Marshalling semantic
|
371
|
+
|
372
|
+
*1.0.0 [rc1] (June 5, 2011)*
|
373
|
+
|
374
|
+
* Bump version v1.0.0.rc1
|
375
|
+
* Re-implement the delete_entry because it s needed by the ActiveSupport::Cache [Cyril Mougel]
|
376
|
+
* Change readme documentation for rack-cache to use single redis database with namespace support per Redis maintainers recommendation [Travis D. Warlick, Jr.]
|
377
|
+
* Rack-Cache entity and meta store base classes should use the Redis::Factory.convert_to_redis_client_options method for DRYness and for namespace support [Travis D. Warlick, Jr.]
|
378
|
+
* Modify #fetch for cache stores to return the yielded value instead of OK [Rune Botten]
|
379
|
+
* Minor revisions to Readme language and organization [Jeff Casimir]
|
380
|
+
* Re-implement the delete_entry because it s needed by the ActiveSupport::Cache implementation in Rails 3 [Cyril Mougel]
|
381
|
+
* Refactor delete_matched [Andrei Kulakov]
|
382
|
+
|
383
|
+
*1.0.0 [beta5] (April 2, 2011)*
|
384
|
+
|
385
|
+
* Bump version v1.0.0.beta5
|
386
|
+
* Introducing Rails.cache.reconnect, useful for Unicorn environments. Closes #21
|
387
|
+
* Namespaced i18n backend should strip namespace when lists available locales. Closes #62
|
388
|
+
* how to configure Redis session store in Sinatra [Christian von Kleist]
|
389
|
+
* gracefully handle Connection Refused errors, allows database fall-back on fetch [Michael Kintzer]
|
390
|
+
* Sinatra's API must have changed, its registered not register. [Michael D'Auria]
|
391
|
+
|
392
|
+
*1.0.0 [beta4] (December 15, 2010)*
|
393
|
+
|
394
|
+
* Bump version v1.0.0.beta4
|
395
|
+
* Force Rails cache store when ActiveSupport is detected
|
396
|
+
* Make sure to accept options when :servers isn't passed
|
397
|
+
* Always force session store loading when using Rails
|
398
|
+
* Make it compatible with Rails 3 sessions store [Andre Medeiros]
|
399
|
+
* Better Rails 3 detection [Andre Medeiros]
|
400
|
+
* Added support for password in Redis URI resolution [Jacob Gyllenstierna]
|
401
|
+
* fix deleting values from session hash [Calvin Yu]
|
402
|
+
* Use defensive design when build options for a store
|
403
|
+
* ActiveSupport cache store doesn't accept any argument in Rails 2
|
404
|
+
* Updated dependencies
|
405
|
+
|
406
|
+
*1.0.0 [beta3] (September 10, 2010)*
|
407
|
+
|
408
|
+
* Bump version v1.0.0.beta3
|
409
|
+
* Updated gemspec
|
410
|
+
* Made compatible with Ruby 1.9.2
|
411
|
+
* Made compatible with Rails 3
|
412
|
+
* Making the redis-store rails session store compatible with Rails 2.3.9. [Aaron Gibralter]
|
413
|
+
* Updated to v2.3.9 the development dependencies for Rails 2.x
|
414
|
+
* Added password support
|
415
|
+
* Set default URI string for Rack session store according to redis gem
|
416
|
+
* Require redis:// scheme as mandatory part of URI string
|
417
|
+
* Updated locked dependencies
|
418
|
+
* Added namespace support for Redis::DistrubutedStore
|
419
|
+
* Specs for Interface module
|
420
|
+
* Moved a spec to reflect lib/ structure
|
421
|
+
* Made specs run again with bundler-1.0.0.rc.2
|
422
|
+
* Prepare for bundler-1.0.0.rc.1
|
423
|
+
* Use tmp/ for Redis database dumps
|
424
|
+
* README, gemspec
|
425
|
+
* Lookup for scoped keys
|
426
|
+
* Introducing I18n::Backend::Redis
|
427
|
+
* Don't pollute Redis namespace. closes #16
|
428
|
+
* Don't look twice for Rails module
|
429
|
+
* Fixed loading ActionDispatch::Session issue with Rails 3
|
430
|
+
* ActiveSupport cache now uses new Rails 3 namespace API
|
431
|
+
* Let Rack::Cache entity store to use plain Redis client
|
432
|
+
* CHANGELOG
|
433
|
+
* Gemspec
|
434
|
+
* Redis::DistributedMarshaled => Redis::DistributedStore
|
435
|
+
* Extracted expiration logic in Redis::Ttl
|
436
|
+
* Introducing Redis::Store and extracted marshalling logic into Redis::Marshalling
|
437
|
+
* CHANGELOG
|
438
|
+
* Gemspec
|
439
|
+
* Removed superfluous specs. Documentation.
|
440
|
+
* Made the specs pass with Ruby 1.9.2 and Rails 3
|
441
|
+
* Made the specs pass with Ruby 1.9.2
|
442
|
+
* Prepare specs for Ruby 1.9.2
|
443
|
+
* Made the specs pass for Rails 3
|
444
|
+
* Namespaced keys for ActiveSupport::Cache::RedisStore
|
445
|
+
* Got RedisSessionStore working again with namespace
|
446
|
+
* Delegate MarshaledClient#to_s decoration to Redis::Namespace
|
447
|
+
* Redis::Namespace
|
448
|
+
* Accept :namespace option when instantiate a store
|
449
|
+
* Test against merb-1.1.0 for now
|
450
|
+
* Updated Rake tasks for Redis installation
|
451
|
+
* Advanced configurations for Rails in README. closes #8
|
452
|
+
* Locked gems
|
453
|
+
* Changed the gemspec according to the new directories structure
|
454
|
+
* Changed directories structure, according to the ActiveSupport loading policies
|
455
|
+
* Typo in CHANGELOG
|
456
|
+
|
457
|
+
*1.0.0 [beta2] (June 12, 2010)*
|
458
|
+
|
459
|
+
* Bump version v1.0.0.beta2
|
460
|
+
* Added committers names to CHANGELOG
|
461
|
+
* Added CHANGELOG
|
462
|
+
* Rake namespace: redis_cluster => redis:cluster
|
463
|
+
* Fixed Rails 3 failing spec
|
464
|
+
* Added ActiveSupport::Cache::RedisStore#read_multi
|
465
|
+
* Enabled notifications for ActiveSupport::Cache::RedisStore
|
466
|
+
* Moved spec
|
467
|
+
* Use consistent Rails 3 check in session store
|
468
|
+
* Make sure of use top-level module
|
469
|
+
* Updated Rails 2.x development dependencies
|
470
|
+
|
471
|
+
*1.0.0 [beta1] (June 9, 2010)*
|
472
|
+
|
473
|
+
* Bump version v1.0.0.beta1
|
474
|
+
* Made specs pass for Ruby 1.9.1
|
475
|
+
* Updated instructions to test against Rails 3.x
|
476
|
+
* Updated copyright year
|
477
|
+
* Prepare for v1.0.0.beta1
|
478
|
+
* Use Rails v3.0.0.beta4
|
479
|
+
* Require redis >= 2.0.0 gem in Gemfile
|
480
|
+
* Updated instructions for Rails 2 session store
|
481
|
+
* Added instructions for Rails 3 configuration
|
482
|
+
* Check against Rails#version instead of Rails::VERSION::STRING
|
483
|
+
* Added redis gem as dependency
|
484
|
+
* Changed spec_helper.rb according to the new Rails 3 check
|
485
|
+
* Fix the rails3 check [Bruno Michel]
|
486
|
+
* Added bundler cleanup Rake task
|
487
|
+
* Fixed ActiveSupport::Cache::RedisStore#fetch
|
488
|
+
* Re-enabled redis:console Rake task
|
489
|
+
* Don't use Rspec#have with ActiveSupport 3
|
490
|
+
* Fixed Rails 2 regression for ActiveSupport::Cache::RedisStore#delete_matched
|
491
|
+
* Fixed issues for ActiveSupport::Cache::RedisStore #delete_matched, #read, #rwrite
|
492
|
+
* Rails 3 namespace
|
493
|
+
* Use Rails edge instead of 3.0.0.beta3
|
494
|
+
* Made the specs run again
|
495
|
+
* Updated Gemfile development/test dependencies for rails3.
|
496
|
+
* Updated README instructions
|
497
|
+
* Updated test configuration files, according to redis-2.0.0-rc1 defaults
|
498
|
+
* Made specs pass with redis-2.0.0 gem
|
499
|
+
* Don't support the old redis-rb namespace
|
500
|
+
* Import the whole redis-rb old Rake tasks
|
501
|
+
* Updated redis-rb dependency
|
502
|
+
|
503
|
+
*0.3.8 [Final] (May 21, 2010)*
|
504
|
+
|
505
|
+
* Fixed gemspec executable issue
|
506
|
+
* Updated .gemspec
|
507
|
+
* Version bump to 0.3.8
|
508
|
+
* Started namespace migration for redis-2.0.0
|
509
|
+
* Merge branch 'master' of http://github.com/akahn/redis-store
|
510
|
+
* Fixed dependency issues. [Brian Takita]
|
511
|
+
* Removed methopara because it require ruby 1.9.1. [Brian Takita]
|
512
|
+
* Merge branch 'master' of http://github.com/dsander/redis-store [Brian Takita]
|
513
|
+
* Moved RedisSessionStore to rack session directory. [Brian Takita]
|
514
|
+
* Got RedisSessionStore working with passing specs. [Brian Takita]
|
515
|
+
* Using modified version of RedisSessionStore (http://github.com/mattmatt/redis-session-store). Still needs testing. [Brian Takita]
|
516
|
+
* Using redis 1.0.5. [Brian Takita]
|
517
|
+
* Ignoring gem files and gemspecs with a prefix. [Brian Takita]
|
518
|
+
* Added git and jeweler to dependencies. [Brian Takita]
|
519
|
+
* Ignoring .bundle and rubymine files. [Brian Takita]
|
520
|
+
* Added ability to add a prefix to the gem name via the GEM_PREFIX environment variable. [Brian Takita]
|
521
|
+
* Fixed marshalling issues with the new Redis api. Fixed redis-server configurations for the latest version of redis-server. Added redis_cluster:start and redis_cluster:stop rake tasks. Spec suite passes. [Brian Takita]
|
522
|
+
* Fixed redis deprecation warnings. [Brian Takita]
|
523
|
+
* Using redis 1.0.4. Loading redis.tasks.rb from redis gem using Bundler. Fixed redis test configurations. [Brian Takita]
|
524
|
+
* Supports redis 1.0.5 [Dominik Sander]
|
525
|
+
* Add Rack::Session::Redis usage for Sinatra to README [Alexander Kahn]
|
526
|
+
* Updated development and testing dependencies
|
527
|
+
* Made compatible with rack-cache-0.5.2
|
528
|
+
|
529
|
+
*0.3.7 [Final] (November 15, 2009)*
|
530
|
+
|
531
|
+
* Version bump to 0.3.7
|
532
|
+
* Version bump to 0.3.7
|
533
|
+
* Updated spec instructions in README
|
534
|
+
* Jeweler generated redis-store.gemspec
|
535
|
+
* Removed no longer used Rake tasks. Added Gemcutter support via Jeweler.
|
536
|
+
* Typo
|
537
|
+
* Let Rcov task run with the Redis cluster started
|
538
|
+
* Make spec suite pass again
|
539
|
+
* README.textile -> README.md
|
540
|
+
* Re-enabled Merb specs
|
541
|
+
* Added *.rdb in .gitignore
|
542
|
+
* Run detached Redis instances for spec suite
|
543
|
+
* Start detached Redis server for specs
|
544
|
+
* Added Gemfile, removed rubygems dependecy for testing.
|
545
|
+
* Added *.swp to .gitignore
|
546
|
+
* Added jeweler rake tasks
|
547
|
+
* Make it work in classic Sinatra apps. [Dmitriy Timokhin]
|
548
|
+
* Updated README with new instructions about redis-rb
|
549
|
+
|
550
|
+
*0.3.6 [Final] (June 18, 2009)*
|
551
|
+
|
552
|
+
* Prepare for v0.3.6
|
553
|
+
* Updated README with new version
|
554
|
+
* Changed Redis config files for specs
|
555
|
+
* Updated README instructions
|
556
|
+
* New filelist in gemspec
|
557
|
+
* Fixed typo in spec
|
558
|
+
* Don't try to unmarshal empty strings
|
559
|
+
* Running specs according to the DEBUG env var
|
560
|
+
* Added specs for uncovered Merb Cache API
|
561
|
+
* Added rcov Rake task
|
562
|
+
* Fix README
|
563
|
+
* Fix typo in README
|
564
|
+
* Updated README instructions
|
565
|
+
* Removed RedisError catching
|
566
|
+
* Declaring for now RedisError in spec_helper.rb
|
567
|
+
* Removed unnecessary classes
|
568
|
+
* Fix specs for DistributedMarshaledRedis
|
569
|
+
* Fix some specs
|
570
|
+
* Made Server#notify_observers private
|
571
|
+
* Ensure to select the correct database after the socket connection
|
572
|
+
* Reverted socket pooling. Ensure to always return an active socket.
|
573
|
+
* Lowering default timeout from 10 to 0.1
|
574
|
+
|
575
|
+
*0.3.5 [Final] (May 7, 2009)*
|
576
|
+
|
577
|
+
* Prepare for v0.3.5
|
578
|
+
* Totally replace ezmobius-redis-rb Server implementation
|
579
|
+
* Fixed default Server timeout to 1 second
|
580
|
+
* Little refactoring
|
581
|
+
* Ensure Server#active? always returns a boolean and never raise an exception
|
582
|
+
* Made configurable connection pool timeout and size
|
583
|
+
* Socket connection pooling
|
584
|
+
* Updated README
|
585
|
+
|
586
|
+
*0.3.0 [Final] (May 3, 2009)*
|
587
|
+
|
588
|
+
* Prepare for v0.3.0
|
589
|
+
* README formatting issues
|
590
|
+
* README formatting (again)
|
591
|
+
* README formatting
|
592
|
+
* Updated Rack::Session instructions for Sinatra
|
593
|
+
* Make Rack::Session implementation working with Merb
|
594
|
+
* Added instructions for Rack::Session
|
595
|
+
* Expiration support for Rack::Session
|
596
|
+
* Ensure to test Rails and Sinatra expiration implementations with both MarshaledRedis and DistrbutedMarshaledRedis
|
597
|
+
* Expiration support for Merb::Cache
|
598
|
+
* Use full qualified class names in specs. Minor spec fix.
|
599
|
+
* Ported for foreword compatibility the expiration implementation from ezmobius/redis-rb
|
600
|
+
* Little spec cleanup
|
601
|
+
* Full support for Rack::Session
|
602
|
+
* Extracted some logic into RedisFactory
|
603
|
+
* Initial support for Rack::Session
|
604
|
+
|
605
|
+
*0.2.0 [Final] (April 30, 2009)*
|
606
|
+
|
607
|
+
* Prepare for v0.2.0
|
608
|
+
* Links in README
|
609
|
+
* Maybe someday I will use the right formatting rules at first attempt
|
610
|
+
* Still formatting README
|
611
|
+
* Formatting for README
|
612
|
+
* Updated instructions for Rack::Cache
|
613
|
+
* Don't require any cache store if no Ruby framework is detected
|
614
|
+
* Implemented EntityStore for Rack::Cache
|
615
|
+
* Added REDIS constant for Rack::Cache::Metastore
|
616
|
+
* MetaStore implementation for Rack::Cache
|
617
|
+
|
618
|
+
*0.1.0 [Final] (April 30, 2009)*
|
619
|
+
|
620
|
+
* Prepare for v0.1.0
|
621
|
+
* Sinatra cache support
|
622
|
+
|
623
|
+
*0.0.3 [Final] (April 30, 2009)*
|
624
|
+
|
625
|
+
* Prepare for v0.0.3
|
626
|
+
* Updated instructions for Merb
|
627
|
+
* Hack for Merb cyclic dependency
|
628
|
+
* Renaming main lib
|
629
|
+
* Merb store #writable always returns true. Added pending test.
|
630
|
+
* Merb store #fetch refactoring
|
631
|
+
* Updated Redis installation instructions
|
632
|
+
* Implemented #fetch for Merb store
|
633
|
+
* Implemented #exists?, #delete and #delete_all for Merb cache store
|
634
|
+
* Renamed project name in Rakefile
|
635
|
+
* Updated project name in README
|
636
|
+
* Updated README with Merb instructions
|
637
|
+
* Changed name in gemspec
|
638
|
+
* New gemspec
|
639
|
+
* Initial cache store support for Merb
|
640
|
+
* Moving files around
|
641
|
+
* Don't complain about missing db in tmp/
|
642
|
+
|
643
|
+
*0.0.2 [Final] (April 16, 2009)*
|
644
|
+
|
645
|
+
* Prepare for v0.0.2
|
646
|
+
* Updated file list in gemspec
|
647
|
+
* Updated README instructions
|
648
|
+
* Re-enabled spec for RedisStore#fetch
|
649
|
+
* Update rdoc
|
650
|
+
* Fix RedisStore#clear when use a cluster
|
651
|
+
* Test RedisStore both with single server and with a cluster
|
652
|
+
* Fix port in DistributedMarshaledRedis spec
|
653
|
+
* Don't slave Redis cluster node
|
654
|
+
* Changed Redis cluster configuration
|
655
|
+
* Added configuration for Redis cluster
|
656
|
+
* Use a distributed system if the store uses more than one server
|
657
|
+
* Accept params for client connection
|
658
|
+
|
659
|
+
*0.0.1 [Final] (April 11, 2009)*
|
660
|
+
|
661
|
+
* Added :unless_exist option to #write
|
662
|
+
* Added failing specs for :expires_in option
|
663
|
+
* Made optional args compatible with the Cache interface
|
664
|
+
* Implemented #delete_matched, #clear, #stats
|
665
|
+
* Implemented #delete, #exist?, #increment, #decrement
|
666
|
+
* Introduced RedisStore
|
667
|
+
* Initial import
|
data/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @tubbo
|
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 - 2011 Luca Guidi
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|