knapsack 1.1.0 → 1.1.1

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
  SHA1:
3
- metadata.gz: 62f5fe8ad6da21e7f421537bbd82d0b13fecc22e
4
- data.tar.gz: 7c839467909dc416378dd6f5d528b167f88ec659
3
+ metadata.gz: 82a3d1e780cf286d3b6667fa0f40f5682e98cd1a
4
+ data.tar.gz: 5847653114e98c5ee8968c5adccec3cd78bb184d
5
5
  SHA512:
6
- metadata.gz: 0268b4f0be0166698d588d309f7fbeb764aafdb93522f5caf68187cf5aed36ec58b3a8ef84f34283cd811043f4cb27c938f016691c31bbb01ec4c97cba43ad42
7
- data.tar.gz: f0956451a4c3160d5c0282adb69ab8cfd6e6ffddaec237bfdbe825c3c5591debbec649b8f6ffd39320e83dbb2a342940bed02b464c0c287964572fc3ca1a6d67
6
+ metadata.gz: a60b622d9f709724e31c8c5ea2fc2e930bc81d4874691ece036440796b7ad1acfa9b7ca3ea4ce27562a09e0f6c74600316d7e1e18eab786acb3ce5ebab3eb3fa
7
+ data.tar.gz: 348418b0b04ef13a48a9fce592a1358e226f9024276a9e715e59f5c24654bb62fc0854634fa5db68bebd4940b66e3025b7295afe7f1868f0ab673ee46d837bc7
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  * TODO
4
4
 
5
+ ### 1.1.1
6
+
7
+ * Use `system` instead of `exec` in rake tasks so we can return exit code from command.
8
+
9
+ https://github.com/ArturT/knapsack/compare/v1.1.0...v1.1.1
10
+
5
11
  ### 1.1.0
6
12
 
7
13
  * Add support for Buildkite.com ENV variables `BUILDKITE_PARALLEL_JOB_COUNT` and `BUILDKITE_PARALLEL_JOB`.
data/README.md CHANGED
@@ -355,10 +355,6 @@ Specs in `spec_examples/leftover` take more than 3 seconds. This should cause a
355
355
 
356
356
  $ bundle exec rspec --default-path spec_examples
357
357
 
358
- ### Cucumber examples
359
-
360
- Here is [a fork of Loomio](https://github.com/ArturT/loomio) Rails application with a lot of cucumber features and some rspec examples. Knapsack was added there - [see code changes](https://github.com/ArturT/loomio/compare/loomio:master...add-knapsack-gem). Tests were splitted across a few machines on Travis CI - [see builds](https://travis-ci.org/ArturT/loomio/builds).
361
-
362
358
  ## Contributing
363
359
 
364
360
  1. Fork it ( https://github.com/ArturT/knapsack/fork )
@@ -1,3 +1,3 @@
1
1
  module Knapsack
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
@@ -14,6 +14,7 @@ namespace :knapsack do
14
14
 
15
15
  cmd = %Q[bundle exec cucumber #{args[:cucumber_args]} -- #{allocator.stringify_node_tests}]
16
16
 
17
- exec(cmd)
17
+ system(cmd)
18
+ exit($?.exitstatus)
18
19
  end
19
20
  end
@@ -14,6 +14,7 @@ namespace :knapsack do
14
14
 
15
15
  cmd = %Q[bundle exec rspec #{args[:rspec_args]} --default-path #{allocator.test_dir} -- #{allocator.stringify_node_tests}]
16
16
 
17
- exec(cmd)
17
+ system(cmd)
18
+ exit($?.exitstatus)
18
19
  end
19
20
  end
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.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-04 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.4.6
219
+ rubygems_version: 2.4.2
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Knapsack splits tests across CI nodes and makes sure that tests will run