cellect-client 2.0.0.beta1 → 2.0.0.beta2

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: c1943ffc5eb994302c23d0a0029699596566f1f6
4
- data.tar.gz: 7fefec91b8e36608d19a8f2c8d1f042643affb17
3
+ metadata.gz: 512a02b5d5f79a738cadad691a0aab2bdcb7ea81
4
+ data.tar.gz: 1510d69b3997241dcb8b1d3d57948b511fd9630e
5
5
  SHA512:
6
- metadata.gz: 2a1f6cccf3a2100522114974045b2c2a1de9815ed00c70684fbd639a2cba3103d2755c860e5d9b4d03493c23943965c40d5b094d182c74fa17a3bd0aec21359b
7
- data.tar.gz: a00b8b4bc3b8c63fac8cbf12ce42e62da0b02232ee0dc990d9bcde68334d7835da1aed816aa92bacd080b63f6f77593d35797f3606910b215ee2afaac20bf26d
6
+ metadata.gz: d60a9ef17e5dbbf496f2925747ca4c78d5cc1a8a7111b64bf8dd71b29ab19d5d329ff6674c395ffb1812e2e1484e9dbb1451fa033ed1dd951124b76cbe4c0031
7
+ data.tar.gz: 8852904d82d0dc20322b94aace6e949c7cdfe994a864878d989447312ae4ff02010e6b5935010a5ffa043ad353ba2f830885a3cc4a40d222ca0f2c92a4d0f942
@@ -0,0 +1,5 @@
1
+ require 'attention'
2
+
3
+ Attention.options[:namespace] = ENV.fetch('ATTENTION_NAMESPACE', 'cellect')
4
+ Attention.options[:redis_url] ||= ENV['REDIS_URL'] if ENV['REDIS_URL']
5
+ Attention.options[:ttl] = ENV.fetch('ATTENTION_TTL', 20).to_i
@@ -1,4 +1,5 @@
1
1
  require 'cellect'
2
+ require 'cellect/attention'
2
3
 
3
4
  module Cellect
4
5
  module Client
@@ -1,3 +1,3 @@
1
1
  module Cellect
2
- VERSION = '2.0.0.beta1'
2
+ VERSION = '2.0.0.beta2'
3
3
  end
data/lib/cellect.rb CHANGED
@@ -1,10 +1,6 @@
1
1
  require 'celluloid'
2
2
  require 'cellect/version'
3
- require 'attention'
3
+ require 'cellect/attention'
4
4
 
5
5
  module Cellect
6
6
  end
7
-
8
- Attention.options[:namespace] = 'cellect'
9
- Attention.options[:redis_url] = ENV['REDIS_URL'] if ENV['REDIS_URL']
10
- Attention.options[:ttl] = 20
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cellect-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta1
4
+ version: 2.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Parrish
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -201,6 +201,7 @@ files:
201
201
  - cellect.gemspec
202
202
  - data/.gitkeep
203
203
  - lib/cellect.rb
204
+ - lib/cellect/attention.rb
204
205
  - lib/cellect/client.rb
205
206
  - lib/cellect/client/connection.rb
206
207
  - lib/cellect/client/node_set.rb