split-cli 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/split/cli/session.rb +1 -1
- data/lib/split/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0958070b7151290d8011d2fdfa7e17337fdac2c4
|
4
|
+
data.tar.gz: ae86bef91f69ca966fb07278d1d2a6f3489d995c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb0c94352340ea3176610a8d51fbc3c10456971e28b7b730f31865cc2323e05e56ab24354c627fd9068dcc00faffff3029c25bacee0992cf474ce955d3d8ea6
|
7
|
+
data.tar.gz: 91d64ccbb9de27e5d5c2baad1f03b26e764a73621de21b48b7075c5507d9bc793222387db007a8c952c22f4bdefee970ce518458c58ba9557d550784b2c47ab7
|
data/lib/split/cli/session.rb
CHANGED
@@ -29,7 +29,7 @@ module Split
|
|
29
29
|
|
30
30
|
def config_split!
|
31
31
|
Split.redis = options.fetch :redis_url, ENV.fetch('REDIS_URL', 'localhost:6379')
|
32
|
-
Split.redis.namespace = options.fetch :redis_namespace, ENV
|
32
|
+
Split.redis.namespace = options.fetch :redis_namespace, ENV.fetch('REDIS_NAMESPACE', 'split')
|
33
33
|
|
34
34
|
Split.configure do |config|
|
35
35
|
config.persistence = Split::Persistence::RedisAdapter.with_config(lookup_by: -> (cli) { cli.session_id })
|
data/lib/split/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: split-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Craig McNamara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|