test_track_rails_client 4.0.0 → 4.0.1

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
  SHA256:
3
- metadata.gz: 4c0f7e37c14f063fc4bd4eadc83508176280f0bb67368b844695a7b31e1bff41
4
- data.tar.gz: 119dcf930588dcc2e21dcbe497ca5bbf133f626dbb6edf05e6b162a2f84d0c49
3
+ metadata.gz: 3a4e66371e5bfdda4c10e9f0e7ee91fb458bb67e58e624bb2c9349f6d7bfd6a7
4
+ data.tar.gz: e07a71f4d00429b0ccbb7722c2f247ab23f87e622b04011d4c80c2812a1a5d6e
5
5
  SHA512:
6
- metadata.gz: 9c6250d9c4198aac51623251727abe60e36b137df1dd6261fdf6f1e26d8824e8fb734b262189274d6a880db8b776f8dab83b7983c6233dbd295e30a67db159b4
7
- data.tar.gz: 7014e8acbbe52217c4555ff65d0584d473edd1df5174a29a02f4e673398aa6a54e3c2a4eda21604cefb641f7fc88919109c415770df67adb713e38d66b8cad5c
6
+ metadata.gz: ce33a99b61265af0eb5fbc2a8b978d5e383c28e00f294cf2331759690bd6eec296d10d96b6b4e61e51f89488ffebf103eceb67cb4334b840478903bdb8d8f4b0
7
+ data.tar.gz: 97dc832aa1656acfd345223dfae3f43208e0a6eeb42ef440fe616cdfd631b4c5dd03b627452fe243fce794bae6c210dea32045bdcc67487a6216acadd1b7922f
data/Rakefile CHANGED
@@ -53,7 +53,7 @@ task :vendor_deps do
53
53
  end
54
54
 
55
55
  task(:default).clear
56
- if ENV['APPRAISAL_INITIALIZED'] || ENV['TRAVIS']
56
+ if ENV['APPRAISAL_INITIALIZED'] || ENV['CI']
57
57
  task default: %i(rubocop spec)
58
58
  else
59
59
  require 'appraisal'
@@ -1,4 +1,4 @@
1
- class TestTrack::ABConfiguration
1
+ class TestTrack::AbConfiguration
2
2
  include TestTrack::RequiredOptions
3
3
 
4
4
  def initialize(opts) # rubocop:disable Metrics/AbcSize
@@ -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::VisitorDSL.new(for_identity(identity))
16
+ TestTrack::VisitorDsl.new(for_identity(identity))
17
17
  end
18
18
 
19
19
  private
@@ -35,7 +35,7 @@ class TestTrack::OfflineSession
35
35
  end
36
36
 
37
37
  def manage
38
- yield TestTrack::VisitorDSL.new(visitor)
38
+ yield TestTrack::VisitorDsl.new(visitor)
39
39
  ensure
40
40
  notify_unsynced_assignments!
41
41
  end
@@ -1,4 +1,4 @@
1
- class TestTrack::VaryDSL
1
+ class TestTrack::VaryDsl
2
2
  include TestTrack::RequiredOptions
3
3
 
4
4
  attr_reader :defaulted, :default_variant
@@ -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::VaryDSL.new(assignment: assignment_for(split_name), context: context, split_registry: split_registry)
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::ABConfiguration.new split_name: split_name, true_variant: true_variant, split_registry: split_registry
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
@@ -1,4 +1,4 @@
1
- class TestTrack::VisitorDSL
1
+ class TestTrack::VisitorDsl
2
2
  def initialize(visitor)
3
3
  @visitor = visitor
4
4
  end
@@ -16,11 +16,11 @@ class TestTrack::WebSession
16
16
  end
17
17
 
18
18
  def visitor_dsl_for(identity)
19
- TestTrack::VisitorDSL.new(visitors.for_identity(identity))
19
+ TestTrack::VisitorDsl.new(visitors.for_identity(identity))
20
20
  end
21
21
 
22
22
  def visitor_dsl
23
- TestTrack::VisitorDSL.new(current_visitor)
23
+ TestTrack::VisitorDsl.new(current_visitor)
24
24
  end
25
25
 
26
26
  def state_hash
@@ -1,3 +1,3 @@
1
1
  module TestTrackRailsClient
2
- VERSION = "4.0.0" # rubocop:disable Style/MutableConstant
2
+ VERSION = "4.0.1" # rubocop:disable Style/MutableConstant
3
3
  end
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
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-29 00:00:00.000000000 Z
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.1.4
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: []