gnfinder 1.0.0 → 1.0.4
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 +4 -4
- data/README.md +2 -2
- data/lib/gnfinder/client.rb +1 -1
- data/lib/gnfinder/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: 6533835230c8a928ed7d9a5e3888b32e02e45a96996c3dfd29343f6e294572ca
|
|
4
|
+
data.tar.gz: 3863843e5ac5f22515fde20b56359ffa31f04cf3bdbdfa08b4ec877f7f503a54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b732a954bef1b95c2c5a12b89342a93aadeae828abc8b625907dc06d35679ed843859973a18e4a64fd352cb16987b48ac497d9de14e44a2a8963c4d28cfee09c
|
|
7
|
+
data.tar.gz: 5399b6977999cb10e0d8eceedf1c0b3a2fb4db6d14ea31ab5eb953fc57ecbf95162eaa5cb16c96709ddaf2577086df2011f48604211ddb35beeb0f852ccca39a
|
data/README.md
CHANGED
|
@@ -28,7 +28,7 @@ accessed either locally or via a URL.
|
|
|
28
28
|
|
|
29
29
|
This gem uses REST API to access a running [GNfinder] server. You can find how
|
|
30
30
|
to run it in [GNfinder] README file. By default it uses
|
|
31
|
-
`https://
|
|
31
|
+
`https://finder.globalnames.org/api/v1`
|
|
32
32
|
|
|
33
33
|
## Installation
|
|
34
34
|
|
|
@@ -52,7 +52,7 @@ gf = Gnfinder::Client.new
|
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
By default the client will try to connect to
|
|
55
|
-
`https://
|
|
55
|
+
`https://finder.globalnames.org/api/v1`. If you have another location for the
|
|
56
56
|
server use:
|
|
57
57
|
|
|
58
58
|
```ruby
|
data/lib/gnfinder/client.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Gnfinder
|
|
4
4
|
# Gnfinder::Client connects to gnfinder server
|
|
5
5
|
class Client
|
|
6
|
-
def initialize(host = 'https://
|
|
6
|
+
def initialize(host = 'https://finder.globalnames.org', port = '')
|
|
7
7
|
api_path = '/api/v1'
|
|
8
8
|
url = host + api_path
|
|
9
9
|
url = "#{host}:#{port}#{api_path}" if port.to_s != ''
|
data/lib/gnfinder/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gnfinder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Mozzherin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
180
180
|
- !ruby/object:Gem::Version
|
|
181
181
|
version: '0'
|
|
182
182
|
requirements: []
|
|
183
|
-
rubygems_version: 3.3.
|
|
183
|
+
rubygems_version: 3.3.26
|
|
184
184
|
signing_key:
|
|
185
185
|
specification_version: 4
|
|
186
186
|
summary: Scientific names finder
|