knapsack_pro 3.11.0 → 4.0.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 290f2d4d36346c2b4d87ccd475600a2fe68b61ed92f0f4c5e3d706321274482c
|
4
|
+
data.tar.gz: c363a381f9b18c4f8c8449cfe0477c7c6b987c6a356865d1fcdb34849168674b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd0e5c7dbe72f032c6eaa0399bef86a944781adaacb894f3165f4b34720c2bf79cbf7f6f4b316c179ea91fd6f344a653e1441fd02d4e6d4d316e432c301374e9
|
7
|
+
data.tar.gz: 8f921a5501043c19f52069c4325062102dab01b0cd3ca89657093e4083fe736e6e1d2962fa6beb3c9d0f657d3d05873a7d261a706ad2531eff9edcb9c7163f00
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
### 4.0.0
|
4
|
+
|
5
|
+
* Raise when `KNAPSACK_PRO_CI_NODE_BUILD_ID` is missing
|
6
|
+
|
7
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/195
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v3.11.0...v4.0.0
|
10
|
+
|
3
11
|
### 3.11.0
|
4
12
|
|
5
13
|
* Send distinguishable user seat info over to the API
|
@@ -23,9 +23,10 @@ module KnapsackPro
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def ci_node_build_id
|
26
|
-
|
26
|
+
env_name = 'KNAPSACK_PRO_CI_NODE_BUILD_ID'
|
27
|
+
ENV[env_name] ||
|
27
28
|
ci_env_for(:node_build_id) ||
|
28
|
-
|
29
|
+
raise("Missing environment variable #{env_name}. Read more at #{KnapsackPro::Urls::KNAPSACK_PRO_CI_NODE_BUILD_ID}")
|
29
30
|
end
|
30
31
|
|
31
32
|
def ci_node_retry_count
|
data/lib/knapsack_pro/urls.rb
CHANGED
@@ -18,6 +18,8 @@ module KnapsackPro
|
|
18
18
|
|
19
19
|
INSTALLATION_GUIDE = "#{HOST}/perma/ruby/installation-guide"
|
20
20
|
|
21
|
+
KNAPSACK_PRO_CI_NODE_BUILD_ID= "#{HOST}/perma/ruby/knapsack-pro-ci-node-build-id"
|
22
|
+
|
21
23
|
QUEUE_MODE__CONNECTION_ERROR_WITH_FALLBACK_ENABLED_FALSE = "#{HOST}/perma/ruby/queue-mode-connection-error-with-fallback-enabled-false"
|
22
24
|
|
23
25
|
QUEUE_MODE__CONNECTION_ERROR_WITH_FALLBACK_ENABLED_TRUE_AND_POSITIVE_RETRY_COUNT = "#{HOST}/perma/ruby/queue-mode-connection-error-with-fallback-enabled-true-and-positive-retry-count"
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -72,8 +72,10 @@ describe KnapsackPro::Config::Env do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
context "when ENV
|
76
|
-
it
|
75
|
+
context "when ENV does not exist" do
|
76
|
+
it 'raises' do
|
77
|
+
expect { subject }.to raise_error(/Missing environment variable KNAPSACK_PRO_CI_NODE_BUILD_ID/)
|
78
|
+
end
|
77
79
|
end
|
78
80
|
end
|
79
81
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -404,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
404
404
|
- !ruby/object:Gem::Version
|
405
405
|
version: '0'
|
406
406
|
requirements: []
|
407
|
-
rubygems_version: 3.4.
|
407
|
+
rubygems_version: 3.4.8
|
408
408
|
signing_key:
|
409
409
|
specification_version: 4
|
410
410
|
summary: Knapsack Pro splits tests across parallel CI nodes and ensures each parallel
|