riemann-ssllabs 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/riemann-ssllabs +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f3aabec461a5f37bab6a9810c7d95edf31aeb72
4
- data.tar.gz: 5baa1aa8b0d2fc61c40dfbe373b34a735f31c2f2
3
+ metadata.gz: da0bf923b1a0a0e2fb84e498234521d41a27bf99
4
+ data.tar.gz: 7b7545737e14fedd17cf82427193ddcabe67b6c4
5
5
  SHA512:
6
- metadata.gz: ffaeb3a138d61ec7acc1250371f22cd5be2abc41eb4a1725b03ec764554e4c624bbc6878b99f69c9a784b285fb7c972a8fda9cef7b15dc1e92d38a23a1e47d1d
7
- data.tar.gz: 952cba6d48b98176f3c79812d03b0e4a25d158948b75069e26d58129e78d5213b8db5c274de0677708462baf53948cb60d79d93d512a53a4cad59b4cea603ddb
6
+ metadata.gz: ffa1c8deabcda6b2b72f8c0e7fdd3c9edc66e0b6d910986a05cf173ec2cab03e5563b71f18d594bada57bd7ace43039188e46af3cb27598857c3def265c166c1
7
+ data.tar.gz: eb5921f920f3cfd087477f9386c2b46675b8ab8d59abb45ac0d4c05475e7ac83cfc4e3ed02816ce968db8b1708e3f61dabe8c3350128b36177c2336390952fd0
data/bin/riemann-ssllabs CHANGED
@@ -10,7 +10,7 @@ class Riemann::Tools::Ssllabs
10
10
  require 'ssllabs'
11
11
  require 'json'
12
12
 
13
- opt :ssllab_host, "ssllab host", :default => 'google.com'
13
+ opt :ssllabs_host, "ssllabs host", :default => 'google.com'
14
14
 
15
15
  def initialize
16
16
  options[:interval] = 3600
@@ -19,12 +19,12 @@ class Riemann::Tools::Ssllabs
19
19
 
20
20
  def tick
21
21
  api = ::Ssllabs::Api.new
22
- r = api.analyse(host: opts[:ssllab_host], publish: 'off', startNew: 'on')
22
+ r = api.analyse(host: opts[:ssllabs_host], publish: 'off', startNew: 'on')
23
23
  puts JSON.generate(r)
24
24
 
25
25
  while r.status != "READY" and r.status != "ERROR" do
26
26
  sleep(5)
27
- r = api.analyse(host: opts[:ssllab_host], publish: 'off')
27
+ r = api.analyse(host: opts[:ssllabs_host], publish: 'off')
28
28
  puts JSON.generate(r)
29
29
  end
30
30
 
@@ -46,7 +46,7 @@ class Riemann::Tools::Ssllabs
46
46
  puts "numeric grade: " + numeric_grade.to_s
47
47
 
48
48
  data = {
49
- :host => opts[:ssllab_host],
49
+ :host => opts[:ssllabs_host],
50
50
  :service => "ssllab-grade",
51
51
  :metric => numeric_grade,
52
52
  :tags => ['ssllab']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-ssllabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Wong