learn-test 2.5.4 → 2.5.5

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: fe6bf93302286117f667a4a13e13b30091dd6276
4
- data.tar.gz: ec99bebcb1a15014eac0dfad7c78138231af0c95
3
+ metadata.gz: 6c1be4c855a56a6a9d4e3b3808372f60f5fc5f62
4
+ data.tar.gz: a5b84385efc631eb54aee171f8bd15d4b0240576
5
5
  SHA512:
6
- metadata.gz: 2ea80e1ab517dc67cd11e1fe420e6179b26ea9638847c94d53dd651227fdf18d84755bbe4cad697ab02b410a3caf27d82d1627ae528ca0c47b704642e7f0b246
7
- data.tar.gz: f86b526d6d7959913c02bb1ef0629b68f4dfe01fb23069bf4c13c44f277a6b5e6e82ba2465c0bf01e844ef8a8dca8c6fdb64d95bfafde285b423de9e6874a72a
6
+ metadata.gz: d27c877833905071f46de47f13a35773b34d204bd2408c39108eac291db7d989e960e766078ae4523dc3480c55e348297562f628b2658ac95176fbee4ccd9797
7
+ data.tar.gz: ae23477e6e0ed28ca04b9e828a17c6033aba2ac356839434695904215b59ddde657b196f41bf50006b09e238f1908e5211274bd106db064186917ce6691441ee
@@ -8,6 +8,10 @@ options = {}
8
8
  OptionParser.new do |opts|
9
9
  opts.banner = "Usage: learn [options]"
10
10
 
11
+ opts.on("--sync", "Report test results synchronously") do |s|
12
+ options[:sync] = s
13
+ end
14
+
11
15
  opts.on("-d", "--debug", "Output errors during results synchronization") do |d|
12
16
  options[:debug] = d
13
17
  end
@@ -14,7 +14,7 @@ module LearnTest
14
14
  strategy.check_dependencies
15
15
  strategy.configure
16
16
  strategy.run
17
- if options[:debug]
17
+ if options[:debug] || options[:sync]
18
18
  report_and_clean
19
19
  else
20
20
  Process.detach(Process.fork do
@@ -1,3 +1,3 @@
1
1
  module LearnTest
2
- VERSION = '2.5.4'
2
+ VERSION = '2.5.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.4
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler