orcid_client 0.5 → 0.5.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: 9c94eb56c64607a3008357a4ab9944d27eda50c4f372c17bc6bbc9f6d1be57c0
4
- data.tar.gz: 21b0fb940d89d753a785aeaf5280d49f48c044902959f77679d4275c334c01fc
3
+ metadata.gz: 391a79e686c7b24462f141990e9632c7811419e3258a361f3783bf8df7622608
4
+ data.tar.gz: 806240fee4e505148abf6d8df1278a69517597d85784e220b90e152ae2e1d17a
5
5
  SHA512:
6
- metadata.gz: c411fef2d3a0257baabca049ad08c2c9e1e9742a033c17bcf9144ed2258e6ac65651f51de97e4e1fba527b7ed0f99e1abc29791743259f67ef5dc477f777aa1b
7
- data.tar.gz: c5b95351bd429fdb6feaf707e42712867661aedebac80bbfe7b670817ab06127cd50b39f0ea1f179c325ab39fea7fa3b496cb87f336ee6fdc121b5b06e1b3d50
6
+ metadata.gz: a7883009ce43f502fbd8fda069e4f63822b9aaadad91bbd841d91906cf1c85df1f54ecd03740f65c2aad392df439b4c1042a70c2ec5ccb78b94e694b2d8c7663
7
+ data.tar.gz: 5a4d59ea445d1dafc227110895aaaace722b3cb577b974328122176357a5f15361a979fc38bf8b2236a9576d0bd10846596a58124e1d4fa0908e42aeda286337
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orcid_client (0.5)
4
+ orcid_client (0.5.1)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  bolognese (~> 1.0)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -18,6 +18,6 @@ module OrcidClient
18
18
 
19
19
  # default values for some ENV variables
20
20
  ENV['ORCID_API_URL'] ||= "https://api.sandbox.orcid.org"
21
- ENV['SOLR_URL'] ||= "https://search.datacite.org/api"
21
+ ENV['API_URL'] ||= "https://api.datacite.org"
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module OrcidClient
2
- VERSION = "0.5"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -23,7 +23,7 @@ module OrcidClient
23
23
  @doi = doi
24
24
  @orcid = orcid
25
25
  @access_token = access_token
26
- @sandbox = options.fetch(:sandbox, nil) || ENV['SOLR_URL'] == "https://search.test.datacite.org/api"
26
+ @sandbox = options.fetch(:sandbox, nil) || ENV['API_URL'] == "https://api.test.datacite.org"
27
27
  @put_code = options.fetch(:put_code, nil)
28
28
  end
29
29
 
data/spec/spec_helper.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  require 'bundler/setup'
2
2
  Bundler.setup
3
3
 
4
- ENV['SOLR_URL'] = "https://search.datacite.org/api"
5
-
6
4
  require 'simplecov'
7
5
  SimpleCov.start
8
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orcid_client
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner