gunter_reporter 0.1.9 → 0.1.10

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
  SHA256:
3
- metadata.gz: 3826c75ee2fd39979d0be53ad285fb501e4faab8c5576ed16eb27b1f7ad62a74
4
- data.tar.gz: 92201967a9c8fa9753018580b97ff63936a25d86469db4d5ce5dbb2c07c0a65b
3
+ metadata.gz: a9ca1f4aa36497e4d829b5e19651dd19676a9a5db3c2b7b6fd4729e622f488d4
4
+ data.tar.gz: f1e63d5d6c3d6c9da63fd748cba08b665129a5038cf3a6314fc756f7d1f8f68f
5
5
  SHA512:
6
- metadata.gz: 69cf1ac045554e0439473c1e38d1db47f8ab6e899fb3c7f19fbdbfc8ebd629f9873bd2a84fbb7c9e6eaec6320f45d941af99731464d0fa8fbbd0cd1dde261ca6
7
- data.tar.gz: b7e3bc74dbd4ba59ed56dee235cfdcfc81632ea9e8201b2c7866b8a83ace7afc149dab64b9212cc51046af74a71519b0129ee871e53cd9f601959b9bc2bf638b
6
+ metadata.gz: 3c4f0385badcbf32c83b604b52be6815b0f83eef0ec1d02820d580a42e67e9b81e394ea3ed43cd6b53b3529a624f4041326bc118d5ee10e4d79384a85a4609ab
7
+ data.tar.gz: 8043d1846ba297aa9e67e734c38695d906c92188557fd3529e5adfe582209d7cd583f8afba7616064cb4a42e119131085ecbcf0469a1d320a8e91a694cdc4cb1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gunter_reporter (0.1.9)
4
+ gunter_reporter (0.1.10)
5
5
  xml-simple (~> 1.1, >= 1.1.5)
6
6
 
7
7
  GEM
@@ -27,7 +27,8 @@ class GunterReporter
27
27
  print_result(response)
28
28
  response
29
29
  end
30
- JSON.parse(responses.first&.body)
30
+ response_body = responses.first&.body || '{}'
31
+ JSON.parse(response_body)
31
32
  end
32
33
 
33
34
  private
@@ -1,3 +1,3 @@
1
1
  class GunterReporter
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gunter_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Calaway
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-simple