bitfab 0.16.0 → 0.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3320e43b6f1be704f5ab955161b347d954691c6cdc75f5e57ab01452e8f8dd7f
4
- data.tar.gz: 2b8872ef106d63560d6718ab4d2076f6271417fbc56e44581c2e4f5058ff4a00
3
+ metadata.gz: 0dfedcfce509695e2bb260c885fcfa460aaab8d9c89421379cd7572cd280eb95
4
+ data.tar.gz: e8aaba21b08b4a53c9f89319e7c7a9d9f0a911f0be657058d80fc84add6e4f6e
5
5
  SHA512:
6
- metadata.gz: f9599b68cfbac6812070bfd05516b1372e607e5cc2214a5e7319ca39b5e22c80390db4b3446e6c136bea2c2a0780e8ffeab5fbb99226e2bf7636ace35a9a72f5
7
- data.tar.gz: 98c9855c1d5f3cb4403926820b223733c555696211ab27d0980c06f9f38e01aa02b0e4c2065525c33eed6bd8e60f0136b3a4951a67416051181287b5f7acbc7a
6
+ metadata.gz: 89851a89aae7ad24ac24d03335e3641b2715c5a841dfd76d302effd8ca07723d41cf0de6103884795fa96337c79671ed9ca5776a5b71c1aa805c3a87621a59b5
7
+ data.tar.gz: 3fb0c600868f499787e25dc424ce7643ee383f8da1e72fb99ec06a394949fc5ca5f8180e9f40b45791da8f2d4d1b562422bc4921d98643dbefb8c9d03e754893
data/lib/bitfab/replay.rb CHANGED
@@ -62,8 +62,8 @@ module Bitfab
62
62
  # @param method_name [Symbol] the method to replay
63
63
  # @param trace_function_key [String] the trace function key for this method
64
64
  # @param limit [Integer, nil] maximum number of traces to replay (default: 5).
65
- # Mutually exclusive with trace_ids: an explicit ID list already
66
- # determines how many traces replay, so passing both raises.
65
+ # Ignored when trace_ids is passed (with a warning): an explicit ID list
66
+ # already determines how many traces replay.
67
67
  # @param trace_ids [Array<String>, nil] optional list of trace IDs to replay (max 100)
68
68
  # @param max_concurrency [Integer, nil] max threads for parallel replay (default: 10)
69
69
  # @param code_change_description [String, nil] optional rationale for the
@@ -95,8 +95,8 @@ module Bitfab
95
95
  end
96
96
  end
97
97
  if limit && trace_ids
98
- raise ArgumentError,
99
- "Pass either limit or trace_ids, not both: an explicit trace ID list already determines how many traces replay."
98
+ warn "Bitfab: limit is ignored when trace_ids is passed: the explicit trace ID list already " \
99
+ "determines how many traces replay."
100
100
  end
101
101
 
102
102
  http_client = client.instance_variable_get(:@http_client)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.16.0"
4
+ VERSION = "0.16.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team