nice_json_api 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/nice_json_api.rb +1 -1
- data/lib/nice_json_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c08de4d52ea093b04ceb845b874e651e9ea43d38229bf7452559e449866f030a
|
4
|
+
data.tar.gz: dc5a59e5d06b41397055b022f43a19a6a114f332ea541963970e40b0f9cbcce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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/
|
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).
|
data/lib/nice_json_api.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2018-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|