ring-sqa 0.2.0 → 0.2.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
2
  SHA1:
3
- metadata.gz: 99cc3a56c2d9e8e6329bf9294c17aec88f20efdb
4
- data.tar.gz: b8c76dec0573012dfffe3d3fb8daadbee85a32ee
3
+ metadata.gz: 25c8208dc0edbfafa044993cfb78dd16780b07f5
4
+ data.tar.gz: b9aca6535337fb3b1f13d91b96d26e3b7ecda319
5
5
  SHA512:
6
- metadata.gz: d9e93fe548fd8969db64238ae443991f90822ee1db627fdd4dac97d5f8805e0df9bc9119b2aa11dfcc6346fa49efbee3df91662c6d9b28e884a4f320b6efd9a1
7
- data.tar.gz: eb0763fd96ba4d58f1647f3a91ffaf84c2a3ccac89220510e7145e5a26c01f021f229d72ff31e8b55fe6e99f105262e90ab0281730c54cd2a8059aad83f4bc82
6
+ metadata.gz: a7cdc36b8eb6a647626e0eed44babfeaf43eb5bbaedbc55a1b35e4ed0cc11ac4dc9d936fbc5f4db653ecebf1c405b06e0dd48af618ec962fb31d82b214bba502
7
+ data.tar.gz: d2016d09b13fbdf445996f867075e81d91f804704029cc77242dd7cba1b328b43eaa17b179b468f24d8ba8f68dceb6834dd8f54c90bf9e41ad4b610e143886f0
@@ -19,7 +19,7 @@ class Alarm
19
19
  })
20
20
  post json
21
21
  rescue => error
22
- Log.error "Post raised '#{error.class}' with message '#{error.message}'"
22
+ Log.error "Collector send raised '#{error.class}' with message '#{error.message}'"
23
23
  end
24
24
 
25
25
  private
@@ -34,7 +34,9 @@ class Alarm
34
34
  http.post uri.path, json
35
35
  end
36
36
  rescue Timeout::Error
37
- Log.error "Post timed out"
37
+ Log.error "Collector post timed out"
38
+ rescue => error
39
+ Log.error "Collector post raised '#{error.class}' with message '#{error.message}'"
38
40
  end
39
41
  end
40
42
  end
data/ring-sqa.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ring-sqa'
3
- s.version = '0.2.0'
3
+ s.version = '0.2.1'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti', 'Job Snijders' ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ring-sqa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-20 00:00:00.000000000 Z
12
+ date: 2015-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slop