optimizely_server_side 1.2.0 → 1.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 778f86e63de731b713a92953d99c617800767c85
|
4
|
+
data.tar.gz: 3f47db1ce7b4242863948f5cb86e3bbeb5d12539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7a5bdafda021a10e00adfb4dd54e694dd22395ee7c67751550ca3cb2ed26c1f5694dcc9f0392271d060dac543fcd5fd98da289fdb94e602015d5ae19fefea54
|
7
|
+
data.tar.gz: 76604e0242733dc54ea07be1286ed7cfc0329677c2f9157ca67faad6fe4fac121e0228b02711273d974f47112b85f896f395878f3e4c5b3b091509a2a73d7a66
|
data/Gemfile.lock
CHANGED
@@ -39,7 +39,7 @@ module OptimizelyServerSide
|
|
39
39
|
|
40
40
|
def fallback
|
41
41
|
new(
|
42
|
-
content: '{"experiments": [],"version": "
|
42
|
+
content: '{"experiments": [],"version": "2","audiences": [],"attributes": [],"groups": [],"projectId": "5960232316","accountId": "5955320306","events": [],"revision": "30"}',
|
43
43
|
success: false
|
44
44
|
)
|
45
45
|
|
@@ -2,8 +2,8 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'optimizely_server_side'
|
5
|
-
s.version = '1.2.
|
6
|
-
s.date = '2017-11-
|
5
|
+
s.version = '1.2.1'
|
6
|
+
s.date = '2017-11-13'
|
7
7
|
s.summary = "Optimizely server side. A wrapper on top of optimizely's ruby sdk for easy caching of server side config "
|
8
8
|
s.description = "Optimizely server side. A A/B test wrapper on top of optimizely's ruby sdk for easy caching of server side config and exposing few more utility helpers. Handling of fallbacks and marking primary experiments. "
|
9
9
|
s.authors = ["Ankit Gupta"]
|
@@ -29,12 +29,12 @@ RSpec.describe OptimizelyServerSide::DatafileFetcher do
|
|
29
29
|
end
|
30
30
|
|
31
31
|
it 'should fetch the config' do
|
32
|
-
expect(described_class.fetch.content).to eq('{"experiments": [],"version": "
|
32
|
+
expect(described_class.fetch.content).to eq('{"experiments": [],"version": "2","audiences": [],"attributes": [],"groups": [],"projectId": "5960232316","accountId": "5955320306","events": [],"revision": "30"}')
|
33
33
|
end
|
34
34
|
|
35
35
|
|
36
36
|
it 'should return stringified datafile' do
|
37
|
-
expect(described_class.datafile.content).to eq('{"experiments": [],"version": "
|
37
|
+
expect(described_class.datafile.content).to eq('{"experiments": [],"version": "2","audiences": [],"attributes": [],"groups": [],"projectId": "5960232316","accountId": "5955320306","events": [],"revision": "30"}')
|
38
38
|
end
|
39
39
|
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimizely_server_side
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ankit Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.5.1
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Optimizely server side. A wrapper on top of optimizely's ruby sdk for easy
|