orcid_client 0.9 → 0.9.3

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: a0d73c24088b4b09aa9c5efe1b99acd7345230e1f9d70166d85ce8367f6186c7
4
- data.tar.gz: 9365924ac2e44d79b64b54d105274a890423efdb4625e4a13a75e36a7d0dbff7
3
+ metadata.gz: c54ee4beffd194ddddac85f747fe59d79cb9f1222806205c0c7d3d16b8cb9e94
4
+ data.tar.gz: 4583cfffc685f4f99aa22f02abb916b66f471c4b3a8712f7a1530595c7621c68
5
5
  SHA512:
6
- metadata.gz: 49c0cb3cffa12e31e1a11350cf0095433fd2c857628f316753f6ccfc42395954fb49b20e6adec2d5befcd87d08497ea25a019ecb16496b874c1d063aaf87c7a6
7
- data.tar.gz: b40c823a504f4333a096fddc6e722188eb78e6cc85e558b998fbc8ebcfa60c05b6301b48461ae1e8e07d7047238d2181bf478f121538f1efa3f836b1f0ba8528
6
+ metadata.gz: 0f48f07376eb073bca4dde838e1fad24ec501042524b549d27e6423d33cdd154688ac9b142169d264f6f7680a0f7af1c28aad466d8e69195b76378dcb86c3ac3
7
+ data.tar.gz: f9aabf5c5826409115e497922341e0d2b7cc0d3b1c4029d24662540834bfb8d777920ea6a24196b3ecf0d85e6fd9b1f6a393cff0f0f631cc08533c0303a34a84
@@ -24,10 +24,10 @@ jobs:
24
24
  bundle install
25
25
  bundle exec rspec
26
26
 
27
- - name: Publish code coverage
28
- uses: paambaati/codeclimate-action@v2.7.4
29
- env:
30
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
27
+ # - name: Publish code coverage
28
+ # uses: paambaati/codeclimate-action@v2.7.4
29
+ # env:
30
+ # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
31
31
 
32
32
  - name: Notify Slack
33
33
  uses: adamkdean/simple-slack-notify@1.0.4
@@ -23,11 +23,10 @@ jobs:
23
23
  bundle install
24
24
  bundle exec rspec spec
25
25
 
26
- - name: Code Climate Test Reporter
27
- uses: aktions/codeclimate-test-reporter@v1
28
- with:
29
- codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
30
- command: after-build
26
+ # - name: Publish code coverage
27
+ # uses: paambaati/codeclimate-action@v2.7.4
28
+ # env:
29
+ # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
31
30
 
32
31
  - name: Publish to RubyGems
33
32
  run: |
