hinoki 1.2.1 → 1.3.0
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 +4 -4
- data/lib/hinoki/config.rb +1 -1
- data/lib/hinoki/version.rb +1 -1
- metadata +2 -10
- data/spec/hinoki/aggregates_spec.rb +0 -0
- data/spec/hinoki/checks_spec.rb +0 -0
- data/spec/hinoki/clients_spec.rb +0 -17
- data/spec/hinoki/events_spec.rb +0 -0
- data/spec/hinoki/generic_spec.rb +0 -0
- data/spec/hinoki/stashes_spec.rb +0 -0
- data/spec/hinoki_spec.rb +0 -4
- data/spec/spec_helper.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6526cf9b1b85f55f001d4d3fe587c57919e1ae59
|
4
|
+
data.tar.gz: 823f01aa8524a96f2ee0b409c2e9ca2847452968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbbb150fed32133c3d4266c4d9387cf5993968b1aa38147593844e0fa3e97532c9d668609aac4721417a0d3cb8a8a1ce9e0045c2365269625458b0f5b979800e
|
7
|
+
data.tar.gz: 4f4b87260f9f84003941a5a5eb3b7b243128ab84018219559dedc1b662bd14f1df353c2053055a23ae08f6987e7c00b5bfd3e9eb225cbaf7a044c1eafb4076c1
|
data/lib/hinoki/config.rb
CHANGED
@@ -15,7 +15,7 @@ class Hinoki
|
|
15
15
|
private
|
16
16
|
|
17
17
|
# Reads the base config file and parses it to a hash
|
18
|
-
def parse_config_file(path=File.join(ENV['HOME']
|
18
|
+
def parse_config_file(path=File.join(ENV['HOME'] || '/etc', '.hinoki'))
|
19
19
|
if !File.exists?(path)
|
20
20
|
puts 'I was unable to find your Hinoki config file!'
|
21
21
|
return defaults
|
data/lib/hinoki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hinoki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A programmatic CLI utility for interacting with the Sensu API
|
14
14
|
email: jake.davis5989@gmail.com
|
@@ -29,14 +29,6 @@ files:
|
|
29
29
|
- lib/hinoki/events.rb
|
30
30
|
- lib/hinoki/stashes.rb
|
31
31
|
- lib/hinoki/version.rb
|
32
|
-
- spec/hinoki/aggregates_spec.rb
|
33
|
-
- spec/hinoki/checks_spec.rb
|
34
|
-
- spec/hinoki/clients_spec.rb
|
35
|
-
- spec/hinoki/events_spec.rb
|
36
|
-
- spec/hinoki/generic_spec.rb
|
37
|
-
- spec/hinoki/stashes_spec.rb
|
38
|
-
- spec/hinoki_spec.rb
|
39
|
-
- spec/spec_helper.rb
|
40
32
|
homepage: http://github.com/jakedavis/hinoki
|
41
33
|
licenses:
|
42
34
|
- Apache 2.0
|
File without changes
|
data/spec/hinoki/checks_spec.rb
DELETED
File without changes
|
data/spec/hinoki/clients_spec.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'json'
|
3
|
-
|
4
|
-
describe Hinoki::Clients do
|
5
|
-
before do
|
6
|
-
@hinoki = Hinoki.new(host: 'hinoki.test', port: 4567)
|
7
|
-
end
|
8
|
-
|
9
|
-
describe '#all' do
|
10
|
-
it 'should return a list of all clients' do
|
11
|
-
stub_request(:get, "http://hinoki.test:4567/clients")
|
12
|
-
|
13
|
-
@hinoki.clients.all.should be_a(Array)
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
data/spec/hinoki/events_spec.rb
DELETED
File without changes
|
data/spec/hinoki/generic_spec.rb
DELETED
File without changes
|
data/spec/hinoki/stashes_spec.rb
DELETED
File without changes
|
data/spec/hinoki_spec.rb
DELETED
data/spec/spec_helper.rb
DELETED