knapsack 1.13.0 → 1.13.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +5 -4
- data/lib/knapsack/runners/cucumber_runner.rb +1 -1
- data/lib/knapsack/runners/rspec_runner.rb +1 -1
- data/lib/knapsack/runners/spinach_runner.rb +1 -1
- data/lib/knapsack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dccd9dc0039475c5c3229f3905f2588e5bd9ba7a
|
|
4
|
+
data.tar.gz: 457e878a8f360750b8665c31763214fa8a382e05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0664599e9da27777472a8f01fdd59d2141bf0143d4d4f86f412e0852b2e752470ce49ffe854d869e532553df1169de1bec90c648e65ecbab1f5c2c76abb23248
|
|
7
|
+
data.tar.gz: 69bc340f405108487dd4f22d92c94bddc168c107d8d4adbe2958e5f50e8f0374e69c94687a9fff2d92836de71638fbdc3f7ba046d5a95d8c16095b8f06db79e5
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
* TODO
|
|
4
4
|
|
|
5
|
+
### 1.13.1
|
|
6
|
+
|
|
7
|
+
* Fix: Get rid of call #zero? method on $?.exitstatus in test runners tasks
|
|
8
|
+
|
|
9
|
+
https://github.com/ArturT/knapsack/pull/52
|
|
10
|
+
|
|
11
|
+
https://github.com/ArturT/knapsack/compare/v1.13.0...v1.13.1
|
|
12
|
+
|
|
5
13
|
### 1.13.0
|
|
6
14
|
|
|
7
15
|
* Add KNAPSACK_LOG_LEVEL option
|
data/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# 
|
|
4
4
|
|
|
5
|
-
[][gem_version]
|
|
6
6
|
[][travis]
|
|
7
|
-
[][codeclimate]
|
|
8
|
+
[][coverage]
|
|
9
9
|
|
|
10
10
|
[gem_version]: https://rubygems.org/gems/knapsack
|
|
11
11
|
[travis]: http://travis-ci.org/ArturT/knapsack
|
|
@@ -664,7 +664,7 @@ Above example is for RSpec. You can use respectively rake task name and token en
|
|
|
664
664
|
You can change log level by specifying the `KNAPSACK_LOG_LEVEL` environment variable.
|
|
665
665
|
|
|
666
666
|
KNAPSACK_LOG_LEVEL=warn bundle exec rake knapsack:rspec
|
|
667
|
-
|
|
667
|
+
|
|
668
668
|
Available values are `debug`, `info`, and `warn`. The default log level is `info`.
|
|
669
669
|
|
|
670
670
|
## Gem tests
|
|
@@ -714,3 +714,4 @@ Many thanks to [Małgorzata Nowak](https://github.com/informatykgosia) for beaut
|
|
|
714
714
|
* Semaphore | [Running Cucumber scenarios in parallel](https://semaphoreapp.com/docs/running-cucumber-scenarios-in-threads.html)
|
|
715
715
|
* Buildkite | [Libraries](https://buildkite.com/docs/guides/parallelizing-builds#libraries)
|
|
716
716
|
* Snap CI | [Knapsack: optimal test suite split based on time execution](https://docs.snap-ci.com/speeding-up-builds/test-parallelism/#parallelism-using-third-party-tools%23knapsack-optimal-test-suite-split-based-on-time-execution)
|
|
717
|
+
* CircleCI | [Test suite split with knapsack gem](https://circleci.com/docs/parallel-manual-setup/#test-suite-split-with-knapsack-gem)
|
|
@@ -15,7 +15,7 @@ module Knapsack
|
|
|
15
15
|
cmd = %Q[bundle exec cucumber #{args} --require #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
|
|
16
16
|
|
|
17
17
|
system(cmd)
|
|
18
|
-
exit($?.exitstatus) unless $?.exitstatus
|
|
18
|
+
exit($?.exitstatus) unless $?.exitstatus == 0
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
@@ -15,7 +15,7 @@ module Knapsack
|
|
|
15
15
|
cmd = %Q[bundle exec rspec #{args} --default-path #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
|
|
16
16
|
|
|
17
17
|
system(cmd)
|
|
18
|
-
exit($?.exitstatus) unless $?.exitstatus
|
|
18
|
+
exit($?.exitstatus) unless $?.exitstatus == 0
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
@@ -15,7 +15,7 @@ module Knapsack
|
|
|
15
15
|
cmd = %Q[bundle exec spinach #{args} --features_path #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
|
|
16
16
|
|
|
17
17
|
system(cmd)
|
|
18
|
-
exit($?.exitstatus) unless $?.exitstatus
|
|
18
|
+
exit($?.exitstatus) unless $?.exitstatus == 0
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
data/lib/knapsack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knapsack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.13.
|
|
4
|
+
version: 1.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ArturT
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|