nice_json_api 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 855bcc473a81ee294429eaffaac2b91350436f5315c87ea79ad86615e43e7e39
4
- data.tar.gz: 3603155c677271558df18ddac2afe1e534f4db267758566b76e7cba5959f742c
3
+ metadata.gz: c08de4d52ea093b04ceb845b874e651e9ea43d38229bf7452559e449866f030a
4
+ data.tar.gz: dc5a59e5d06b41397055b022f43a19a6a114f332ea541963970e40b0f9cbcce7
5
5
  SHA512:
6
- metadata.gz: 5eb514697bd13319a32b11c2d60087b57079734a7ae44bb2237958578e27062b4e42ee80f4759c57341972e44ffad533a977d135d649b0e1c39bcbcd07ec95d5
7
- data.tar.gz: 1895ea45fe3020bda021d0109e1a3eb379e6d283b680838e4ca1b008cb37ab8b7fa66d04d44e57e6617f564c906f08ff5ced7406ff7fbf3b5a195e7aeefb57d5
6
+ metadata.gz: 14b9f45f4f0cb74039362ad9066b368d51c3216864901e01f643c7fb2bfc8f0df7097a15f1809cee5ab54faf19f9e4d3e57cfa8c6914c92231472930ac0141ef
7
+ data.tar.gz: b1ccab1e90921911bbbe4212ba957880e965b3205798cc6fac61b6f022c3e74bde0eff1c9096fe1685a346faae91a550e32e54c069181a2ca53b653f0cdc824e
data/README.md CHANGED
@@ -66,7 +66,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
66
66
 
67
67
  ## Contributing
68
68
 
69
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nice_json_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
69
+ Bug reports and pull requests are welcome on GitHub at https://github.com/andycroll/nice_json_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
70
70
 
71
71
  ## License
72
72
 
@@ -74,4 +74,4 @@ The gem is available as open source under the terms of the [MIT License](http://
74
74
 
75
75
  ## Code of Conduct
76
76
 
77
- Everyone interacting in the NiceJsonApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/nice_json_api/blob/master/CODE_OF_CONDUCT.md).
77
+ Everyone interacting in the NiceJsonApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/andycroll/nice_json_api/blob/master/CODE_OF_CONDUCT.md).
@@ -56,7 +56,7 @@ module NiceJsonApi
56
56
  end
57
57
  rescue Errno::ECONNREFUSED
58
58
  NullResponse.new('499', '{}', 'Host not found')
59
- rescue Errno::EHOSTUNREACH
59
+ rescue Errno::EHOSTUNREACH, Errno::ECONNRESET
60
60
  fetch(uri, method: method, body: body, limit: --limit, auth: auth)
61
61
  end
62
62
  # rubocop:enable Metrics/MethodLength
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NiceJsonApi
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nice_json_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-05 00:00:00.000000000 Z
11
+ date: 2018-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler