test_track_rails_client 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/models/test_track/ab_configuration.rb +1 -1
- data/app/models/test_track/job_session.rb +1 -1
- data/app/models/test_track/offline_session.rb +1 -1
- data/app/models/test_track/vary_dsl.rb +1 -1
- data/app/models/test_track/visitor.rb +2 -2
- data/app/models/test_track/visitor_dsl.rb +1 -1
- data/app/models/test_track/web_session.rb +2 -2
- data/lib/test_track_rails_client/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4e66371e5bfdda4c10e9f0e7ee91fb458bb67e58e624bb2c9349f6d7bfd6a7
|
4
|
+
data.tar.gz: e07a71f4d00429b0ccbb7722c2f247ab23f87e622b04011d4c80c2812a1a5d6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce33a99b61265af0eb5fbc2a8b978d5e383c28e00f294cf2331759690bd6eec296d10d96b6b4e61e51f89488ffebf103eceb67cb4334b840478903bdb8d8f4b0
|
7
|
+
data.tar.gz: 97dc832aa1656acfd345223dfae3f43208e0a6eeb42ef440fe616cdfd631b4c5dd03b627452fe243fce794bae6c210dea32045bdcc67487a6216acadd1b7922f
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ class TestTrack::JobSession
|
|
13
13
|
def visitor_dsl_for(identity)
|
14
14
|
raise "must be called within `manage` block" if RequestStore[:test_track_job_session].nil?
|
15
15
|
|
16
|
-
TestTrack::
|
16
|
+
TestTrack::VisitorDsl.new(for_identity(identity))
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
@@ -24,7 +24,7 @@ class TestTrack::Visitor
|
|
24
24
|
|
25
25
|
raise ArgumentError, "must provide block to `vary` for #{split_name}" unless block_given?
|
26
26
|
|
27
|
-
v = TestTrack::
|
27
|
+
v = TestTrack::VaryDsl.new(assignment: assignment_for(split_name), context: context, split_registry: split_registry)
|
28
28
|
yield v
|
29
29
|
v.send :run
|
30
30
|
end
|
@@ -36,7 +36,7 @@ class TestTrack::Visitor
|
|
36
36
|
context = require_option!(opts, :context)
|
37
37
|
raise "unknown opts: #{opts.keys.to_sentence}" if opts.present?
|
38
38
|
|
39
|
-
ab_configuration = TestTrack::
|
39
|
+
ab_configuration = TestTrack::AbConfiguration.new split_name: split_name, true_variant: true_variant, split_registry: split_registry
|
40
40
|
|
41
41
|
vary(split_name, context: context) do |v|
|
42
42
|
v.when ab_configuration.variants[:true] do # rubocop:disable Lint/BooleanSymbol
|
@@ -16,11 +16,11 @@ class TestTrack::WebSession
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def visitor_dsl_for(identity)
|
19
|
-
TestTrack::
|
19
|
+
TestTrack::VisitorDsl.new(visitors.for_identity(identity))
|
20
20
|
end
|
21
21
|
|
22
22
|
def visitor_dsl
|
23
|
-
TestTrack::
|
23
|
+
TestTrack::VisitorDsl.new(current_visitor)
|
24
24
|
end
|
25
25
|
|
26
26
|
def state_hash
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_track_rails_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan O'Neill
|
@@ -10,10 +10,10 @@ authors:
|
|
10
10
|
- John Mileham
|
11
11
|
- Alan Norton
|
12
12
|
- Sam Moore
|
13
|
-
autorequire:
|
13
|
+
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2021-01
|
16
|
+
date: 2021-02-01 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: delayed_job
|
@@ -448,7 +448,7 @@ homepage: https://github.com/Betterment
|
|
448
448
|
licenses:
|
449
449
|
- MIT
|
450
450
|
metadata: {}
|
451
|
-
post_install_message:
|
451
|
+
post_install_message:
|
452
452
|
rdoc_options: []
|
453
453
|
require_paths:
|
454
454
|
- lib
|
@@ -463,8 +463,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
463
463
|
- !ruby/object:Gem::Version
|
464
464
|
version: '0'
|
465
465
|
requirements: []
|
466
|
-
rubygems_version: 3.
|
467
|
-
signing_key:
|
466
|
+
rubygems_version: 3.2.5
|
467
|
+
signing_key:
|
468
468
|
specification_version: 4
|
469
469
|
summary: Rails client for TestTrack
|
470
470
|
test_files: []
|