perf_check 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/perf_check/config.rb +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c9de073c9a842393f42b25f300465e7b504be65
4
- data.tar.gz: 35142b1c5a1476aa487d6f615ade810329381652
3
+ metadata.gz: b8364fc73d3e5ea7ac676dab58e692411390578f
4
+ data.tar.gz: 5a66bfbf4e584cb179d9a386ccf25ed1bd1a2e50
5
5
  SHA512:
6
- metadata.gz: f22cb7a95b11694582a554eb20900230f913a983b8e781f3e3be71fd18ecc9851575e3d06e3498bc7d30e809d451d7360b194caab654ce37e6eda087723c5387
7
- data.tar.gz: cda3c33ea5c320b9973c8ebc118e21256c261c0b44488baabc5604266999a8dba5dec6645c57cc02fef2b86188aa6e436438f43d36da9be0c5ad8a47164a15cd
6
+ metadata.gz: 232b897bdab8301418ebe27c89bfba44cbbfef645330ed34e67db99c4824362674d10e0aa7b6763ad195c151c41d951e57e5f8432b4c2b0cc9afc72631052444
7
+ data.tar.gz: 03655180b70b3d123428bb7c0ebd94e49bfd99be66e9d9abbb75a40a454d4e1ea6d5b404d75f144b7a36529fdba57fb09a5c26b5ad76a2639b4364c87c436349
@@ -61,6 +61,11 @@ class PerfCheck
61
61
  config.cookie = cookie
62
62
  end
63
63
 
64
+ opts.on('--header HEADER', '-H') do |header|
65
+ key, value = header.split(':', 2)
66
+ config.headers[key.strip] = value.strip
67
+ end
68
+
64
69
  opts.on('--json', '-j') do
65
70
  config.json = true
66
71
  end
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.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune