knapsack_pro 8.1.3 → 8.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f23120ba50c0ecf87cb9812a1238debd7d723c59e87fd006b93e1bbed2077cc1
4
- data.tar.gz: 65758d5c380cb93332756af1ce05c1ad917d59340d5ca0e3c5fb563783b56059
3
+ metadata.gz: 154cc1aaba977644e5f9dd5298e594ba4e6bbc4a67ec1edf1caac2aaf3d21ebb
4
+ data.tar.gz: 11a7acd42b97cd0e2d0075733e0a34ebcc5677f1cbd2e5342cccb2745405cadd
5
5
  SHA512:
6
- metadata.gz: e54574fe5e0656917394d6246ab61f0b4840262907c35fff7c824f2a8ed854b9b072a30968d82230b4e6454d7683fdb095bba31a21bf4458361ea399e0a93653
7
- data.tar.gz: 8a5030dd9184aa6d85330f884d849efdc3037e43614736386c718c041170553fdf1aadfe00331f748f2111fec299bd9b8332aa5e14719c241f1761c02c3b8bf4
6
+ metadata.gz: 733e3fc942afe5ba74bc1b689ac9255bba46e28ddfdd60a826a0946f68a9c208d139786c2ff32319885adbe1c1a0e0696d9f63c5dc1a916b6b5a4072af3e9de8
7
+ data.tar.gz: 5769bf6874b3b93a1349268688d0304015da91072d9661852b034e937628f1be51d17a4e96a9124713fc6a730f953257989ba4613c6d5246de6ac8ec332c21e7
data/.circleci/config.yml CHANGED
@@ -357,7 +357,6 @@ jobs:
357
357
  KNAPSACK_PRO_ENDPOINT: https://api-staging.knapsackpro.com
358
358
  KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST: $KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST
359
359
  KNAPSACK_PRO_RSPEC_DISABLED: true
360
- EXTRA_TEST_FILES_DELAY: 10
361
360
  - image: cimg/postgres:14.7
362
361
  environment:
363
362
  POSTGRES_DB: rails-app-with-knapsack_pro_test
@@ -404,7 +403,6 @@ jobs:
404
403
  KNAPSACK_PRO_ENDPOINT: https://api-staging.knapsackpro.com
405
404
  KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST: $KNAPSACK_PRO_TEST_SUITE_TOKEN_MINITEST
406
405
  KNAPSACK_PRO_RSPEC_DISABLED: true
407
- EXTRA_TEST_FILES_DELAY: 10
408
406
  - image: cimg/postgres:14.7
409
407
  environment:
410
408
  POSTGRES_DB: rails-app-with-knapsack_pro_test
data/CHANGELOG.md CHANGED
@@ -2,10 +2,28 @@
2
2
 
3
3
  ### UNRELEASED
4
4
 
5
+ ### 8.3.0
6
+
7
+ * Revert to 8.1.3 because of [the issue #301](https://github.com/KnapsackPro/knapsack_pro-ruby/issues/301)
8
+
9
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/302
10
+
11
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v8.2.0...v8.3.0
12
+
13
+ ### 8.2.0
14
+
15
+ * Avoid needing a shell to support Distroless Container Images (in most cases)
16
+
17
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/299
18
+
19
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v8.1.3...v8.2.0
20
+
5
21
  ### 8.1.3
6
22
 
7
23
  * Update `changelog_uri` in gemspec
8
24
 
25
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v8.1.2...v8.1.3
26
+
9
27
  ### 8.1.2
10
28
 
11
29
  * Allow running RSpec with `--force-color` (and the default Split by Test Examples)
@@ -17,8 +17,7 @@ module KnapsackPro
17
17
 
18
18
  cmd = %Q[KNAPSACK_PRO_REGULAR_MODE_ENABLED=true KNAPSACK_PRO_TEST_SUITE_TOKEN=#{ENV['KNAPSACK_PRO_TEST_SUITE_TOKEN']} bundle exec spinach #{args} --features_path #{runner.test_dir} -- #{runner.stringify_test_file_paths}]
19
19
 
20
- Kernel.system(cmd)
21
- Kernel.exit(child_status.exitstatus) unless child_status.exitstatus.zero?
20
+ Kernel.exec(cmd)
22
21
  end
23
22
  end
24
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KnapsackPro
4
- VERSION = '8.1.3'
4
+ VERSION = '8.3.0'
5
5
  end
@@ -28,44 +28,17 @@ describe KnapsackPro::Runners::SpinachRunner do
28
28
  stringify_test_file_paths: stringify_test_file_paths,
29
29
  test_files_to_execute_exist?: true)
30
30
  end
31
- let(:child_status) { double }
32
31
 
33
- before do
32
+ it do
34
33
  expect(KnapsackPro::Adapters::SpinachAdapter).to receive(:verify_bind_method_called)
35
34
 
36
35
  tracker = instance_double(KnapsackPro::Tracker)
37
36
  expect(KnapsackPro).to receive(:tracker).and_return(tracker)
38
37
  expect(tracker).to receive(:set_prerun_tests).with(test_file_paths)
39
38
 
40
- expect(Kernel).to receive(:system).with('KNAPSACK_PRO_REGULAR_MODE_ENABLED=true KNAPSACK_PRO_TEST_SUITE_TOKEN=spinach-token bundle exec spinach --custom-arg --features_path fake-test-dir -- features/a.feature features/b.feature')
39
+ expect(Kernel).to receive(:exec).with('KNAPSACK_PRO_REGULAR_MODE_ENABLED=true KNAPSACK_PRO_TEST_SUITE_TOKEN=spinach-token bundle exec spinach --custom-arg --features_path fake-test-dir -- features/a.feature features/b.feature')
41
40
 
42
- allow(described_class).to receive(:child_status).and_return(child_status)
43
- end
44
-
45
- after { subject }
46
-
47
- context 'when command exit with success code' do
48
- let(:exitstatus) { 0 }
49
-
50
- before do
51
- expect(child_status).to receive(:exitstatus).and_return(exitstatus)
52
- end
53
-
54
- it do
55
- expect(Kernel).not_to receive(:exit)
56
- end
57
- end
58
-
59
- context 'when command exit without success code' do
60
- let(:exitstatus) { 1 }
61
-
62
- before do
63
- expect(child_status).to receive(:exitstatus).twice.and_return(exitstatus)
64
- end
65
-
66
- it do
67
- expect(Kernel).to receive(:exit).with(exitstatus)
68
- end
41
+ subject
69
42
  end
70
43
  end
71
44
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knapsack_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.3
4
+ version: 8.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-09 00:00:00.000000000 Z
10
+ date: 2025-05-29 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake