sequel-cacheable 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +53 -0
- data/.pryrc +17 -0
- data/.rbenv-version +1 -0
- data/.travis.yml +4 -1
- data/Gemfile +21 -23
- data/Procfile +2 -0
- data/README.rdoc +4 -3
- data/Rakefile +1 -36
- data/lib/sequel-cacheable/class_methods.rb +74 -0
- data/lib/sequel-cacheable/dataset_methods.rb +53 -0
- data/lib/sequel-cacheable/driver/dalli.rb +19 -0
- data/lib/sequel-cacheable/driver/memcache.rb +15 -0
- data/lib/sequel-cacheable/driver/redis.rb +6 -0
- data/lib/sequel-cacheable/driver.rb +56 -0
- data/lib/sequel-cacheable/instance_methods.rb +66 -0
- data/lib/sequel-cacheable/packer.rb +34 -0
- data/lib/sequel-cacheable/version.rb +7 -0
- data/lib/sequel-cacheable.rb +18 -211
- data/sequel-cacheable.gemspec +18 -94
- data/spec/lib/sequel-cacheable/driver/dalli_driver_spec.rb +8 -0
- data/spec/lib/sequel-cacheable/driver/memcache_driver_spec.rb +7 -0
- data/spec/lib/sequel-cacheable/driver/redis_driver_spec.rb +8 -0
- data/spec/lib/sequel-cacheable/driver_spec.rb +35 -0
- data/spec/lib/sequel-cacheable_spec.rb +1 -243
- data/spec/models/dalli_spec.rb +5 -0
- data/spec/models/memcache_spec.rb +5 -0
- data/spec/models/redis_spec.rb +5 -0
- data/spec/shared/cacheable.rb +161 -0
- data/spec/shared/driver.rb +102 -0
- data/spec/spec_helper.rb +25 -28
- data/spec/support/models/dalli.rb +5 -0
- data/spec/support/models/memcache.rb +5 -0
- data/spec/support/models/redis.rb +5 -0
- metadata +57 -241
- data/Gemfile.lock +0 -66
- data/VERSION +0 -1
data/Gemfile.lock
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
colorize (0.5.8)
|
5
|
-
diff-lcs (1.1.3)
|
6
|
-
ffi (1.0.11)
|
7
|
-
git (1.2.5)
|
8
|
-
growl (1.0.3)
|
9
|
-
guard (1.0.2)
|
10
|
-
ffi (>= 0.5.0)
|
11
|
-
thor (~> 0.14.6)
|
12
|
-
guard-rspec (0.7.0)
|
13
|
-
guard (>= 0.10.0)
|
14
|
-
hashr (0.0.21)
|
15
|
-
jeweler (1.8.3)
|
16
|
-
bundler (~> 1.0)
|
17
|
-
git (>= 1.2.5)
|
18
|
-
rake
|
19
|
-
rdoc
|
20
|
-
json (1.7.0)
|
21
|
-
memcache (1.2.13)
|
22
|
-
msgpack (0.4.6)
|
23
|
-
multi_json (1.3.4)
|
24
|
-
queencheck (1.0.0)
|
25
|
-
colorize (>= 0.5.8)
|
26
|
-
rake (0.9.2.2)
|
27
|
-
rdoc (3.12)
|
28
|
-
json (~> 1.4)
|
29
|
-
redis (2.2.2)
|
30
|
-
rspec (2.9.0)
|
31
|
-
rspec-core (~> 2.9.0)
|
32
|
-
rspec-expectations (~> 2.9.0)
|
33
|
-
rspec-mocks (~> 2.9.0)
|
34
|
-
rspec-core (2.9.0)
|
35
|
-
rspec-expectations (2.9.1)
|
36
|
-
diff-lcs (~> 1.1.3)
|
37
|
-
rspec-mocks (2.9.0)
|
38
|
-
sequel (3.35.0)
|
39
|
-
simplecov (0.6.2)
|
40
|
-
multi_json (~> 1.3)
|
41
|
-
simplecov-html (~> 0.5.3)
|
42
|
-
simplecov-html (0.5.3)
|
43
|
-
sqlite3 (1.3.6)
|
44
|
-
thor (0.14.6)
|
45
|
-
yard (0.8.0)
|
46
|
-
|
47
|
-
PLATFORMS
|
48
|
-
ruby
|
49
|
-
|
50
|
-
DEPENDENCIES
|
51
|
-
bundler (>= 1.0.0)
|
52
|
-
growl
|
53
|
-
guard (~> 1.0.0)
|
54
|
-
guard-rspec (~> 0.7)
|
55
|
-
hashr (~> 0.0.19)
|
56
|
-
jeweler (~> 1.8.3)
|
57
|
-
memcache
|
58
|
-
msgpack (~> 0.4.6)
|
59
|
-
queencheck
|
60
|
-
rdoc (~> 3.12)
|
61
|
-
redis
|
62
|
-
rspec (~> 2)
|
63
|
-
sequel (~> 3.34)
|
64
|
-
simplecov (~> 0.6.1)
|
65
|
-
sqlite3
|
66
|
-
yard (~> 0.7)
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.7
|