hikki 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/adapters/hikki-memcache/README.md +2 -0
- data/adapters/hikki-memcache/hikki-memcache.gemspec +1 -1
- data/adapters/hikki-memcache/lib/hikki/adapters/memcache_adapter.rb +0 -1
- data/adapters/hikki-memcache/lib/memcache_adapter.rb +7 -0
- data/adapters/hikki-memcache/spec/spec_helper.rb +1 -1
- data/adapters/hikki-mongo/README.md +2 -0
- data/adapters/hikki-mongo/hikki-mongo.gemspec +1 -1
- data/adapters/hikki-mongo/lib/mongo_adapter.rb +7 -0
- data/adapters/hikki-mongo/spec/spec_helper.rb +1 -1
- data/adapters/hikki-redis/README.md +2 -0
- data/adapters/hikki-redis/hikki-redis.gemspec +1 -1
- data/adapters/hikki-redis/lib/redis_adapter.rb +7 -0
- data/adapters/hikki-redis/spec/spec_helper.rb +1 -1
- data/lib/hikki/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2946645f8620fbc6f5780dd8be60be4e4624cb1
|
4
|
+
data.tar.gz: e30ff8be81ff55d2edbe949dd7c4fb1ede094630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f839f488246485328d00ec650d30bb720c8c860d146df178c2223434fef9027be042ba96c2abc1e7a95e4c43e74cb5cd24e864751a97b18253d0539bf6e019
|
7
|
+
data.tar.gz: 7189fff3b10d0819a6af42337ceb7c59787eb291037d8fdd38d5c5dd4a0e63d1726260579ba4fc3a61ed3ad53531962e413599dadea90ed12837b51ebca194e0
|
@@ -29,6 +29,8 @@ it's connection.
|
|
29
29
|
You can pass in your own connection to use instead, useful for specifying a server, namespace and other options.
|
30
30
|
|
31
31
|
```ruby
|
32
|
+
require 'memcache_adapter'
|
33
|
+
|
32
34
|
# Use the default connection
|
33
35
|
adapter = Hikki::Adapters::MemcacheAdapter.new
|
34
36
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
|
21
|
+
spec.add_dependency 'hikki', Hikki::VERSION
|
22
22
|
spec.add_dependency 'dalli'
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.5"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
-
require '
|
2
|
+
require 'memcache_adapter'
|
3
3
|
RSpec.configure do |config|
|
4
4
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
5
5
|
config.run_all_when_everything_filtered = true
|
@@ -23,6 +23,8 @@ By default, the adapter will use `Mongo::MongoClient.new` as it's connection whi
|
|
23
23
|
You can pass in your own connection to use instead, useful for specifying a server and other options.
|
24
24
|
|
25
25
|
```ruby
|
26
|
+
require 'mongo_adapter'
|
27
|
+
|
26
28
|
# Use the default connection
|
27
29
|
adapter = Hikki::Adapters::MongoAdapter.new
|
28
30
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
|
21
|
+
spec.add_dependency 'hikki', Hikki::VERSION
|
22
22
|
spec.add_dependency 'mongo'
|
23
23
|
spec.add_dependency 'bson_ext'
|
24
24
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
|
21
|
+
spec.add_dependency 'hikki', Hikki::VERSION
|
22
22
|
spec.add_dependency 'redis'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
data/lib/hikki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hikki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alexpeachey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,6 +75,7 @@ files:
|
|
75
75
|
- adapters/hikki-memcache/hikki-memcache.gemspec
|
76
76
|
- adapters/hikki-memcache/lib/hikki/adapters/memcache_adapter.rb
|
77
77
|
- adapters/hikki-memcache/lib/hikki/adapters/memcache_collection.rb
|
78
|
+
- adapters/hikki-memcache/lib/memcache_adapter.rb
|
78
79
|
- adapters/hikki-memcache/spec/hikki/adapters/memcache_adapter_integration_spec.rb
|
79
80
|
- adapters/hikki-memcache/spec/hikki/adapters/memcache_adapter_spec.rb
|
80
81
|
- adapters/hikki-memcache/spec/spec_helper.rb
|
@@ -87,6 +88,7 @@ files:
|
|
87
88
|
- adapters/hikki-mongo/hikki-mongo.gemspec
|
88
89
|
- adapters/hikki-mongo/lib/hikki/adapters/mongo_adapter.rb
|
89
90
|
- adapters/hikki-mongo/lib/hikki/adapters/mongo_collection.rb
|
91
|
+
- adapters/hikki-mongo/lib/mongo_adapter.rb
|
90
92
|
- adapters/hikki-mongo/spec/hikki/adapters/mongo_adapter_integration_spec.rb
|
91
93
|
- adapters/hikki-mongo/spec/hikki/adapters/mongo_adapter_spec.rb
|
92
94
|
- adapters/hikki-mongo/spec/spec_helper.rb
|
@@ -99,6 +101,7 @@ files:
|
|
99
101
|
- adapters/hikki-redis/hikki-redis.gemspec
|
100
102
|
- adapters/hikki-redis/lib/hikki/adapters/redis_adapter.rb
|
101
103
|
- adapters/hikki-redis/lib/hikki/adapters/redis_collection.rb
|
104
|
+
- adapters/hikki-redis/lib/redis_adapter.rb
|
102
105
|
- adapters/hikki-redis/spec/hikki/adapters/redis_adapter_integration_spec.rb
|
103
106
|
- adapters/hikki-redis/spec/hikki/adapters/redis_adapter_spec.rb
|
104
107
|
- adapters/hikki-redis/spec/spec_helper.rb
|