what 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: 981d32ae501809db97c9ecfa0e008c0ac30639c3
4
- data.tar.gz: f0bc62ae91a0160a6b379713faf48ae0520d2401
5
- !binary "U0hBNTEy":
6
- metadata.gz: 80f206116b95c03ef3cf75e9f71a4d19329c7ef488ff82c7e4431af9530b4bdef841a1b902304df27822cc6b4a26b1162f0c5d1c539a605978acaa2ae830ae41
7
- data.tar.gz: 92978e5eb27da1dd62eeb8d9ee5d8a6fd50ec92ebffe48b58d8c389774e4cbe91d510f7eba16db61029f6cb624b52699d192878fd344613dd13fa7f8337b7e97
2
+ SHA1:
3
+ metadata.gz: 13f0b79b5b09d520af835e179080e95404076d60
4
+ data.tar.gz: 2dfe5ae31ff0db89c854d26503979bfaac3c0301
5
+ SHA512:
6
+ metadata.gz: 4b82bbc0293855b3a653b26087a7f45470d0e21a7e463b2e3f187408e68690b5089bf996c886dc461d12fa7af76cf5e05e6292c907367d3f5cafaa6cedfd836f
7
+ data.tar.gz: 90ffd1575e592515c4d3839101c88741af223c6ed71d9c57fb659e775a29f25f7b0820c0f0a69fce0332cb7088d4213e9bf14b63d1c5576e0f4db8062eca0b1a
data/lib/what/config.rb CHANGED
@@ -1,11 +1,12 @@
1
1
  module What
2
2
  class Config
3
3
  DEFAULTS = {
4
- 'interval' => 10,
5
- 'formatter' => 'json',
6
- 'configs' => [],
7
- 'module_paths' => [],
8
- 'modules' => []
4
+ 'interval' => 10,
5
+ 'formatter' => 'json',
6
+ 'configs' => [],
7
+ 'config_fragment_dir' => '/etc/what/conf.d',
8
+ 'module_paths' => [],
9
+ 'modules' => []
9
10
  }
10
11
 
11
12
  @config = {}
@@ -14,6 +15,7 @@ module What
14
15
  set_defaults
15
16
  load_primary(fn)
16
17
  load_secondary(@config['configs'])
18
+ load_secondary(Dir.glob("#{@config['config_fragment_dir']}/*.yml"))
17
19
  end
18
20
 
19
21
  def self.set_defaults
data/lib/what/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module What
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/what.gemspec CHANGED
@@ -25,5 +25,5 @@ EOS
25
25
 
26
26
  s.add_dependency("rack", ">= 1.1.2")
27
27
  s.add_dependency("json")
28
- s.add_dependency("celluloid")
28
+ s.add_dependency("celluloid", ">= 0.16.0")
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Fitzgerald
@@ -10,60 +10,55 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-04 00:00:00.000000000 Z
13
+ date: 2014-12-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ! '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.1.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ! '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: 1.1.2
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: json
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ! '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ! '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: celluloid
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ! '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '0'
49
+ version: 0.16.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ! '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: '0'
57
- description: ! 'What uses WEBrick to serve a JSON object representing the state of
58
- services
59
-
56
+ version: 0.16.0
57
+ description: |
58
+ What uses WEBrick to serve a JSON object representing the state of services
60
59
  running on a machine. It currently includes modules for monitoring Unicorn
61
-
62
60
  workers, checking for the existence of files and processes, and combining
63
-
64
61
  the output of other What servers.
65
-
66
- '
67
62
  email:
68
63
  - rwfitzge@gmail.com
69
64
  - rpjlower@gmail.com
@@ -74,7 +69,7 @@ executables:
74
69
  extensions: []
75
70
  extra_rdoc_files: []
76
71
  files:
77
- - .gitignore
72
+ - ".gitignore"
78
73
  - Gemfile
79
74
  - LICENSE
80
75
  - README.md
@@ -114,17 +109,17 @@ require_paths:
114
109
  - lib
115
110
  required_ruby_version: !ruby/object:Gem::Requirement
116
111
  requirements:
117
- - - ! '>='
112
+ - - ">="
118
113
  - !ruby/object:Gem::Version
119
114
  version: '0'
120
115
  required_rubygems_version: !ruby/object:Gem::Requirement
121
116
  requirements:
122
- - - ! '>='
117
+ - - ">="
123
118
  - !ruby/object:Gem::Version
124
119
  version: '0'
125
120
  requirements: []
126
121
  rubyforge_project: what
127
- rubygems_version: 2.0.3
122
+ rubygems_version: 2.0.14
128
123
  signing_key:
129
124
  specification_version: 4
130
125
  summary: Simple server monitoring tool