perf_check 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/perf_check +2 -0
  3. data/lib/perf_check.rb +1 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 939ed2568e6f37048787e9548970ebf399344133
4
- data.tar.gz: 20ba90e0a2186d797ad4bbffe67c06292e89b53f
3
+ metadata.gz: c8c629b42f8b3ab57e8027bda25e17d25d0dbcc8
4
+ data.tar.gz: c8d312841c669db61acb88c80f3c7675a32e65b1
5
5
  SHA512:
6
- metadata.gz: 85f978097f52963d7a370baf0c81c18988d3eb6f3f365158f4719080d4da39ced9ec4e953d1728621922880ba4b2a45a3fbfe40e50dee545e4e6a941746b615b
7
- data.tar.gz: 2897e7dae4cc2db59c22f926b2bf88616770f8bba043987dfde4ef260b665437ca6c1708ff05688c1474c48488c7976f6d71cf1b398bc16ee7a8b827aa2125bd
6
+ metadata.gz: 185c1dc6b2ec1ce123fea2e8f86aa99472d9a3268eacc93cdca46d6dd70c088cf81a9cb0413588d7758e1da836f4959cb490e30ca2f1c43df59317eb7b67744f
7
+ data.tar.gz: 632a28d75daf13ed5db607ce03c8d9805ecd0bc273974f4a2cb09fc25de5477a804df24d5bfcdd245069604b272d5d17b0e9cbd815ebe678857a70170fb4e78f
@@ -11,6 +11,8 @@ options.http_statuses = [200]
11
11
  options.verify_responses = false
12
12
  options.caching = true
13
13
 
14
+ ORIGINAL_ARGV = ARGV.clone
15
+
14
16
  opts = OptionParser.new do |opts|
15
17
  opts.banner = "Usage: perf_check [options] [route ...]"
16
18
 
@@ -99,6 +99,7 @@ class PerfCheck
99
99
 
100
100
  def trigger_callback
101
101
  results = OpenStruct.new(:current_branch => PerfCheck::Git.current_branch)
102
+ results[:ARGV] = ORIGINAL_ARGV
102
103
  if test_cases.size == 1
103
104
  results.current_latency = test_cases.first.this_latency
104
105
  results.reference_latency = test_cases.first.reference_latency
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune