easy_ab 0.6.2 → 0.7.0

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: f87ddfb6f4894ca1611d3efeb0b38f636fba532b
4
- data.tar.gz: 2288f1d27981f4cbfd4460b835e65ef8ad8dac83
3
+ metadata.gz: 6b647242b3bf82b0a76790aee2568d556d876646
4
+ data.tar.gz: c9c87ca14932d3cc22b6f5aef8d8e9ab575037a6
5
5
  SHA512:
6
- metadata.gz: d9e1e94284427577422d86493157dbd97e63377903add57b5e8c17b76f3da46e684db408ce86c25ffa7910b735589b6423d2182161cf7b698cbc56a91b301f3d
7
- data.tar.gz: cbea37f3b2c844b0d50b02aa24b722af9659530d8402f5fad249413fdf86d78457832fbc31b0575fea648d10dd377ca180dbe976431a899f6c254ceb117c3257
6
+ metadata.gz: 65ea658a1986b6d0023aaafad58e2ad941416b1d8d7aa571f031d77906cfdbb77db5ca251a55c0ec4402976107f6f4e95a5b9c6ca67fa5c743a03caa502145ef
7
+ data.tar.gz: cdfaf8d1f07ffe87ceb7bb9c60d97d3b175432c25ee0589b88a6fb71b7ec2a10680b90b9249648253966b369e828683b514626fdf54ed4b3b830b156564e1180
data/README.md CHANGED
@@ -194,7 +194,7 @@ You can easily assign variant to a user in your RSpec tests:
194
194
  require 'easy_ab/rspec'
195
195
 
196
196
  # In your test, you can assign variant by this way:
197
- assign_variant(user, :button_color, 'red')
197
+ assign_variant!(user, :button_color, 'red')
198
198
  ```
199
199
 
200
200
  # Others
@@ -152,7 +152,7 @@ module EasyAb
152
152
  else
153
153
  SecureRandom.uuid
154
154
  end
155
- cookies[cookie_key] = { value: value, expires: 30.days.from_now }
155
+ cookies[cookie_key] = { value: value, expires: 30.days.from_now, domain: :all }
156
156
 
157
157
  value
158
158
  end
@@ -1,3 +1,3 @@
1
1
  module EasyAb
2
- VERSION = '0.6.2'
2
+ VERSION = '0.7.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_ab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Chu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-01 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core