dashing-contrib 0.1.9 → 0.1.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a79a4e71c883e08ad72e183b4d43dbcac32b862d
4
- data.tar.gz: a25954bc7c522e93f71d7eb0f4eee8e49bed1009
3
+ metadata.gz: c58bdffbdf4053e9896e46d893283a945fcd7f9b
4
+ data.tar.gz: 658899104cf8971f4749536ae459af80afe9f49c
5
5
  SHA512:
6
- metadata.gz: 5c72b859ba74a95c699bb302f1c65c0f07bdb823b5c87a64b968394c732355457892ac528e536ffdab8b0d8e96a827f9b18a57d76d8875ab0d368d964b5d3658
7
- data.tar.gz: 25010f20a985253dd59dd727213e3294484fedede64ecfb982148229f526da80f1231c9a1f89309b61d37a8ad0ddae3ea5baa936bcaafa56dfc0b2a3138d32bb
6
+ metadata.gz: 37c91d00c21d67becc91c71d0534ff60b035baa1f79f9960346673f5db1044965cbfba1059c461e8084c9741140478fa9a1f719891d359589f1eaef6127c1c4c
7
+ data.tar.gz: 8c4179ff3e8bc65518fe333639acfad96df94408e18f40a25b243f4586c3ab4f0efa2ad95dd53fb4596a4c13a331f0e411c14a48590c8835f28ccd05b2d8ce89
data/README.md CHANGED
@@ -18,7 +18,7 @@ Read each individual widget documentation to use dashing-contrib built-in widget
18
18
  ## Installation
19
19
  Requires Ruby >= 1.9.3. Add this line to your Dashing's dashboard Gemfile:
20
20
 
21
- gem 'dashing-contrib', '~> 0.1.9'
21
+ gem 'dashing-contrib', '~> 0.1.10'
22
22
 
23
23
  Update dependencies:
24
24
 
@@ -6,7 +6,7 @@ module DashingContrib
6
6
  attr_reader :client
7
7
 
8
8
  def initialize(options = {})
9
- @client = NagiosHarder::Site.new(options[:endpoint], options[:username], options[:password], options[:version], options[:time_format])
9
+ @client = NagiosHarder::Site.new(options[:endpoint], options[:username], options[:password], options[:version], options[:time_format], options[:verify_ssl])
10
10
  end
11
11
 
12
12
  def status(options = {})
@@ -18,7 +18,8 @@ module DashingContrib
18
18
  endpoint: options[:endpoint],
19
19
  password: options[:password],
20
20
  version: options[:version] || 3,
21
- time_format: options[:time_format] || 'iso8601'
21
+ time_format: options[:time_format] || 'iso8601',
22
+ verify_ssl: options[:verify_ssl] || true,
22
23
  })
23
24
 
24
25
  client.status(options[:nagios_filter] || {})
@@ -1,3 +1,3 @@
1
1
  module DashingContrib
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dashing-contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jing Dong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv