dashing-contrib 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/dashing-contrib/bottles/nagios/client.rb +1 -1
- data/lib/dashing-contrib/jobs/nagios_list.rb +2 -1
- data/lib/dashing-contrib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c58bdffbdf4053e9896e46d893283a945fcd7f9b
|
4
|
+
data.tar.gz: 658899104cf8971f4749536ae459af80afe9f49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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] || {})
|
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.
|
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-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|