test_track_rails_client 4.0.0.alpha16 → 4.0.0.alpha17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49815444ee65041c24e60a13a0020f73b8de1347
4
- data.tar.gz: 1eb1bb655b9388afb11180d1dbfe4dbd398b6c09
3
+ metadata.gz: 46907fdf0df60fb05138a94757074c54fdcc7324
4
+ data.tar.gz: 7241eecbaf9dce098707a84f7b9229386c687a2c
5
5
  SHA512:
6
- metadata.gz: 0893ea3bd2f299d232cedf0ad3af18f83a048c67fe1354f9fda5aafaf060f40d6e4a3c62fa7e8b5b409bd91f83ca601ab91d3767a341422ba97df75b795ba1ab
7
- data.tar.gz: 287113c58d8fc39862500542bc2f5dd91c8f60823aed18e059de03cb4f4717664478d23cd390322446356c04f29e0d2a5994aff71ca9f4492dfd4d1a4fc9f0e3
6
+ metadata.gz: 1c1dd00f5f3971019d721a3d88338edd42042a789f26d1348c68d51fc3397d0a43d36691386b51803155a96be78b76910ed94fbc14b4d4589dd0a708e55487d8
7
+ data.tar.gz: 17d7376c576bcfea746eecb912ac723b87fa3dd59eca69b0d9478baad4455e868fc2b22b290a943b85be433328c4b22d6657c829bbb8948d1d88f34085aaa1fd
@@ -7,8 +7,8 @@ class TestTrack::ConfigUpdater
7
7
  create_split(name, weighting_registry)
8
8
 
9
9
  name = name.to_s
10
+ splits.except!(*unpersisted_split_names)
10
11
  splits[name] = weighting_registry.stringify_keys
11
- splits.except!(*(splits.keys - remote_splits.keys - [name]))
12
12
 
13
13
  persist_schema!
14
14
  end
@@ -74,6 +74,10 @@ class TestTrack::ConfigUpdater
74
74
  @identifier_types ||= Set.new(schema_file_hash["identifier_types"] || [])
75
75
  end
76
76
 
77
+ def unpersisted_split_names
78
+ @unpersisted_splits ||= splits.keys - remote_splits.keys
79
+ end
80
+
77
81
  def splits
78
82
  @splits ||= schema_file_hash["splits"] || {}
79
83
  end
@@ -1,3 +1,3 @@
1
1
  module TestTrackRailsClient
2
- VERSION = "4.0.0.alpha16" # rubocop:disable Style/MutableConstant
2
+ VERSION = "4.0.0.alpha17" # rubocop:disable Style/MutableConstant
3
3
  end
@@ -0,0 +1,82 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ her (0.8.6)
5
+ activemodel (>= 3.0.0, <= 6.0.0)
6
+ activesupport (>= 3.0.0, <= 6.0.0)
7
+ faraday (>= 0.8, < 1.0)
8
+ multi_json (~> 1.7)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (5.1.2)
14
+ activesupport (= 5.1.2)
15
+ activesupport (5.1.2)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (~> 0.7)
18
+ minitest (~> 5.1)
19
+ tzinfo (~> 1.1)
20
+ appraisal (2.2.0)
21
+ bundler
22
+ rake
23
+ thor (>= 0.14.0)
24
+ coderay (1.1.2)
25
+ concurrent-ruby (1.0.5)
26
+ concurrent-ruby (1.0.5-java)
27
+ diff-lcs (1.3)
28
+ faraday (0.14.0)
29
+ multipart-post (>= 1.2, < 3)
30
+ ffi (1.9.23-java)
31
+ i18n (0.8.6)
32
+ json (1.8.6)
33
+ json (1.8.6-java)
34
+ method_source (0.9.0)
35
+ minitest (5.10.3)
36
+ multi_json (1.13.1)
37
+ multipart-post (2.0.0)
38
+ pry (0.11.3)
39
+ coderay (~> 1.1.0)
40
+ method_source (~> 0.9.0)
41
+ pry (0.11.3-java)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.9.0)
44
+ spoon (~> 0.0)
45
+ rake (10.5.0)
46
+ rspec (3.6.0)
47
+ rspec-core (~> 3.6.0)
48
+ rspec-expectations (~> 3.6.0)
49
+ rspec-mocks (~> 3.6.0)
50
+ rspec-core (3.6.0)
51
+ rspec-support (~> 3.6.0)
52
+ rspec-expectations (3.6.0)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.6.0)
55
+ rspec-mocks (3.6.0)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.6.0)
58
+ rspec-support (3.6.0)
59
+ spoon (0.0.6)
60
+ ffi
61
+ thor (0.20.0)
62
+ thread_safe (0.3.6)
63
+ thread_safe (0.3.6-java)
64
+ tzinfo (1.2.3)
65
+ thread_safe (~> 0.1)
66
+
67
+ PLATFORMS
68
+ java
69
+ ruby
70
+
71
+ DEPENDENCIES
72
+ activemodel (>= 3.2.0)
73
+ activesupport (>= 3.2.0)
74
+ appraisal (~> 2.2.0)
75
+ her!
76
+ json (~> 1.8)
77
+ pry
78
+ rake (~> 10.0)
79
+ rspec (~> 3.5)
80
+
81
+ BUNDLED WITH
82
+ 1.16.1
@@ -0,0 +1,81 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ her (1.0.3)
5
+ activemodel (>= 4.2.1)
6
+ faraday (>= 0.8, < 1.0)
7
+ multi_json (~> 1.7)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activemodel (5.2.1)
13
+ activesupport (= 5.2.1)
14
+ activesupport (5.2.1)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 0.7, < 2)
17
+ minitest (~> 5.1)
18
+ tzinfo (~> 1.1)
19
+ ast (2.4.0)
20
+ coderay (1.1.2)
21
+ concurrent-ruby (1.0.5)
22
+ diff-lcs (1.3)
23
+ faraday (0.15.3)
24
+ multipart-post (>= 1.2, < 3)
25
+ i18n (1.1.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (1.8.6)
28
+ method_source (0.9.0)
29
+ minitest (5.11.3)
30
+ multi_json (1.13.1)
31
+ multipart-post (2.0.0)
32
+ parallel (1.12.1)
33
+ parser (2.5.3.0)
34
+ ast (~> 2.4.0)
35
+ powerpack (0.1.2)
36
+ pry (0.11.3)
37
+ coderay (~> 1.1.0)
38
+ method_source (~> 0.9.0)
39
+ rainbow (3.0.0)
40
+ rake (10.5.0)
41
+ rspec (3.8.0)
42
+ rspec-core (~> 3.8.0)
43
+ rspec-expectations (~> 3.8.0)
44
+ rspec-mocks (~> 3.8.0)
45
+ rspec-core (3.8.0)
46
+ rspec-support (~> 3.8.0)
47
+ rspec-expectations (3.8.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-mocks (3.8.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-support (3.8.0)
54
+ rubocop (0.54.0)
55
+ parallel (~> 1.10)
56
+ parser (>= 2.5)
57
+ powerpack (~> 0.1)
58
+ rainbow (>= 2.2.2, < 4.0)
59
+ ruby-progressbar (~> 1.7)
60
+ unicode-display_width (~> 1.0, >= 1.0.1)
61
+ ruby-progressbar (1.10.0)
62
+ thread_safe (0.3.6)
63
+ tzinfo (1.2.5)
64
+ thread_safe (~> 0.1)
65
+ unicode-display_width (1.4.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ activemodel (>= 3.2.0)
72
+ activesupport (>= 3.2.0)
73
+ her!
74
+ json (~> 1.8)
75
+ pry
76
+ rake (~> 10.0)
77
+ rspec (~> 3.5)
78
+ rubocop (= 0.54.0)
79
+
80
+ BUNDLED WITH
81
+ 1.17.1
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.0.alpha16
4
+ version: 4.0.0.alpha17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan O'Neill
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2019-02-06 00:00:00.000000000 Z
16
+ date: 2019-03-14 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: airbrake
@@ -310,10 +310,12 @@ files:
310
310
  - lib/test_track_rails_client/engine.rb
311
311
  - lib/test_track_rails_client/rspec_helpers.rb
312
312
  - lib/test_track_rails_client/version.rb
313
+ - vendor/Gemfile.lock
313
314
  - vendor/gems/fakeable_her/fakeable_her.gemspec
314
315
  - vendor/gems/fakeable_her/lib/fakeable_her.rb
315
316
  - vendor/gems/fakeable_her/lib/fakeable_her/model.rb
316
317
  - vendor/gems/fakeable_her/lib/fakeable_her/version.rb
318
+ - vendor/gems/her/Gemfile.lock
317
319
  - vendor/gems/her/LICENSE
318
320
  - vendor/gems/her/her.gemspec
319
321
  - vendor/gems/her/lib/her.rb