test_track_rails_client 8.2.1 → 8.4.0
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/app/models/test_track/fake/split_registry.rb +13 -3
- data/lib/test_track_rails_client/version.rb +1 -1
- data/lib/testtrack_cli.rb +1 -1
- metadata +13 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4d5895595350677642d26ace2a1bae5949b0b5a7cf1d07071f097bedc51f13e
|
|
4
|
+
data.tar.gz: b445d7da4c79cafcd9643e105ba5592ed235b3e6983a7a0d55a3f36974961202
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1391242eac53c1aa8f8d8c7d8e4f7e2078f20b08ef91aa598e8581b6f27a14d8eacb923e1a313608c5436771c648b3a5bf1149db2a89c9085b4e08081f66c90d
|
|
7
|
+
data.tar.gz: a3a600c71c9417ead13fefc11949a6d56129b265c3e182b2fa97aae0790f48b2bab24e9c60669371293a64dd53ffe8932fd3ec2c0aab5c3103502d8138bbf085
|
|
@@ -37,16 +37,26 @@ class TestTrack::Fake::SplitRegistry
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def _schema_registry
|
|
40
|
-
file =
|
|
41
|
-
|
|
40
|
+
file =
|
|
41
|
+
if File.exist?(schema_json_path)
|
|
42
|
+
JSON.parse(File.read(schema_json_path))
|
|
43
|
+
elsif File.exist?(schema_yml_path)
|
|
44
|
+
YAML.load_file(schema_yml_path)
|
|
45
|
+
end
|
|
46
|
+
|
|
42
47
|
file && file['splits'].each_with_object(ActiveSupport::HashWithIndifferentAccess.new) do |split, h|
|
|
43
48
|
h[split['name']] = split['weights']
|
|
44
49
|
end
|
|
45
50
|
end
|
|
46
51
|
|
|
52
|
+
def schema_json_path
|
|
53
|
+
base = ENV['TEST_TRACK_SCHEMA_ROOT'] || Rails.root
|
|
54
|
+
File.join(base, 'testtrack/schema.json')
|
|
55
|
+
end
|
|
56
|
+
|
|
47
57
|
def schema_yml_path
|
|
48
58
|
base = ENV['TEST_TRACK_SCHEMA_ROOT'] || Rails.root
|
|
49
|
-
File.join(base, 'testtrack
|
|
59
|
+
File.join(base, 'testtrack/schema.yml')
|
|
50
60
|
end
|
|
51
61
|
|
|
52
62
|
def legacy_test_track_schema_yml
|
data/lib/testtrack_cli.rb
CHANGED
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: 8.
|
|
4
|
+
version: 8.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan O'Neill
|
|
@@ -10,9 +10,10 @@ authors:
|
|
|
10
10
|
- John Mileham
|
|
11
11
|
- Alan Norton
|
|
12
12
|
- Sam Moore
|
|
13
|
+
autorequire:
|
|
13
14
|
bindir: bin
|
|
14
15
|
cert_chain: []
|
|
15
|
-
date:
|
|
16
|
+
date: 2026-01-21 00:00:00.000000000 Z
|
|
16
17
|
dependencies:
|
|
17
18
|
- !ruby/object:Gem::Dependency
|
|
18
19
|
name: activejob
|
|
@@ -20,7 +21,7 @@ dependencies:
|
|
|
20
21
|
requirements:
|
|
21
22
|
- - ">="
|
|
22
23
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '7.
|
|
24
|
+
version: '7.2'
|
|
24
25
|
- - "<"
|
|
25
26
|
- !ruby/object:Gem::Version
|
|
26
27
|
version: '8.1'
|
|
@@ -30,7 +31,7 @@ dependencies:
|
|
|
30
31
|
requirements:
|
|
31
32
|
- - ">="
|
|
32
33
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '7.
|
|
34
|
+
version: '7.2'
|
|
34
35
|
- - "<"
|
|
35
36
|
- !ruby/object:Gem::Version
|
|
36
37
|
version: '8.1'
|
|
@@ -40,7 +41,7 @@ dependencies:
|
|
|
40
41
|
requirements:
|
|
41
42
|
- - ">="
|
|
42
43
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: '7.
|
|
44
|
+
version: '7.2'
|
|
44
45
|
- - "<"
|
|
45
46
|
- !ruby/object:Gem::Version
|
|
46
47
|
version: '8.1'
|
|
@@ -50,7 +51,7 @@ dependencies:
|
|
|
50
51
|
requirements:
|
|
51
52
|
- - ">="
|
|
52
53
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '7.
|
|
54
|
+
version: '7.2'
|
|
54
55
|
- - "<"
|
|
55
56
|
- !ruby/object:Gem::Version
|
|
56
57
|
version: '8.1'
|
|
@@ -130,7 +131,7 @@ dependencies:
|
|
|
130
131
|
requirements:
|
|
131
132
|
- - ">="
|
|
132
133
|
- !ruby/object:Gem::Version
|
|
133
|
-
version: '7.
|
|
134
|
+
version: '7.2'
|
|
134
135
|
- - "<"
|
|
135
136
|
- !ruby/object:Gem::Version
|
|
136
137
|
version: '8.1'
|
|
@@ -140,7 +141,7 @@ dependencies:
|
|
|
140
141
|
requirements:
|
|
141
142
|
- - ">="
|
|
142
143
|
- !ruby/object:Gem::Version
|
|
143
|
-
version: '7.
|
|
144
|
+
version: '7.2'
|
|
144
145
|
- - "<"
|
|
145
146
|
- !ruby/object:Gem::Version
|
|
146
147
|
version: '8.1'
|
|
@@ -441,6 +442,7 @@ homepage: https://github.com/Betterment
|
|
|
441
442
|
licenses:
|
|
442
443
|
- MIT
|
|
443
444
|
metadata: {}
|
|
445
|
+
post_install_message:
|
|
444
446
|
rdoc_options: []
|
|
445
447
|
require_paths:
|
|
446
448
|
- lib
|
|
@@ -448,14 +450,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
448
450
|
requirements:
|
|
449
451
|
- - ">="
|
|
450
452
|
- !ruby/object:Gem::Version
|
|
451
|
-
version: '3.
|
|
453
|
+
version: '3.2'
|
|
452
454
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
453
455
|
requirements:
|
|
454
456
|
- - ">="
|
|
455
457
|
- !ruby/object:Gem::Version
|
|
456
458
|
version: '0'
|
|
457
459
|
requirements: []
|
|
458
|
-
rubygems_version: 3.
|
|
460
|
+
rubygems_version: 3.4.10
|
|
461
|
+
signing_key:
|
|
459
462
|
specification_version: 4
|
|
460
463
|
summary: Rails client for TestTrack
|
|
461
464
|
test_files: []
|