bok_choy 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/bok_choy.gemspec +1 -1
- data/lib/bok_choy/error.rb +6 -6
- data/lib/bok_choy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0af780bde560345f4d936f5fcd3efe6ba54f62859352f106a6d46dd1f076118b
|
4
|
+
data.tar.gz: da3226c89b622eaf26d04bef06f9db84044f2c6e79983ca58e5cb408b792b08e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04e4456d86a9375bb112b89202347ae0314e7d9b9d9262681190a1c9918f66441a9f534b8f4ad16148b0522249d2357d10c2f54ee9245f9d3f7c4c58ac626d1b
|
7
|
+
data.tar.gz: 0f05e72fec74c81b591e3ad0d9b76c46d56190756be52ba08dc41dfe7513373419e83467e4835fb0cc139bbde08853be9c6fce245a9d59676256926da930c679
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/bok_choy.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = ["gdower@illinois.edu"]
|
10
10
|
|
11
11
|
s.summary = "BHL Names Client"
|
12
|
-
s.description = "Bok Choy is a low-level wrapper around the
|
12
|
+
s.description = "Bok Choy is a low-level wrapper around the BHLnames API."
|
13
13
|
s.homepage = "https://github.com/SpeciesFileGroup/bok_choy"
|
14
14
|
s.license = "NCSA"
|
15
15
|
s.required_ruby_version = ">= 2.4.0"
|
data/lib/bok_choy/error.rb
CHANGED
@@ -4,21 +4,21 @@ module BokChoy
|
|
4
4
|
# Custom error class for rescuing from all BokChoy errors
|
5
5
|
class Error < StandardError; end
|
6
6
|
|
7
|
-
# Raised when
|
7
|
+
# Raised when BHLnames returns the HTTP status code 400
|
8
8
|
class BadRequest < Error; end
|
9
9
|
|
10
|
-
# Raised when
|
10
|
+
# Raised when BHLnames returns the HTTP status code 404
|
11
11
|
class NotFound < Error; end
|
12
12
|
|
13
|
-
# Raised when
|
13
|
+
# Raised when BHLnames returns the HTTP status code 500
|
14
14
|
class InternalServerError < Error; end
|
15
15
|
|
16
|
-
# Raised when
|
16
|
+
# Raised when BHLnames returns the HTTP status code 502
|
17
17
|
class BadGateway < Error; end
|
18
18
|
|
19
|
-
# Raised when
|
19
|
+
# Raised when BHLnames returns the HTTP status code 503
|
20
20
|
class ServiceUnavailable < Error; end
|
21
21
|
|
22
|
-
# Raised when
|
22
|
+
# Raised when BHLnames returns the HTTP status code 504
|
23
23
|
class GatewayTimeout < Error; end
|
24
24
|
end
|
data/lib/bok_choy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bok_choy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoff Ower, Matt Yoder
|
@@ -160,7 +160,7 @@ dependencies:
|
|
160
160
|
- - ">="
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
|
-
description: Bok Choy is a low-level wrapper around the
|
163
|
+
description: Bok Choy is a low-level wrapper around the BHLnames API.
|
164
164
|
email:
|
165
165
|
- gdower@illinois.edu
|
166
166
|
executables: []
|
@@ -192,7 +192,7 @@ licenses:
|
|
192
192
|
metadata:
|
193
193
|
homepage_uri: https://github.com/SpeciesFileGroup/bok_choy
|
194
194
|
source_code_uri: https://github.com/SpeciesFileGroup/bok_choy
|
195
|
-
changelog_uri: https://github.com/SpeciesFileGroup/bok_choy/releases/tag/v0.0.
|
195
|
+
changelog_uri: https://github.com/SpeciesFileGroup/bok_choy/releases/tag/v0.0.2
|
196
196
|
post_install_message:
|
197
197
|
rdoc_options: []
|
198
198
|
require_paths:
|