orcid_client 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '099e1ee3ef67b83221f3f8b666e68b9cac86aea1cd45595ece7153cd70343229'
4
- data.tar.gz: 96314f400206610f800157e0bfa48d51fa745c4e6cf93297f44f4a525767d106
3
+ metadata.gz: eccfb43c700f04c633f4d840660fc0d9a6c958ba4d6125c13abd5820613e266a
4
+ data.tar.gz: d501455a85b229ab850475f59070c6322ac388bc0ccbb503890e255273dce2b1
5
5
  SHA512:
6
- metadata.gz: fdfacd654a0b413ae1322290cf7e55df88cf1b9ba99c254f9b73c14680657109a65b629bfdd912c03a236dceca0b39c768b00d60dc32df8c1e6000abbf90b5ef
7
- data.tar.gz: ed9a9d061a9a950b72902f07acc6a9b5ad4e34d7af229f3d437daa77d47f6f436010a75eda21e115c1e997d79a4a9d1dc8cc6c586010643aa4bab08325bf10a0
6
+ metadata.gz: 4e10154a60947efbef566bca680275c86eaf6b1a773df9e4e94f89b2d5f676dcdade71b33e51f6c9031c93cfd366657410566874294b81fa6e88c8d5ca406d30
7
+ data.tar.gz: 995196a4ab03a592fa8afea5a86d914c36a8298caecec9aba7825b01a6b053c696ef3460dd88606507f68209ee8b840b3ee942f4d17730672dda59cdf75a2591
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.7.1](https://github.com/datacite/orcid_client/tree/0.9.7.1) (2021-10-08)
4
+
5
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/0.9.7...0.9.7.1)
6
+
3
7
  ## [0.9.7](https://github.com/datacite/orcid_client/tree/0.9.7) (2021-10-08)
4
8
 
5
9
  [Full Changelog](https://github.com/datacite/orcid_client/compare/0.9.6...0.9.7)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orcid_client (0.9.7)
4
+ orcid_client (0.9.8)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  bolognese (~> 1.3, >= 1.9.8)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -1,3 +1,3 @@
1
1
  module OrcidClient
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
@@ -17,7 +17,7 @@ module OrcidClient
17
17
 
18
18
  include Bolognese::Utils
19
19
 
20
- attr_reader :doi, :orcid, :schema, :orcid_token, :sandbox, :put_code, :visibility, :validation_errors, :name_detector
20
+ attr_reader :doi, :orcid, :schema, :orcid_token, :sandbox, :put_code, :agency, :visibility, :validation_errors, :name_detector
21
21
 
22
22
  attr_writer :visibility
23
23
 
@@ -27,6 +27,7 @@ module OrcidClient
27
27
  @orcid_token = orcid_token
28
28
  @sandbox = options.fetch(:sandbox, nil) || ENV['API_URL'] == "https://api.stage.datacite.org"
29
29
  @put_code = options.fetch(:put_code, nil)
30
+ @agency = options.fetch(:agency, nil)
30
31
  @visibility = options.fetch(:visibility, 'public')
31
32
  end
32
33
 
@@ -38,7 +39,7 @@ module OrcidClient
38
39
  end
39
40
 
40
41
  def metadata
41
- @metadata ||= Bolognese::Metadata.new(input: doi, sandbox: sandbox)
42
+ @metadata ||= Bolognese::Metadata.new(input: doi, sandbox: sandbox, from: agency)
42
43
  end
43
44
 
44
45
  def contributors
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.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner