sensu-settings 0.0.6 → 0.0.7

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
2
  SHA1:
3
- metadata.gz: d277de9e92b8519137b265ed9666ce0cce3aaa06
4
- data.tar.gz: 38c20f11b6b6cb115caf7d75e7222568794f94a0
3
+ metadata.gz: 690063711717849124c05c9309e8de85ff2acb18
4
+ data.tar.gz: d428097e014e10a55908740b4e674845ca3f629c
5
5
  SHA512:
6
- metadata.gz: 77b6db2d55c2e48c2f3185da13d5a867f84b66980abef62e2925332ea85de93b6c6b395541bb148688b70219162f1ab25bafeed2f4ffc86d84150c69f884ffbf
7
- data.tar.gz: 1f9b6cbce8d495d96ef5cded2066be88a853219e901db0d65f8d2fe94dfb92b57654813ce70b51dc057c28894da6dfc8beaa3a59b8114a7a970da00bae111eea
6
+ metadata.gz: bd127578469e2dfd40ba961e7a5424ac4d226fab9de7fe5648675070817a4929f400ff3edf9735543827ae665732e18c350c09cd6fe8a40ea2331618213090a9
7
+ data.tar.gz: eb0d64cedec2802613cc59b9f7d00146f83b0904c03b830c51c230e385974baa157118a8c069328bf7554fddbe73ccef9407b9a36f9abd015e3fa3b4d25d6b6c
@@ -10,8 +10,6 @@ module Sensu
10
10
  if is_a_hash?(transport)
11
11
  must_be_a_string_if_set(transport[:name]) ||
12
12
  invalid(transport, "transport name must be a string")
13
- must_be_boolean_if_set(transport[:reconnect_on_error]) ||
14
- invalid(transport, "transport reconnect_on_error must be boolean")
15
13
  else
16
14
  invalid(transport, "transport must be a hash")
17
15
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-settings"
5
- spec.version = "0.0.6"
5
+ spec.version = "0.0.7"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu settings library, loader and validator"
@@ -37,12 +37,6 @@ describe "Sensu::Settings::Validator" do
37
37
  transport[:name] = "rabbitmq"
38
38
  @validator.validate_transport(transport)
39
39
  @validator.reset.should eq(0)
40
- transport[:reconnect_on_error] = 1
41
- @validator.validate_transport(transport)
42
- @validator.reset.should eq(1)
43
- transport[:reconnect_on_error] = false
44
- @validator.validate_transport(transport)
45
- @validator.reset.should eq(0)
46
40
  end
47
41
 
48
42
  it "can run, validating transport" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter