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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08957b3a154474bf8776ae760a82d17b320fbd9c
4
- data.tar.gz: 2d91c550f7242fb6ba5e8a9279dd5da0067940f0
3
+ metadata.gz: b2946645f8620fbc6f5780dd8be60be4e4624cb1
4
+ data.tar.gz: e30ff8be81ff55d2edbe949dd7c4fb1ede094630
5
5
  SHA512:
6
- metadata.gz: 1b6aa2e88a9ebc8a0e473840f923cab9d0ebb68139f9b046b829baf04fd559019f5b80eb40d7e9993f8ca49c77ce56626280efba0b2c1723e1b0a304c55e905d
7
- data.tar.gz: bb482c366cabd64be93648c020ac5ea5363c6b9f15121d5b987a28514a4173dcc1103ab3605519abe22f4de5e73c589fae18d4f0cc3cbfd5b96293e11897111b
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
- #spec.add_dependency 'hikki', Hikki::VERSION
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,6 +1,5 @@
1
1
  require 'dalli'
2
2
  require 'hikki'
3
- require_relative './memcache_collection'
4
3
 
5
4
  module Hikki
6
5
  module Adapters
@@ -0,0 +1,7 @@
1
+ require 'hikki/adapters/memcache_adapter'
2
+ require 'hikki/adapters/memcache_collection'
3
+
4
+ module Hikki
5
+ module Adapters
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
- require 'hikki/adapters/memcache_adapter'
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
- #spec.add_dependency 'hikki', Hikki::VERSION
21
+ spec.add_dependency 'hikki', Hikki::VERSION
22
22
  spec.add_dependency 'mongo'
23
23
  spec.add_dependency 'bson_ext'
24
24
 
@@ -0,0 +1,7 @@
1
+ require 'hikki/adapters/mongo_adapter'
2
+ require 'hikki/adapters/mongo_collection'
3
+
4
+ module Hikki
5
+ module Adapters
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
- require 'hikki/adapters/mongo_adapter'
2
+ require 'mongo_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
@@ -24,6 +24,8 @@ You can pass in your own connection to use instead, useful for specifying a serv
24
24
 
25
25
  ```ruby
26
26
  # Use the default connection
27
+ require 'redis_adapter'
28
+
27
29
  adapter = Hikki::Adapters::RedisAdapter.new
28
30
 
29
31
  # Use a specific connection
@@ -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
- #spec.add_dependency 'hikki', Hikki::VERSION
21
+ spec.add_dependency 'hikki', Hikki::VERSION
22
22
  spec.add_dependency 'redis'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.5'
@@ -0,0 +1,7 @@
1
+ require 'hikki/adapters/redis_adapter'
2
+ require 'hikki/adapters/redis_collection'
3
+
4
+ module Hikki
5
+ module Adapters
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
- require 'hikki/adapters/redis_adapter'
2
+ require 'redis_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
data/lib/hikki/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hikki
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-24 00:00:00.000000000 Z
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