bok_choy 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/.gitignore +1 -0
- data/CHANGELOG.md +7 -0
- data/bok_choy.gemspec +2 -2
- data/lib/bok_choy/error.rb +6 -6
- data/lib/bok_choy/version.rb +1 -1
- metadata +4 -5
- data/Gemfile.lock +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c0f176e351a57af03be2b64c8f3b41e9dd16514057a230900424f0d08e28609
|
4
|
+
data.tar.gz: c33e18c4b41338c1d58a916cc501810a4f27db0f1add72e550507a901adb7d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 579e78cfc22b095fe3b930e3a0ec630ea90668eafd88c2b16efa7766129a8cb0a87e32056575ac934f918167b050ab79169992d284619d21bf501fe8426ae31d
|
7
|
+
data.tar.gz: f4d2363a3d23cbd93f4b5101752ee2ede20a97710078836e391833167eeda0ff1b12ccbba0d31515f5cce2236164c23006da2c4f9a2fda43aaaf1ef780bfd355
|
data/.github/workflows/main.yml
CHANGED
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/bok_choy.gemspec
CHANGED
@@ -9,10 +9,10 @@ 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
|
-
s.required_ruby_version = ">= 2.
|
15
|
+
s.required_ruby_version = ">= 2.5.0"
|
16
16
|
|
17
17
|
# s.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
|
18
18
|
|
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.3
|
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: []
|
@@ -172,7 +172,6 @@ files:
|
|
172
172
|
- CHANGELOG.md
|
173
173
|
- CODE_OF_CONDUCT.md
|
174
174
|
- Gemfile
|
175
|
-
- Gemfile.lock
|
176
175
|
- LICENSE.txt
|
177
176
|
- README.md
|
178
177
|
- Rakefile
|
@@ -192,7 +191,7 @@ licenses:
|
|
192
191
|
metadata:
|
193
192
|
homepage_uri: https://github.com/SpeciesFileGroup/bok_choy
|
194
193
|
source_code_uri: https://github.com/SpeciesFileGroup/bok_choy
|
195
|
-
changelog_uri: https://github.com/SpeciesFileGroup/bok_choy/releases/tag/v0.0.
|
194
|
+
changelog_uri: https://github.com/SpeciesFileGroup/bok_choy/releases/tag/v0.0.3
|
196
195
|
post_install_message:
|
197
196
|
rdoc_options: []
|
198
197
|
require_paths:
|
@@ -201,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
200
|
requirements:
|
202
201
|
- - ">="
|
203
202
|
- !ruby/object:Gem::Version
|
204
|
-
version: 2.
|
203
|
+
version: 2.5.0
|
205
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
205
|
requirements:
|
207
206
|
- - ">="
|
data/Gemfile.lock
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
bok_choy (0.0.1)
|
5
|
-
faraday (~> 2.2)
|
6
|
-
faraday-follow_redirects (>= 0.1, < 0.4)
|
7
|
-
multi_json (~> 1.15)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
addressable (2.8.1)
|
13
|
-
public_suffix (>= 2.0.2, < 6.0)
|
14
|
-
byebug (11.1.3)
|
15
|
-
crack (0.4.5)
|
16
|
-
rexml
|
17
|
-
faraday (2.11.0)
|
18
|
-
faraday-net_http (>= 2.0, < 3.4)
|
19
|
-
logger
|
20
|
-
faraday-follow_redirects (0.3.0)
|
21
|
-
faraday (>= 1, < 3)
|
22
|
-
faraday-net_http (3.3.0)
|
23
|
-
net-http
|
24
|
-
hashdiff (1.0.1)
|
25
|
-
logger (1.6.1)
|
26
|
-
minitest (5.15.0)
|
27
|
-
multi_json (1.15.0)
|
28
|
-
net-http (0.4.1)
|
29
|
-
uri
|
30
|
-
power_assert (2.0.1)
|
31
|
-
public_suffix (5.0.1)
|
32
|
-
rake (13.0.6)
|
33
|
-
rexml (3.2.5)
|
34
|
-
test-unit (3.5.3)
|
35
|
-
power_assert
|
36
|
-
uri (0.13.1)
|
37
|
-
vcr (6.0.0)
|
38
|
-
webmock (3.18.1)
|
39
|
-
addressable (>= 2.8.0)
|
40
|
-
crack (>= 0.3.2)
|
41
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
42
|
-
|
43
|
-
PLATFORMS
|
44
|
-
x86_64-linux
|
45
|
-
|
46
|
-
DEPENDENCIES
|
47
|
-
bok_choy!
|
48
|
-
bundler (~> 2.1, >= 2.1.4)
|
49
|
-
byebug
|
50
|
-
minitest (~> 5.0)
|
51
|
-
rake (~> 13.0)
|
52
|
-
test-unit (~> 3.3, >= 3.3.6)
|
53
|
-
vcr (~> 6.0)
|
54
|
-
webmock (~> 3.18)
|
55
|
-
|
56
|
-
BUNDLED WITH
|
57
|
-
2.3.24
|