semaphore_test_boosters 1.7.0 → 1.7.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: d2d856d4423e513d330d8ac0e488916dd7086917
4
- data.tar.gz: b75f81f4225d010278f15d2c6ac3261833dee343
3
+ metadata.gz: 7474432e135e256f7ee2decb5ba7f3ef81426faa
4
+ data.tar.gz: 7a27dda01016d4366809ee64a7c11a850500e7ae
5
5
  SHA512:
6
- metadata.gz: 315807874e3dd7792d1bb3c52549667924e6a54974de2b1354c2b714469610a4c8d68813a72d96f076497e0bd1214eca462ad9dee8cdf074fbad9c8b6acdb9e6
7
- data.tar.gz: 5040e37162ced1bbb7de4663070d36442e0e236699b2772e685716247ae4503de562054a324da415917eb0675b5c50b9ca451a1ea99bdbced17f092be5497e6d
6
+ metadata.gz: 6542bfaaa7b0712eb9417c3d42753a3b340b7572a63752bf9e4928548812dd27d05faa62cec57aa2bb35cc1b1d64b6ca846189b0e9c6310a04f67faef5062179
7
+ data.tar.gz: 8267989c357ee0215297fe8dcfa2d8f9346283e82f6636274e70d1e406366fa479dbd3616d789f1193553efa82ef82618b45dcfd672a14b1ceaff313570b9e9f
@@ -5,7 +5,7 @@ module TestBoosters
5
5
  def upload(booster_type, file)
6
6
  cmd = "http POST '#{insights_url}' #{booster_type}:=@#{file}"
7
7
 
8
- TestBoosters::Shell.execute("#{cmd} > ~/insights_uploader.log")
8
+ TestBoosters::Shell.execute("#{cmd} > ~/insights_uploader.log", :silent => true)
9
9
  end
10
10
 
11
11
  def insights_url
@@ -2,9 +2,12 @@ module TestBoosters
2
2
  module Shell
3
3
  module_function
4
4
 
5
- def execute(command)
5
+ # :reek:TooManyStatements
6
+ def execute(command, options = {})
6
7
  TestBoosters::Logger.info("Running command: #{command}")
7
8
 
9
+ puts command unless options[:silent] == true
10
+
8
11
  system(command)
9
12
 
10
13
  exit_status = $?.exitstatus
@@ -1,3 +1,3 @@
1
1
  module TestBoosters
2
- VERSION = "1.7.0".freeze
2
+ VERSION = "1.7.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semaphore_test_boosters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Developers at Rendered Text