data/CHANGELOG.md CHANGED
@@ -0,0 +1,157 @@
1
+ # Changelog
2
+
3
+ ## [0.9.2](https://github.com/datacite/orcid_client/tree/0.9.2) (2021-06-04)
4
+
5
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/0.9.1...0.9.2)
6
+
7
+ ## [0.9.1](https://github.com/datacite/orcid_client/tree/0.9.1) (2021-06-04)
8
+
9
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/0.9...0.9.1)
10
+
11
+ **Implemented enhancements:**
12
+
13
+ - Upgrade to ORCID schema 3.0 [\#12](https://github.com/datacite/orcid_client/issues/12)
14
+
15
+ ## [0.9](https://github.com/datacite/orcid_client/tree/0.9) (2021-06-04)
16
+
17
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.8...0.9)
18
+
19
+ **Merged pull requests:**
20
+
21
+ - Update nokogiri requirement from ~\> 1.10.4 to \>= 1.10.4, \< 1.12.0 [\#13](https://github.com/datacite/orcid_client/pull/13) ([dependabot[bot]](https://github.com/apps/dependabot))
22
+
23
+ ## [v.0.8](https://github.com/datacite/orcid_client/tree/v.0.8) (2019-10-09)
24
+
25
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.6.2...v.0.8)
26
+
27
+ ## [v.0.6.2](https://github.com/datacite/orcid_client/tree/v.0.6.2) (2019-09-14)
28
+
29
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.6.1...v.0.6.2)
30
+
31
+ ## [v.0.6.1](https://github.com/datacite/orcid_client/tree/v.0.6.1) (2019-09-14)
32
+
33
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.6.0...v.0.6.1)
34
+
35
+ ## [v.0.6.0](https://github.com/datacite/orcid_client/tree/v.0.6.0) (2019-09-14)
36
+
37
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.5.2...v.0.6.0)
38
+
39
+ ## [v.0.5.2](https://github.com/datacite/orcid_client/tree/v.0.5.2) (2019-09-01)
40
+
41
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.5.1...v.0.5.2)
42
+
43
+ ## [v.0.5.1](https://github.com/datacite/orcid_client/tree/v.0.5.1) (2018-12-30)
44
+
45
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.5...v.0.5.1)
46
+
47
+ ## [v.0.5](https://github.com/datacite/orcid_client/tree/v.0.5) (2018-12-30)
48
+
49
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.4.4...v.0.5)
50
+
51
+ **Fixed bugs:**
52
+
53
+ - update bolognese gem [\#4](https://github.com/datacite/orcid_client/issues/4)
54
+
55
+ ## [v.0.4.4](https://github.com/datacite/orcid_client/tree/v.0.4.4) (2018-12-13)
56
+
57
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.4.3...v.0.4.4)
58
+
59
+ ## [v.0.4.3](https://github.com/datacite/orcid_client/tree/v.0.4.3) (2018-12-12)
60
+
61
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.4.2...v.0.4.3)
62
+
63
+ **Merged pull requests:**
64
+
65
+ - Chore update Bolognese [\#3](https://github.com/datacite/orcid_client/pull/3) ([kjgarza](https://github.com/kjgarza))
66
+
67
+ ## [v.0.4.2](https://github.com/datacite/orcid_client/tree/v.0.4.2) (2018-04-11)
68
+
69
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.4.1...v.0.4.2)
70
+
71
+ ## [v.0.4.1](https://github.com/datacite/orcid_client/tree/v.0.4.1) (2018-04-11)
72
+
73
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.4...v.0.4.1)
74
+
75
+ ## [v.0.4](https://github.com/datacite/orcid_client/tree/v.0.4) (2018-04-11)
76
+
77
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.3.3...v.0.4)
78
+
79
+ **Closed issues:**
80
+
81
+ - Upgrade to ORCID API 2.1 [\#2](https://github.com/datacite/orcid_client/issues/2)
82
+
83
+ ## [v.0.3.3](https://github.com/datacite/orcid_client/tree/v.0.3.3) (2017-06-25)
84
+
85
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.3.2...v.0.3.3)
86
+
87
+ ## [v.0.3.2](https://github.com/datacite/orcid_client/tree/v.0.3.2) (2017-06-25)
88
+
89
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.3.1...v.0.3.2)
90
+
91
+ **Implemented enhancements:**
92
+
93
+ - Upgrade to ORCID API 2.0 [\#1](https://github.com/datacite/orcid_client/issues/1)
94
+
95
+ ## [v.0.3.1](https://github.com/datacite/orcid_client/tree/v.0.3.1) (2017-06-20)
96
+
97
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.3.0...v.0.3.1)
98
+
99
+ ## [v.0.3.0](https://github.com/datacite/orcid_client/tree/v.0.3.0) (2017-06-20)
100
+
101
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.2.3...v.0.3.0)
102
+
103
+ ## [v.0.2.3](https://github.com/datacite/orcid_client/tree/v.0.2.3) (2017-02-04)
104
+
105
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.2.2...v.0.2.3)
106
+
107
+ ## [v.0.2.2](https://github.com/datacite/orcid_client/tree/v.0.2.2) (2017-02-02)
108
+
109
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.2.1...v.0.2.2)
110
+
111
+ ## [v.0.2.1](https://github.com/datacite/orcid_client/tree/v.0.2.1) (2016-11-27)
112
+
113
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.2...v.0.2.1)
114
+
115
+ ## [v.0.2](https://github.com/datacite/orcid_client/tree/v.0.2) (2016-11-27)
116
+
117
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.8...v.0.2)
118
+
119
+ ## [v.0.1.8](https://github.com/datacite/orcid_client/tree/v.0.1.8) (2016-11-26)
120
+
121
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.7...v.0.1.8)
122
+
123
+ ## [v.0.1.7](https://github.com/datacite/orcid_client/tree/v.0.1.7) (2016-11-26)
124
+
125
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.6...v.0.1.7)
126
+
127
+ ## [v.0.1.6](https://github.com/datacite/orcid_client/tree/v.0.1.6) (2016-11-26)
128
+
129
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.5...v.0.1.6)
130
+
131
+ ## [v.0.1.5](https://github.com/datacite/orcid_client/tree/v.0.1.5) (2016-11-26)
132
+
133
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.4...v.0.1.5)
134
+
135
+ ## [v.0.1.4](https://github.com/datacite/orcid_client/tree/v.0.1.4) (2016-11-25)
136
+
137
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.3...v.0.1.4)
138
+
139
+ ## [v.0.1.3](https://github.com/datacite/orcid_client/tree/v.0.1.3) (2016-11-22)
140
+
141
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.2...v.0.1.3)
142
+
143
+ ## [v.0.1.2](https://github.com/datacite/orcid_client/tree/v.0.1.2) (2016-11-18)
144
+
145
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1.1...v.0.1.2)
146
+
147
+ ## [v.0.1.1](https://github.com/datacite/orcid_client/tree/v.0.1.1) (2016-11-18)
148
+
149
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/v.0.1...v.0.1.1)
150
+
151
+ ## [v.0.1](https://github.com/datacite/orcid_client/tree/v.0.1) (2016-11-18)
152
+
153
+ [Full Changelog](https://github.com/datacite/orcid_client/compare/294490e0ece587608be60f8d8c3085baf2f171e7...v.0.1)
154
+
155
+
156
+
157
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- orcid_client (0.9)
4
+ orcid_client (0.9.3)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  bolognese (~> 1.3, >= 1.3.19)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -55,8 +55,6 @@ GEM
55
55
  citeproc-ruby (1.1.13)
56
56
  citeproc (~> 1.0, >= 1.0.9)
57
57
  csl (~> 1.5)
58
- codeclimate-test-reporter (1.0.9)
59
- simplecov (<= 0.13)
60
58
  colorize (0.8.1)
61
59
  concurrent-ruby (1.1.8)
62
60
  crack (0.4.5)
@@ -67,7 +65,7 @@ GEM
67
65
  csl-styles (1.0.1.11)
68
66
  csl (~> 1.0)
69
67
  diff-lcs (1.4.4)
70
- docile (1.1.5)
68
+ docile (1.4.0)
71
69
  dotenv (2.7.6)
72
70
  ebnf (2.1.3)
73
71
  amazing_print (~> 1.2)
@@ -97,7 +95,6 @@ GEM
97
95
  i18n (1.8.10)
98
96
  concurrent-ruby (~> 1.0)
99
97
  iso8601 (0.9.1)
100
- json (2.5.1)
101
98
  json-canonicalization (0.2.1)
102
99
  json-ld (3.1.9)
103
100
  htmlentities (~> 4.3)
@@ -189,11 +186,12 @@ GEM
189
186
  rspec-support (~> 3.10.0)
190
187
  rspec-support (3.10.2)
191
188
  scanf (1.0.0)
192
- simplecov (0.13.0)
193
- docile (~> 1.1.0)
194
- json (>= 1.8, < 3)
195
- simplecov-html (~> 0.10.0)
196
- simplecov-html (0.10.2)
189
+ simplecov (0.21.2)
190
+ docile (~> 1.1)
191
+ simplecov-html (~> 0.11)
192
+ simplecov_json_formatter (~> 0.1)
193
+ simplecov-html (0.12.3)
194
+ simplecov_json_formatter (0.1.3)
197
195
  sxp (1.1.0)
198
196
  rdf (~> 3.1)
199
197
  temple (0.8.2)
@@ -214,8 +212,7 @@ PLATFORMS
214
212
  ruby
215
213
 
216
214
  DEPENDENCIES
217
- bundler (~> 1.0)
218
- codeclimate-test-reporter (~> 1.0.0)
215
+ bundler (>= 2.2.10)
219
216
  orcid_client!
220
217
  rack-test (~> 0)
221
218
  rake
@@ -225,4 +222,4 @@ DEPENDENCIES
225
222
  webmock (~> 3.0, >= 3.0.1)
226
223
 
227
224
  BUNDLED WITH
228
- 1.17.3
225
+ 2.2.19
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Ruby client for ORCID API
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/orcid_client.svg)](https://badge.fury.io/rb/orcid_client)
4
- [![Build Status](https://travis-ci.org/datacite/orcid_client.svg?branch=master)](https://travis-ci.org/datacite/orcid_client)
4
+ ![Build Ruby Gem](https://github.com/datacite/orcid_client/workflows/Build%20Ruby%20Gem/badge.svg)
5
5
  [![Test Coverage](https://codeclimate.com/github/datacite/orcid_client/badges/coverage.svg)](https://codeclimate.com/github/datacite/orcid_client/coverage)
6
6
  [![Code Climate](https://codeclimate.com/github/datacite/orcid_client/badges/gpa.svg)](https://codeclimate.com/github/datacite/orcid_client)
7
7
 
@@ -11,14 +11,14 @@ Ruby gem for integrating Ruby applications with the ORCID API.
11
11
 
12
12
  The following functionality is supported:
13
13
 
14
- * get all works from an ORCID record, including those set to limited access
15
- * create work in an ORCID record
16
- * create notification for an ORCID record (needs special permissions)
14
+ - get all works from an ORCID record, including those set to limited access
15
+ - create work in an ORCID record
16
+ - create notification for an ORCID record (needs special permissions)
17
17
 
18
18
  ## Requirements
19
19
 
20
- * [ORCID membership](https://orcid.org/about/membership), needed to create, update or delete content via the ORCID API
21
- * valid access tokens for ORCID user accounts, collected and safely stored in your application using for example the [omniauth-orcid](https://github.com/datacite/omniauth-orcid) gem.
20
+ - [ORCID membership](https://orcid.org/about/membership), needed to create, update or delete content via the ORCID API
21
+ - valid access tokens for ORCID user accounts, collected and safely stored in your application using for example the [omniauth-orcid](https://github.com/datacite/omniauth-orcid) gem.
22
22
 
23
23
  ## Installation
24
24
 
@@ -1,3 +1,3 @@
1
1
  module OrcidClient
2
- VERSION = "0.9"
2
+ VERSION = "0.9.3"
3
3
  end
data/orcid_client.gemspec CHANGED
@@ -26,8 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.add_dependency 'maremma', '>= 4.4'
27
27
  s.add_dependency 'namae', '~> 1.0.1'
28
28
  s.add_dependency 'nokogiri', '>= 1.10.4', '< 1.12.0'
29
- s.add_development_dependency 'bundler', '~> 1.0'
30
- s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
29
+ s.add_development_dependency "bundler", ">= 2.2.10"
31
30
  s.add_development_dependency 'rack-test', '~> 0'
32
31
  s.add_development_dependency 'rake'
33
32
  s.add_development_dependency 'rspec', '~> 3.4'
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'
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
@@ -142,30 +142,16 @@ dependencies:
142
142
  name: bundler
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - "~>"
146
- - !ruby/object:Gem::Version
147
- version: '1.0'
148
- type: :development
149
- prerelease: false
150
- version_requirements: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - "~>"
153
- - !ruby/object:Gem::Version
154
- version: '1.0'
155
- - !ruby/object:Gem::Dependency
156
- name: codeclimate-test-reporter
157
- requirement: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - "~>"
145
+ - - ">="
160
146
  - !ruby/object:Gem::Version
161
- version: 1.0.0
147
+ version: 2.2.10
162
148
  type: :development
163
149
  prerelease: false
164
150
  version_requirements: !ruby/object:Gem::Requirement
165
151
  requirements:
166
- - - "~>"
152
+ - - ">="
167
153
  - !ruby/object:Gem::Version
168
- version: 1.0.0
154
+ version: 2.2.10
169
155
  - !ruby/object:Gem::Dependency
170
156
  name: rack-test
171
157
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +254,6 @@ files:
268
254
  - ".github/workflows/changelog.yml"
269
255
  - ".github/workflows/release.yml"
270
256
  - ".gitignore"
271
- - ".travis.yml"
272
257
  - CHANGELOG.md
273
258
  - Gemfile
274
259
  - Gemfile.lock
data/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.3.1
4
- install:
5
- - travis_retry bundle install
6
- script: bundle exec rspec
7
- notifications:
8
- slack: "$SLACK_TOKEN"
9
- email: false
10
- deploy:
11
- provider: rubygems
12
- api_key:
13
- secure: KZGdqCgmlAGQveK/b/bRSvUIO9wTlCUFngbmKLDHS9tf2gczBYNY3qnzD6GPJ7T12YFudWLH3W8D9CbRN6WyauwseKm+dRYVaeEg+tURobVD8FZgJBEaTnFr1EJNvb8x+iKxYjhV2XgCJHD6t7xbz+ONRVc71CrOi3qtVSRJKML2QocaUlgW+b6a7kMDT5/HtjOHipGf5MCXej+tlK1FESMYG5oNB/ogfbeDR928BCH7Kr4qtvndeF1QHwe5u4mD8UaVBPZNhm2ldEmxiI5+50B/BIjvX5afo0MPiWIJg+A3GlMpdQk4ETAxoT4WPyHYB4pjc2EwnEx9P7k1Zi/64oj+aAAwFlRw0Tof7GQ+zsFLtRSBGtKrWcmRU80iid0ATt+ZFBBNxZ8VDLRstm83wk5TShMPo2qil3eqvNzcvbbE4AwWdTDoky8Ipzto90RSFO1F2+8iLLC1+FLjKEwYakqdNhUz9ur2eVWWJFf2PHFpMDVDH907sRjFs2JaM81KJF4xuryPOlcvEFU/wlv42lSZ3oQPYH4TgV9PDYdcsFhmJkIIMb+RqAYn7PQYzwHUpEhklg0KaOns9hGi1V/iBE2X3Gy01QNITMtfSfIRGfHiFXEoHrXy7K9cZ0Zq2U7iaGsrQRAiv3zzz0FJ+uYH9nLXAC9U9UOUkqdGDNfbrl0=
14
- gem: orcid_client
15
- on:
16
- tags: true
17
- repo: datacite/orcid_client