optimizely_server_side 0.0.14 → 0.0.15

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: 6c1dc5c657f7b38c66727a22cfd4be6a821f1a07
4
- data.tar.gz: 4278097eedfbc0f0af5764fbd04c57596c82e59a
3
+ metadata.gz: f506295e66ef04bebba7204e6dd2c4b82620f989
4
+ data.tar.gz: b7b5095fd720aff8aeb7d6aa2d91816fdace6b2e
5
5
  SHA512:
6
- metadata.gz: afce5a49010d64e70c03d4fcbb71b27bfb1544220e301f0b9bf018b7ee840a234641445ac8ea685f8d6b05270883c0a3213314309583709f808fad23b5a68a62
7
- data.tar.gz: a496c71cb65c78df42a45697f24e43465fffa924f0be8ce09e63d84203082f458663f494f80d393d301b53ff37a03bf1052785175b24936825fb6d321015af57
6
+ metadata.gz: 5fa254e7a84ec77046bfbc924757dd162e578c699b8dc861ec51784392ccbb1f4690ac2eb2092f2dc636b1e1155ddbd43a51ef76371090471c8d7782eb1bee41
7
+ data.tar.gz: 4c02481cc0760ecffa75a9ca5840c069aa003ab594ece6e2c2a0128aed675ef7f8aeece73b7f7edcff0362e13c608d2dd3f1fd920e3c59a90559fc8ddce1caa5
data/Changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ # 0.0.15
2
+
3
+ JSON schema validation was making things slow. We are turning it off permanently
4
+ as the JSON is being downloaded from CDN
5
+
6
+ The skip_json_validation property should only be used if the datafile is being pulled from the REST API or CDN.
7
+
1
8
  # 0.0.14
2
9
 
3
10
  Added a Omniture tag for tracking in erb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- optimizely_server_side (0.0.14)
4
+ optimizely_server_side (0.0.15)
5
5
  activesupport (~> 4.2, >= 4.2.6)
6
6
  optimizely-sdk (~> 0.1.1)
7
7
 
@@ -11,7 +11,11 @@ module OptimizelyServerSide
11
11
  # Datafile
12
12
  def project_instance(options = {})
13
13
  Optimizely::Project.new(cached_datafile,
14
- options[:event_dispatcher])
14
+ options[:event_dispatcher],
15
+ nil,
16
+ nil,
17
+ true #skip_json_validation
18
+ )
15
19
  end
16
20
 
17
21
  def cached_datafile
@@ -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 = '0.0.14'
6
- s.date = '2016-09-13'
5
+ s.version = '0.0.15'
6
+ s.date = '2016-09-14'
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"]
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: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ankit Gupta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec