bananomia 0.1.0 → 0.1.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: 48e0800c6a9ffdb8246a78a685a2117c23c8210f16e06c80ccae905a774897d6
4
- data.tar.gz: 31f8e82c05f848423df644b365a923af0faa4f03b38e19dcffeafe0d5b680232
3
+ metadata.gz: 74d4fd4a9fd7bc41252730fc5aff86078f90dae153495ca70e1c9042207d49d2
4
+ data.tar.gz: 48b0d9f01205194aaf5afd501541f4e059edb830bd32f53af2604afefde81bb6
5
5
  SHA512:
6
- metadata.gz: '09faf121be5e1d1329bad96caac27976e768ee95c784d3ab185c35a84309be1282d3ff11f331de8e0f78b821c7f1bbe407a40eebe9af292e7bb56214b77035a7'
7
- data.tar.gz: 8a1709dfed31dd27c2b83aad10bdfcc20c5ccc5ccd3689902904e66d5f7ca829ee385bc13ef2627c414610a5e3ac11347300b61ca38489c168d59d3d914b8944
6
+ metadata.gz: 51681e131a00e0e391f2541d831005689d49325e42bb5289df43cf10ee1ea34db231cc5fd1b578c7fa3face57e7ed1ce308707ea11e1184ddef4662eeb14baac
7
+ data.tar.gz: 1a9ed0d7462fcc37c050016b99dbe2e804c1a340864141b06fa0016cc02deed4393b41a08f850baab07e9d1de9d27e9fae126b6f5588bd273080ee17e6434eb4
@@ -10,7 +10,7 @@ jobs:
10
10
  - name: Set up Ruby
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
- ruby-version: 3.1.3
13
+ ruby-version: 3.3.4
14
14
  bundler-cache: true
15
15
  - name: Run the default task
16
16
  run: bundle exec rake
data/.gitignore CHANGED
@@ -6,4 +6,6 @@
6
6
  /doc/
7
7
  /pkg/
8
8
  /spec/reports/
9
- /tmp/
9
+ /tmp/
10
+ /logo
11
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.1] - 2024-09-11
4
+ - Updated documentation
5
+ - Removed Gemfile.lock
6
+ - Bumped development depency versions to avoid CVE-2024-43398
7
+
3
8
  ## [0.1.0] - 2022-01-20
4
9
 
5
10
  - Initial release
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Bananomia
2
2
 
3
- This is a Ruby wrapper on the [Bionomia](https://bionomia.net) API. Code follow the spirit/approach of the Gem [serrano](https://github.com/sckott/serrano), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).
3
+ ![Bananomia logo](https://github.com/SpeciesFileGroup/bananomia/assets/8573609/cb3f07e6-081f-4187-a11f-3aa1f8b24106)
4
+
5
+ Bananomia is a Ruby wrapper on the [Bionomia](https://bionomia.net) API. Code follow the spirit/approach of the Gem [serrano](https://github.com/sckott/serrano), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).
4
6
 
5
7
  ## Installation
6
8
 
@@ -105,7 +107,7 @@ Bananomia.occurrence('477976412') # => JSON-LD object
105
107
 
106
108
  Parse authorships with names separated by `;` and each authorship set separated by `\r\n`:
107
109
  ```ruby
108
- Bananomia.parse(names: 'Henry Robert Nicollon des Abbayes; Groom Q\r\nMrs. John Errol Chandos Aberdeen') # => MultiJson object
110
+ Bananomia.parse('Henry Robert Nicollon des Abbayes; Groom Q\r\nMrs. John Errol Chandos Aberdeen') # => MultiJson object
109
111
  ```
110
112
 
111
113
  ---
@@ -114,7 +116,7 @@ Bananomia.parse(names: 'Henry Robert Nicollon des Abbayes; Groom Q\r\nMrs. John
114
116
 
115
117
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
116
118
 
117
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
119
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, update the `CHANGELOG.md`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
118
120
 
119
121
  ## Contributing
120
122
 
data/bananomia.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.description = "Bananomia is a low-level wrapper around the Bionomia API."
13
13
  s.homepage = "https://github.com/SpeciesFileGroup/bananomia"
14
14
  s.license = "NCSA"
15
- s.required_ruby_version = ">= 2.4.0"
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
 
@@ -33,22 +33,17 @@ Gem::Specification.new do |s|
33
33
  # s.add_dependency "example-gem", "~> 1.0"
34
34
 
35
35
  s.add_development_dependency "bundler", "~> 2.1", ">= 2.1.4"
36
- # s.add_development_dependency "codecov", "~> 0.5.0"
37
- # s.add_development_dependency "json", "~> 2.3", ">= 2.3.1"
38
36
  s.add_development_dependency "rake", "~> 13.0", ">= 13.0.1"
39
- # s.add_development_dependency "standard", "~> 1.0"
40
- # s.add_development_dependency "simplecov", "~> 0.21.2"
41
37
  s.add_development_dependency "test-unit", "~> 3.3", ">= 3.3.6"
42
38
  s.add_development_dependency "vcr", "~> 6.0"
43
39
  s.add_development_dependency "webmock", "~> 3.18"
40
+ s.add_development_dependency "rexml", "~> 3.3", ">= 3.3.6"
41
+ # s.add_development_dependency "byebug"
44
42
 
45
43
  s.add_runtime_dependency "faraday", "~> 2.2"
46
44
  s.add_runtime_dependency "faraday-follow_redirects", ">= 0.1", "< 0.4"
47
45
  s.add_runtime_dependency "multi_json", "~> 1.15"
48
46
 
49
- # TODO: comment out
50
- s.add_development_dependency "byebug"
51
-
52
47
  # s.add_runtime_dependency "thor", "~> 1.0", ">= 1.0.1"
53
48
 
54
49
  # For more information and examples about making a new gem, checkout our
@@ -21,4 +21,4 @@ module Bananomia
21
21
 
22
22
  # Raised when Bionomia returns the HTTP status code 504
23
23
  class GatewayTimeout < Error; end
24
- end
24
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bananomia
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bananomia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Ower, Matt Yoder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,6 +98,26 @@ dependencies:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
100
  version: '3.18'
101
+ - !ruby/object:Gem::Dependency
102
+ name: rexml
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - "~>"
106
+ - !ruby/object:Gem::Version
107
+ version: '3.3'
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 3.3.6
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.3'
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: 3.3.6
101
121
  - !ruby/object:Gem::Dependency
102
122
  name: faraday
103
123
  requirement: !ruby/object:Gem::Requirement
@@ -146,20 +166,6 @@ dependencies:
146
166
  - - "~>"
147
167
  - !ruby/object:Gem::Version
148
168
  version: '1.15'
149
- - !ruby/object:Gem::Dependency
150
- name: byebug
151
- requirement: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: '0'
156
- type: :development
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: '0'
163
169
  description: Bananomia is a low-level wrapper around the Bionomia API.
164
170
  email:
165
171
  - gdower@illinois.edu
@@ -172,7 +178,6 @@ files:
172
178
  - CHANGELOG.md
173
179
  - CODE_OF_CONDUCT.md
174
180
  - Gemfile
175
- - Gemfile.lock
176
181
  - LICENSE.txt
177
182
  - README.md
178
183
  - Rakefile
@@ -192,7 +197,7 @@ licenses:
192
197
  metadata:
193
198
  homepage_uri: https://github.com/SpeciesFileGroup/bananomia
194
199
  source_code_uri: https://github.com/SpeciesFileGroup/bananomia
195
- changelog_uri: https://github.com/SpeciesFileGroup/bananomia/releases/tag/v0.1.0
200
+ changelog_uri: https://github.com/SpeciesFileGroup/bananomia/releases/tag/v0.1.1
196
201
  post_install_message:
197
202
  rdoc_options: []
198
203
  require_paths:
@@ -201,14 +206,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
206
  requirements:
202
207
  - - ">="
203
208
  - !ruby/object:Gem::Version
204
- version: 2.4.0
209
+ version: 2.5.0
205
210
  required_rubygems_version: !ruby/object:Gem::Requirement
206
211
  requirements:
207
212
  - - ">="
208
213
  - !ruby/object:Gem::Version
209
214
  version: '0'
210
215
  requirements: []
211
- rubygems_version: 3.4.10
216
+ rubygems_version: 3.5.11
212
217
  signing_key:
213
218
  specification_version: 4
214
219
  summary: Bionomia Client
data/Gemfile.lock DELETED
@@ -1,53 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bananomia (0.1.0)
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.7.10)
18
- faraday-net_http (>= 2.0, < 3.1)
19
- ruby2_keywords (>= 0.0.4)
20
- faraday-follow_redirects (0.3.0)
21
- faraday (>= 1, < 3)
22
- faraday-net_http (3.0.2)
23
- hashdiff (1.0.1)
24
- minitest (5.15.0)
25
- multi_json (1.15.0)
26
- power_assert (2.0.1)
27
- public_suffix (5.0.1)
28
- rake (13.0.6)
29
- rexml (3.2.5)
30
- ruby2_keywords (0.0.5)
31
- test-unit (3.5.3)
32
- power_assert
33
- vcr (6.0.0)
34
- webmock (3.18.1)
35
- addressable (>= 2.8.0)
36
- crack (>= 0.3.2)
37
- hashdiff (>= 0.4.0, < 2.0.0)
38
-
39
- PLATFORMS
40
- x86_64-linux
41
-
42
- DEPENDENCIES
43
- bananomia!
44
- bundler (~> 2.1, >= 2.1.4)
45
- byebug
46
- minitest (~> 5.0)
47
- rake (~> 13.0)
48
- test-unit (~> 3.3, >= 3.3.6)
49
- vcr (~> 6.0)
50
- webmock (~> 3.18)
51
-
52
- BUNDLED WITH
53
- 2.3.24