watch_list 0.1.0 → 0.1.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: 39b08a35fba945bc674c19dfa99ae9d5b95a04aa
4
- data.tar.gz: 82e8aee260fb85a80e6571e24f9ad48113e69d17
3
+ metadata.gz: 4e97e426ed3f34dafac855f270c178ef6219fdd3
4
+ data.tar.gz: f17a5fda4613c6aefc8387d92ab2ef7be2ab039d
5
5
  SHA512:
6
- metadata.gz: 044e5aad31ee6923634bb761da3b0ddcc41161beb267c034c70afe78240802ae020536a9e8e7bfa5ba81762a35810634ae746fc660f57d8a391a23eb0365c567
7
- data.tar.gz: f7924b7d7588da20d96ae02519538c577c6fec9f2d872109c4f27906d216db55467b716ae64537aa07b0cf6423f5e219fd036a599c15f4dddcbd6892db47ce81
6
+ metadata.gz: 088cececf8fa874b876d782cc67e63f103e3af88cdea917fc1502c6bc506b325ca39092ae8a368106a56035fd09aba17eb57a17129d6c1d4e9d1be67c4e5c95a
7
+ data.tar.gz: 19ab595278b1f340d95c3ef410ccaa828442ba26ec1b0b85ba74ebb5267cd31aef70345fdb891a88d4a0c5a542201e5a5350e670b43f241a7e779f3291c56b7e
@@ -23,7 +23,7 @@ class WatchList::Client
23
23
 
24
24
  if block_given?
25
25
  exported.each do |name, attrs|
26
- dsl = WatchList::DSL.convert({name => attrs}, @options).strip
26
+ dsl = WatchList::DSL.convert({name => attrs}, @options)
27
27
  yield(name, dsl) unless dsl.empty?
28
28
  end
29
29
  else
@@ -23,7 +23,7 @@ class WatchList::DSL::Converter
23
23
  [
24
24
  output_monitors(@exported[:monitors]),
25
25
  output_alert_contacts(@exported[:alert_contacts]),
26
- ].join("\n\n")
26
+ ].join("\n\n").strip
27
27
  end
28
28
 
29
29
  private
@@ -1,3 +1,3 @@
1
1
  module WatchList
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watch_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara