absmartly-sdk 1.3.0.pre.1 → 1.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -1
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +55 -1
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +39 -32
  7. data/README.md +461 -139
  8. data/lib/a_b_smartly.rb +118 -22
  9. data/lib/absmartly/version.rb +1 -1
  10. data/lib/absmartly.rb +4 -0
  11. data/lib/audience_matcher.rb +93 -1
  12. data/lib/client.rb +44 -12
  13. data/lib/client_config.rb +3 -1
  14. data/lib/context.rb +1302 -222
  15. data/lib/context_data_result.rb +27 -0
  16. data/lib/context_event_logger.rb +3 -0
  17. data/lib/context_event_logger_callback.rb +1 -1
  18. data/lib/context_publisher.rb +9 -0
  19. data/lib/default_audience_deserializer.rb +2 -2
  20. data/lib/default_context_data_deserializer.rb +3 -3
  21. data/lib/default_context_event_serializer.rb +2 -1
  22. data/lib/default_context_publisher.rb +9 -0
  23. data/lib/default_http_client.rb +28 -7
  24. data/lib/default_http_client_config.rb +10 -1
  25. data/lib/default_variable_parser.rb +1 -1
  26. data/lib/hashing.rb +39 -2
  27. data/lib/json/context_data.rb +26 -3
  28. data/lib/json/experiment.rb +36 -10
  29. data/lib/json/exposure.rb +8 -4
  30. data/lib/json_expr/expr_evaluator.rb +7 -9
  31. data/lib/json_expr/json_expr.rb +23 -17
  32. data/lib/json_expr/operators/and_combinator.rb +2 -1
  33. data/lib/json_expr/operators/in_operator.rb +3 -1
  34. data/lib/json_expr/operators/match_operator.rb +9 -5
  35. data/lib/json_expr/operators/or_combinator.rb +4 -2
  36. data/lib/json_expr/operators/semver_operator.rb +17 -0
  37. data/lib/json_expr/operators/semver_operators.rb +50 -0
  38. data/lib/json_expr/semver_comparator.rb +98 -0
  39. data/lib/publish_error.rb +11 -0
  40. data/lib/scheduled_thread_pool_executor.rb +8 -0
  41. data/lib/type_utils.rb +59 -0
  42. data/lib/variant_assigner.rb +1 -1
  43. metadata +14 -5
  44. data/absmartly.gemspec +0 -45
  45. data/example/example.rb +0 -85
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01cba8157effb3de46d5392c80d36d4247b1a802f0c4ec5fab1758bb2f1059b7
4
- data.tar.gz: dfbe07427f077cd936ec28449f3d42d8efcbb9d09d90b0a171998976acdb442e
3
+ metadata.gz: 3858929108bfad86fed4a4acc081d8f746bf56661227454e29b445a4f36ee764
4
+ data.tar.gz: 79cc40ae366d3c0e592063cdb16ae86be3c94793aaaefac50a8e96fd77ac12cf
5
5
  SHA512:
6
- metadata.gz: 5920cdb96b212aa2fbc08d52212b7d15fd11eab5493b50d22d05e51dac2f30414fe2080735ac1f4b1a30c61723c1e41f4841bfc4a623a40686c30d12ef0f4fc0
7
- data.tar.gz: 45cc5a139fd3fdca0c2b97ba98da1ed0caf14b63a70684f3ae983f473016e8147ea269ca7f90f00b5752ddb0f1779c7362d7d706d10079d257f581c1c5914fe3
6
+ metadata.gz: e6ac17116a4c9d9d2edf3dc9649347669f2e04cb0876e8bc4278fec9441bd74edca2b08dae96b8dccf2abdbf60e7f0aa8028c583cb85b20d4a8ce3d1a928a190
7
+ data.tar.gz: 3811949c0d397edc80a723acff6dc31032ceb35d2d37b2839f01a716027e534eca88cf9e4a89aae5739c4833c9c68a7f15611bc3e9a8365a2f1f9717d1be7918
data/.rubocop.yml CHANGED
@@ -1,9 +1,10 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
2
+ TargetRubyVersion: 2.7
3
3
  DisabledByDefault: true
4
4
  SuggestExtensions: false
5
5
  Exclude:
6
6
  - 'gemfiles/**/*'
7
+ - 'vendor/**/*'
7
8
 
8
9
  Style/AndOr:
9
10
  Enabled: true
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.6
1
+ 3.3.10
data/CHANGELOG.md CHANGED
@@ -1,4 +1,58 @@
1
- ## [Unreleased]
1
+ ## [1.4.0] - 2026-11-17
2
+
3
+ A non-breaking release of 1.3.0. Code written against 1.3.0 keeps compiling and running: the 1.3.0 classes, method signatures, error types and messages, `close`/`refresh` return values, unit hashing and core extensions are unchanged. Behaviour moves only where the cross-SDK contract or a bug fix requires it; each such entry under Changed says who is affected.
4
+
5
+ ### Added
6
+ - Assignment rules. An experiment's `assignmentRules` (a JSON string of `{"rules": [...]}`) are evaluated in order, and the first matching rule decides the variant, taking precedence over the audience and `audienceStrict`, traffic eligibility, full-on and custom assignments; only `set_override` beats a rule. An `assign` rule gives a fixed variant; a `split` rule (e.g. `"percentages": "20/30/50"`) hashes the unit with the experiment's own seed over its percentages, which must be non-negative and sum to 100 within 0.01. Rules can be scoped to `environments` (an empty list matches all) and their `conditions` are JSON expressions over the same attributes as audiences, including `application` and `environment`. Rule-assigned exposures carry `ruleOverride: true`, `assigned: false`, `eligible: true`, so the backend excludes them from analysis. A malformed rule is skipped in favour of the next one; an `assign` variant out of range or a split without one percentage per variant stops evaluation and falls back to normal assignment. While the unit is missing, a split rule gives the experiment's no-unit variant (the full-on variant, otherwise 0); once the unit is set, unexposed ones are re-resolved and exposed ones keep their variant. Invalid `assignmentRules` JSON is ignored for that experiment. A custom audience matcher that only implements `evaluate(audience, attributes)` keeps working: it receives the attributes under the keys they were set with, as in 1.3.0 (plus `"application"`/`"environment"`, see Changed), and rules then run on the default rule engine.
7
+ - Holdouts, as in the JavaScript SDK. The context payload's `holdouts` list and each experiment's `holdoutIds` are read (`ContextData#holdouts`, `Experiment#holdout_ids` and `Experiment#holdout_type`, all optional). A unit held out by any holdout covering an experiment gets control for it (variant 0, `assigned: false`; for a shared variable key its control value is used only when no assigned, overridden or rule-won experiment defines the key) and no exposure of its own, ahead of the audience, full-on, traffic and custom assignments; `set_override` and a matching assignment rule still win. Each covering holdout queues one ordinary exposure (the holdout's id and name, the experiment's unit type, its arm as the variant) per unit type, the first time a covered experiment is read with `treatment` or `variable_value`; like any exposure it is sent on `publish` or `close`. The arm is hashed with the covered experiment's unit and the holdout's own seeds; arm 0 holds the unit out and, in a three-arm holdout (a three-entry `split`), arm 1 holds out experiments that are not full-on. A covered experiment read with `treatment` or `variable_value` before its unit type is set gets no holdout arm; `set_unit` alone does not change that exposed assignment or expose the holdout for it (as in the JavaScript SDK); a later refresh that changes the experiment or its coverage can rebuild it. An overridden experiment is the exception, as in the Java SDK: the next `variable_value` read after `set_unit` exposes its holdouts, once each (`treatment` does not), and the override still wins. Unexposed assignments are re-resolved once the unit is set. Arms stay pinned while a holdout's iteration is unchanged, so a seed or split edit does not reassign or expose again. Holdouts without an id, with a split that is not a non-empty list of numbers or with non-integer seeds, and `holdoutIds` that name no holdout, are ignored (the JavaScript SDK may still assign or expose such malformed holdouts). Only integer IDs, integral floats and canonical decimal spellings are accepted; noncanonical text IDs are ignored, even when identical on both sides, and accepted text IDs publish as integers (unlike JavaScript on these malformed inputs). Payloads without holdouts assign and publish exactly as before.
8
+ - `semver_eq`, `semver_gt`, `semver_gte`, `semver_lt` and `semver_lte` operators for audience filters and rule conditions. A leading `v`/`V` and `+build` metadata are ignored, missing core parts count as `0`, and a release ranks above its pre-releases; an operand that is not a version gives `null`. A numeric operand is converted to text as the JavaScript SDK does (`toFixed(15)`, trailing zeros trimmed), so `1.0000000000000002` compares equal to `"1"`; other operators are unchanged.
9
+ - `Context#finalize`, the name the other ABsmartly SDKs use. Unlike `close`, if the final publish fails it raises the failure (a `StandardError`) and leaves the context open with its events queued, so it can be retried; it logs the `"finalize"` event (`EVENT_TYPE::FINALIZE`) once sealed, and `experiments`, `set_override` and `set_overrides` keep working after it. `close` behaves as in 1.3.0.
10
+ - `Context#finalized?`, `#finalizing?`, `#ready_error`, `#get_unit`, `#get_units`, `#get_attribute`, `#get_attributes`, `#custom_field_value_type` and `#wait_until_ready(timeout = nil)`.
11
+ - `ABSmartly#create_context_async` and `Absmartly.create_context_async`, which return a context at once and fetch its data on a background thread.
12
+ - `Context#variable_keys_list`, mapping each variable key to every experiment that defines it, in experiment id order.
13
+ - `ABSmartly.new(endpoint, api_key:, application:, environment:, timeout:, retries:, context_event_logger:)` alongside `ABSmartly.new(config)`.
14
+ - `retry_statuses` (on `ClientConfig` and `DefaultHttpClientConfig`) to opt in to retrying HTTP statuses, e.g. `[502, 503, 504]`, and `retry_connection_failures` to opt in to retrying a refused connection on the context fetch (GET only). Both are off by default, so retries are as in 1.3.0.
15
+ - `Absmartly::ContextPublisher` and `Absmartly::DefaultContextPublisher`, aliases of `ContextEventHandler` and `DefaultContextEventHandler` under the names the other SDKs use.
16
+ - `Client#application` and `Client#environment` readers, `Absmartly::ContextDataResult`, `Absmartly::PublishError` (a `StandardError`), `Context.create`'s optional `application:`/`environment:` keywords, `Exposure#rule_override`, `Experiment#assignment_rules`, and an optional `properties` argument to `track`.
17
+
18
+ ### Changed
19
+ - The `X-Agent` header is now `absmartly-ruby-sdk/<version>` instead of `absmartly-ruby-sdk`, as the JavaScript SDK sends its versioned agent. The collector stores it in the export `agent` column, so dashboards, collectors and proxies that match the exact old value need updating.
20
+ - Every exposure in the publish payload now carries `ruleOverride` (`false` unless an assignment rule chose the variant), as the JavaScript SDK sends it. Consumers that compare the exact publish body (snapshots, proxies) see the extra field.
21
+ - Audience filters and rule conditions now always see `application` and `environment` (the names configured on the client), matching the JavaScript SDK. A user attribute of the same name wins, even when set after the context is created. Empty or unset names are left out rather than matching `""`. Nothing new is published (the collector attaches both server-side) and `app_version` is never injected. Who moves: units in an experiment whose audience has an `application`/`environment` condition. With Audience enforced (`audienceStrict`) they got control (variant 0) because 1.3.0 never supplied those attributes; a matching unit is now randomised normally and gets a new exposure. Non-strict audiences stop flagging `audienceMismatch` for matching units.
22
+ - With the built-in `AudienceMatcher`, an attribute set under both a String and a Symbol name (`"age"` and `:age`) is evaluated with the value set last, in audiences and in rule conditions. 1.3.0 read whichever entry the evaluator found under the String key, so an older String value kept shadowing a newer Symbol one. An attribute name that is neither a String nor a Symbol is read by its text (`to_s`) the same way; 1.3.0's evaluator never found it. Custom audience matchers (including `AudienceMatcher` subclasses) still receive both keys as set, as in 1.3.0. Who moves: units whose attribute was set under both spellings with different values, or under such an object name; they are evaluated on the latest value and can change variant, with a new exposure.
23
+ - `treatment` and `variable_value` no longer route their exposures through the public `Context#queue_exposure`. Calling `queue_exposure(assignment)` directly on an open context works as in 1.3.0 (same signature, returns the exposure logger's result, `nil` once exposed); queueing a new exposure after `close` raises `IllegalStateException` (see Fixed), while one already exposed still returns `nil`. Who moves: code that subclassed, reopened or `prepend`ed `Context` to override `queue_exposure`. Overriding it no longer intercepts exposures: reads never call it. That was never a supported hook; the supported way to observe exposures is a context event logger, which receives each one as an `"exposure"` (`ContextEventLogger::EVENT_TYPE::EXPOSURE`) event.
24
+ - `variable_value` and `peek_variable_value` return the caller's default when the unit is not assigned to the experiment, as the JavaScript SDK does (cross-SDK scenario 48): its unit type is not set on the context, or it fails an enforced (`audienceStrict`) audience, and no override or assignment rule applies. 1.3.0 returned variant 0's (control's) value in both cases. Such a read no longer queues an exposure for the experiment (1.3.0 published one with `assigned: false`); `treatment` still does. Units outside the traffic split or in a full-on experiment read their variant's value as before, and the exposure is still queued. Who moves: code that reads variables for such units and relied on getting control's config instead of its own default, and analyses that counted those `assigned: false` exposures.
25
+ - Shared variable keys: when several experiments define the same variable, only one of them, chosen by experiment id, is read and exposed; see Fixed for the rule. 1.3.0 always read and exposed the last experiment in the payload. `variable_keys` keeps its shape (key to one experiment name) but now names the experiment with the lowest id. Who moves: units in more than one experiment that share a variable key.
26
+ - `track` raises `ArgumentError` ("Goal '<name>' properties must be of type object.") for properties that are neither a Hash nor respond to `to_h` (e.g. a String or Array). 1.3.0 queued them, and the collector, which reads goal properties as an object, rejected the whole publish, losing every exposure and goal in it. `ActionController::Parameters` (through `to_unsafe_h`, so unpermitted params are accepted as in 1.3.0) and other `to_h` objects are converted. Who moves: code passing non-object properties to `track`.
27
+ - `set_unit` with a unit type given as a String now raises "Unit '...' already set." when the type already has a different UID, as the README always said and as it did for a Symbol type; 1.3.0 silently replaced the UID, so later exposures and goals were published under a different unit than the earlier ones. Who moves: code that calls `set_unit("type", uid)` twice with different UIDs on one context (create a new context for the new identity instead).
28
+ - `create_context` and `refresh` no longer raise connection errors such as `Faraday::ConnectionFailed` out of the fetch, as an HTTP error response already didn't in 1.3.0. `create_context` returns the context failed (`failed?` is true, reads return control and the caller's defaults); `refresh` keeps the current data. Either way the error goes to the event logger. Who moves: code that wraps `create_context` or `refresh` in `rescue Faraday::ConnectionFailed` (check `context.failed?` or the logged `"error"` event instead).
29
+ - The `"publish"` event is logged once a publish is delivered, as its documentation says ("`publish()` method succeeds"); a failed publish logs an `"error"` event instead. 1.3.0 logged `"publish"` before sending and logged nothing when the collector rejected the batch. Who moves: event loggers that counted `"publish"` events for failed publishes.
30
+ - `close` and `finalize` bound callback-driven publishing to two passes. If events are still queued after the second successful pass, they remain queued and the context stays open; a catchable retry error is raised instead of silently discarding accepted events or looping forever. A close or finalize requested by a callback in the meantime also stays pending and is carried out by the next successful publish. A `close` or `finalize` requested from inside a publish callback in that state, or from the `"error"` callback of a rejected publish, keeps the events queued and is carried out on the next successful `publish` (if that deferred seal's own publish is rejected, a deferred `finalize` stays pending and raises the rejection out of that `publish`, while a deferred `close` logs it and seals, as `close` does; if the publisher raises, either stays pending and the error is re-raised), without making the current `publish` raise (the `"error"` event for a rejected publish is new in 1.4.0, see the `"publish"` entry above). Who moves: applications that enqueue events from publish callbacks or concurrently while sealing; retry the sealing method after producers stop.
31
+ - A failed `publish` keeps its events queued and sends them with the next publish (1.3.0 dropped them), so `pending_count` stays above zero until a publish succeeds. A publisher that raises during `close` leaves the context open with the events queued instead of losing them. Who moves: code that reads `pending_count` after a failed publish, and collectors, which now receive the retried batch.
32
+ - A `refresh` that was already in flight when the initial async fetch failed, and then succeeds, recovers the context: it installs the data and clears `failed?` and `ready_error`, and events still queued are published with the next `publish` (exposures made while failed are unassigned, `assigned: false` with experiment id 0, and control unless an override forces a variant; assignments read while failed, overrides included, are resolved again when the recovered data has the experiment, so later reads and exposures carry it; such an assignment already exposed while failed is therefore exposed once more after recovery, with the real experiment id, while one for an experiment the recovered data still lacks is kept and not exposed again; if a later refresh then supplies that experiment, the override's variant is still served, and this release resolves it again: the next read exposes it once with the real id and reads the recovered variant's variables. Keeping the cached assignment without a new exposure, as the Java and JavaScript SDKs do, is also accepted, so do not rely on either); a `publish` made while the context was failed still drops its events, as in 1.3.0. A `refresh` called after the context failed is still a no-op, as in 1.3.0. Who moves: code that relied on a failed async context staying failed after an in-flight refresh completed.
33
+ - A failed `refresh` logs the error and keeps the current data (1.3.0 marked the context failed and served control for every experiment from then on); it still returns what the event logger returned. Who moves: units of a long-lived context after a refresh fails, which keep their variants instead of dropping to control.
34
+ - Numeric audience comparisons compare numbers, following the JavaScript SDK's number coercion; 1.3.0 compared their text, so `10 > 9` was false. Who moves: units whose numeric attributes the text comparison misjudged; with a strict audience they move between control and their variant.
35
+ - An invalid regex in a `match` audience counts as an audience mismatch (strict audiences give control), as in the JavaScript SDK; 1.3.0 ignored the whole audience. Who moves: units in experiments whose audience has an invalid `match` pattern.
36
+
37
+ ### Fixed
38
+ - A context fetch whose body can't be deserialized fails the context instead of leaving it never ready.
39
+ - `ContextDataResult`, `PublishError`, `ContextPublisher`, `DefaultContextPublisher` and the semver comparator and operators live under the `Absmartly` namespace, so none of them can clash with an application's own classes.
40
+ - Nested `variants`, `applications` and `customFieldValues` in the context payload are read by key: an unknown key no longer fails the whole context and a reordered object no longer swaps fields. Unknown experiment fields are ignored without writing to stderr. A custom field with a missing or `null` `type` is read as text, and `custom_field_type` returns `nil`, instead of raising `NoMethodError` out of `create_context`/`refresh`.
41
+ - `in` with an object haystack finds symbol keys (audience attributes are parsed with symbolized names).
42
+ - An indeterminate audience result (no filter) keeps a cached assignment instead of re-assigning.
43
+ - `set_unit` accepts the same UID again when it differs only by surrounding spaces, or comes as a String instead of a number (`123` then `"123"`); 1.3.0 raised "Unit '...' already set." for a Symbol unit type in the first case. Integer and Float UIDs keep their value (`get_unit` returns the number) and hash exactly as in 1.3.0; `set_unit` still returns the UID's text.
44
+ - `Client#context_data` returns a new immutable `Absmartly::ContextDataResult` per call (with the same `success?`, `data_future`, `exception` and `promise` readers), so concurrent `create_context_async` calls and refreshes sharing a client can't read each other's in-flight state. The client's own readers still reflect the latest fetch.
45
+ - `ContextEventLoggerCallback` no longer calls ActiveSupport's `present?`, so it works outside Rails.
46
+ - A raising event logger no longer breaks the operation that logs (initialization, treatment, publish).
47
+ - `ABSmartly.new(config)` accepts a duck-typed config that responds to `to_hash` on Ruby 2.7.
48
+ - An exposure or goal can no longer be queued after `close` sealed the context.
49
+ - Clearing the override of an experiment the context data doesn't have returns control again; 1.3.0 kept returning the cleared forced variant. Who moves: units whose override of such an experiment is cleared get control instead of the stale forced variant, with one more control exposure.
50
+ - Shared variable keys: the wrong experiment could win a variable key that several experiments define, and experiments that were only checked got exposures. 1.3.0 read and exposed the last experiment in the payload that defined the key, even when the unit was not in it (an enforced audience it failed, or a unit type not set on the context). Users were recorded in experiments they never saw, which biases the results. Now, as in the Java SDK: the experiments whose variants define the key are checked in experiment id order; the first one the unit is assigned to, overridden in or rule-assigned in wins, and only it is exposed. If the winner's variant lacks the key, the caller's default is returned (no later experiment is read). If none wins, a held-out unit reads the first held-out experiment's control value, otherwise the default is returned, with no experiment exposure. The holdouts covering each experiment checked on the way are still exposed, before the winner's own exposure, as in the Java SDK. `peek_variable_value` exposes nothing. A read that a `refresh` overtakes starts again on the new data, so its value and exposures come from one snapshot (except a holdout exposure whose own logger callback refreshes, which is already queued); if refreshes keep landing during the read (a matcher or logger callback that refreshes), it stops after three attempts and returns the default with no experiment exposure. Who moves: anyone with two or more running experiments that define the same variable key.
51
+
52
+ ## [1.3.0] - 2026-01-26
53
+
54
+ ### Added
55
+ - Configurable connection pool settings: `pool_size` and `pool_idle_timeout`
2
56
 
3
57
  ## [0.1.0] - 2022-08-03
4
58
 
data/Gemfile CHANGED
@@ -10,9 +10,13 @@ gem "murmurhash3"
10
10
  gem "faraday"
11
11
  gem "faraday-net_http_persistent"
12
12
  gem "connection_pool", "< 3"
13
+ # faraday 2.8 requires logger, which is no longer a default gem from Ruby 3.5/4.0.
14
+ gem "logger"
13
15
 
14
16
  group :test do
15
17
  gem "rspec", "~> 3.5"
18
+ # Specs use OpenStruct doubles; ostruct is no longer a default gem from Ruby 3.5/4.0.
19
+ gem "ostruct"
16
20
  end
17
21
 
18
22
  group :develop do
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- absmartly-sdk (1.3.0.pre.1)
4
+ absmartly-sdk (1.4.0)
5
5
  base64 (~> 0.2)
6
6
  faraday (~> 2.0)
7
7
  faraday-net_http_persistent (~> 2.0)
@@ -11,12 +11,13 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- ast (2.4.2)
14
+ ast (2.4.3)
15
15
  base64 (0.3.0)
16
16
  byebug (11.1.3)
17
17
  connection_pool (2.5.5)
18
- diff-lcs (1.5.0)
19
- faraday (2.7.4)
18
+ diff-lcs (1.6.2)
19
+ faraday (2.8.1)
20
+ base64
20
21
  faraday-net_http (>= 2.0, < 3.1)
21
22
  ruby2_keywords (>= 0.0.4)
22
23
  faraday-net_http (3.0.2)
@@ -25,50 +26,54 @@ GEM
25
26
  net-http-persistent (>= 4.0.4, < 5)
26
27
  faraday-retry (2.4.0)
27
28
  faraday (~> 2.0)
28
- io-console (0.5.6)
29
- irb (1.2.6)
30
- reline (>= 0.1.5)
31
- json (2.6.2)
29
+ io-console (0.8.2)
30
+ irb (1.6.3)
31
+ reline (>= 0.3.0)
32
+ json (2.7.6)
33
+ logger (1.7.0)
32
34
  murmurhash3 (0.1.7)
33
35
  net-http-persistent (4.0.8)
34
36
  connection_pool (>= 2.2.4, < 4)
35
- parallel (1.22.1)
36
- parser (3.1.2.0)
37
+ ostruct (0.6.3)
38
+ parallel (1.24.0)
39
+ parser (3.3.10.1)
37
40
  ast (~> 2.4.1)
41
+ racc
42
+ racc (1.8.1)
38
43
  rainbow (3.1.1)
39
- rake (13.0.6)
40
- regexp_parser (2.5.0)
41
- reline (0.1.5)
44
+ rake (13.3.1)
45
+ regexp_parser (2.11.3)
46
+ reline (0.6.3)
42
47
  io-console (~> 0.5)
43
48
  rexml (3.4.4)
44
- rspec (3.11.0)
45
- rspec-core (~> 3.11.0)
46
- rspec-expectations (~> 3.11.0)
47
- rspec-mocks (~> 3.11.0)
48
- rspec-core (3.11.0)
49
- rspec-support (~> 3.11.0)
50
- rspec-expectations (3.11.0)
49
+ rspec (3.13.2)
50
+ rspec-core (~> 3.13.0)
51
+ rspec-expectations (~> 3.13.0)
52
+ rspec-mocks (~> 3.13.0)
53
+ rspec-core (3.13.6)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-expectations (3.13.5)
51
56
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.11.0)
53
- rspec-mocks (3.11.1)
57
+ rspec-support (~> 3.13.0)
58
+ rspec-mocks (3.13.7)
54
59
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.11.0)
56
- rspec-support (3.11.0)
57
- rubocop (1.33.0)
60
+ rspec-support (~> 3.13.0)
61
+ rspec-support (3.13.6)
62
+ rubocop (1.50.2)
58
63
  json (~> 2.3)
59
64
  parallel (~> 1.10)
60
- parser (>= 3.1.0.0)
65
+ parser (>= 3.2.0.0)
61
66
  rainbow (>= 2.2.2, < 4.0)
62
67
  regexp_parser (>= 1.8, < 3.0)
63
68
  rexml (>= 3.2.5, < 4.0)
64
- rubocop-ast (>= 1.19.1, < 2.0)
69
+ rubocop-ast (>= 1.28.0, < 2.0)
65
70
  ruby-progressbar (~> 1.7)
66
- unicode-display_width (>= 1.4.0, < 3.0)
67
- rubocop-ast (1.19.1)
68
- parser (>= 3.1.1.0)
69
- ruby-progressbar (1.11.0)
71
+ unicode-display_width (>= 2.4.0, < 3.0)
72
+ rubocop-ast (1.30.0)
73
+ parser (>= 3.2.1.0)
74
+ ruby-progressbar (1.13.0)
70
75
  ruby2_keywords (0.0.5)
71
- unicode-display_width (2.2.0)
76
+ unicode-display_width (2.6.0)
72
77
 
73
78
  PLATFORMS
74
79
  ruby
@@ -81,7 +86,9 @@ DEPENDENCIES
81
86
  faraday
82
87
  faraday-net_http_persistent
83
88
  irb
89
+ logger
84
90
  murmurhash3
91
+ ostruct
85
92
  rake (~> 13.0)
86
93
  rspec (~> 3.5)
87
94
  rubocop (~> 1.21)