serrano 0.5.2 → 0.5.4

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: efab429b63ceee803e97a3ab2dab647bc9ad606fcb03df713f52075696403687
4
- data.tar.gz: e0f90a7ae6ccbe78788b4e4d12afac66ea7f73da84503cff6d8cdb3046ec893f
3
+ metadata.gz: 2534dbe1c8771066e2263d50eb52287e2dc0ac3e968097839a8b05c31be35fdc
4
+ data.tar.gz: 3723eb652195fcb93ad1c08ab40616b78725509bb8d7ab7f69eeda77773fb573
5
5
  SHA512:
6
- metadata.gz: f2af2d7a4e358423df3a4452e7091ba1b46c82110a30345ee83db401a14392cff49ab2e253d06562cc0f89011e815a7150ae97d53347d5f96d67dbfd761b9b8b
7
- data.tar.gz: ec19825f8e798113ef2923cc0945721675f8dc37ab1b0a3cc7aeb3234ce71d4bf9fa6697670d69cc33f730560927cf1e45169b5b67691eb82992054b600cdaff
6
+ metadata.gz: 2fa11879521f6bf6895323b177f70de75b72daee2b841f46c658f95c12afe72672b80a747290740bddb0bde900e03cc3595c9d00c899709070b29e15b3785b5d
7
+ data.tar.gz: e58e6ed19721fc8188375bb96a5a6a690f6c72b7e026040427207729f661e22f13171fbf858ccf7ea1cfa1c17fecb1d7feba2a62ac442e27c0d62942c05566d5
@@ -1,3 +1,8 @@
1
+ ## 0.5.4 (2019-11-27)
2
+
3
+ * `Serrano.registration_agency` fixed: a change in an internal function caused this function to fail; tests added to prevent this in the future (#106)
4
+ * bundle update, changes in gemfile.lock
5
+
1
6
  ## 0.5.2 (2019-08-07)
2
7
 
3
8
  * fix url encoding (#51)
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- serrano (0.5.2)
5
- faraday (~> 0.15.0)
4
+ serrano (0.5.4)
5
+ faraday (>= 0.15, < 0.18)
6
6
  faraday_middleware (>= 0.12.2, < 0.14.0)
7
7
  multi_json (~> 1.13, >= 1.13.1)
8
8
  thor (~> 0.20.0)
@@ -10,33 +10,33 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- addressable (2.6.0)
14
- public_suffix (>= 2.0.2, < 4.0)
13
+ addressable (2.7.0)
14
+ public_suffix (>= 2.0.2, < 5.0)
15
15
  ast (2.4.0)
16
- codecov (0.1.14)
16
+ codecov (0.1.16)
17
17
  json
18
18
  simplecov
19
19
  url
20
20
  crack (0.4.3)
21
21
  safe_yaml (~> 1.0.0)
22
22
  docile (1.3.2)
23
- faraday (0.15.4)
23
+ faraday (0.17.0)
24
24
  multipart-post (>= 1.2, < 3)
25
25
  faraday_middleware (0.13.1)
26
26
  faraday (>= 0.7.4, < 1.0)
27
27
  hashdiff (1.0.0)
28
- jaro_winkler (1.5.3)
28
+ jaro_winkler (1.5.4)
29
29
  json (2.2.0)
30
- multi_json (1.13.1)
30
+ multi_json (1.14.1)
31
31
  multipart-post (2.1.1)
32
- parallel (1.17.0)
33
- parser (2.6.3.0)
32
+ parallel (1.19.1)
33
+ parser (2.6.5.0)
34
34
  ast (~> 2.4.0)
35
- power_assert (1.1.4)
36
- public_suffix (3.1.1)
35
+ power_assert (1.1.5)
36
+ public_suffix (4.0.1)
37
37
  rainbow (3.0.0)
38
38
  rake (12.3.3)
39
- rubocop (0.74.0)
39
+ rubocop (0.76.0)
40
40
  jaro_winkler (~> 1.5.1)
41
41
  parallel (~> 1.10)
42
42
  parser (>= 2.6)
@@ -45,18 +45,18 @@ GEM
45
45
  unicode-display_width (>= 1.4.0, < 1.7)
46
46
  ruby-progressbar (1.10.1)
47
47
  safe_yaml (1.0.5)
48
- simplecov (0.17.0)
48
+ simplecov (0.17.1)
49
49
  docile (~> 1.1)
50
50
  json (>= 1.8, < 3)
51
51
  simplecov-html (~> 0.10.0)
52
52
  simplecov-html (0.10.2)
53
- test-unit (3.3.3)
53
+ test-unit (3.3.4)
54
54
  power_assert
55
55
  thor (0.20.3)
56
56
  unicode-display_width (1.6.0)
57
57
  url (0.3.2)
58
58
  vcr (5.0.0)
59
- webmock (3.6.2)
59
+ webmock (3.7.6)
60
60
  addressable (>= 2.3.6)
61
61
  crack (>= 0.3.2)
62
62
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -69,7 +69,7 @@ DEPENDENCIES
69
69
  codecov (~> 0.1.10)
70
70
  json (~> 2.1)
71
71
  rake (~> 12.3, >= 12.3.1)
72
- rubocop (~> 0.74.0)
72
+ rubocop (~> 0.76.0)
73
73
  serrano!
74
74
  simplecov (~> 0.17.0)
75
75
  test-unit (~> 3.2, >= 3.2.7)
data/README.md CHANGED
@@ -15,6 +15,8 @@ Other Crossref API clients:
15
15
  - Python: [habanero](https://github.com/sckott/habanero)
16
16
  - R: [rcrossref](https://github.com/ropensci/rcrossref)
17
17
 
18
+ Crossref's API issue tracker: https://gitlab.com/crossref/issues
19
+
18
20
  ## Changes
19
21
 
20
22
  For changes see the [Changelog][changelog]
@@ -44,7 +46,7 @@ Other methods:
44
46
 
45
47
  Note about searching:
46
48
 
47
- You are using the Crossref search API described at https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md. When you search with query terms, on Crossref servers they are not searching full text, or even abstracts of articles, but only what is available in the data that is returned to you. That is, they search article titles, authors, etc. For some discussion on this, see https://github.com/CrossRef/rest-api-doc/issues/101
49
+ You are using the Crossref search API described at https://github.com/CrossRef/rest-api-doc When you search with query terms, on Crossref servers they are not searching full text, or even abstracts of articles, but only what is available in the data that is returned to you. That is, they search article titles, authors, etc. For some discussion on this, see https://gitlab.com/crossref/issues/issues/101
48
50
 
49
51
  Rate limits:
50
52
 
@@ -111,7 +111,7 @@ require 'rexml/xpath'
111
111
  # searching full text, or even abstracts of articles, but only what is
112
112
  # available in the data that is returned to you. That is, they search
113
113
  # article titles, authors, etc. For some discussion on this, see
114
- # https://github.com/CrossRef/rest-api-doc/issues/101
114
+ # https://gitlab.com/crossref/issues/issues/101
115
115
  #
116
116
  #
117
117
  # The Polite Pool
@@ -541,7 +541,7 @@ module Serrano
541
541
  # Serrano.registration_agency(ids: ['10.1007/12080.1874-1746','10.1007/10452.1573-5125', '10.1111/(issn)1442-9993'])
542
542
  def self.registration_agency(ids:, options: nil, verbose: false)
543
543
  Request.new('works', ids, nil, nil, nil,
544
- nil, nil, nil, nil, nil, false, true, options, verbose).perform
544
+ nil, nil, nil, nil, nil, nil, false, true, options, verbose).perform
545
545
  end
546
546
 
547
547
  ##
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Serrano
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.4'
5
5
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.version = Serrano::VERSION
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.required_ruby_version = '>= 2.1'
12
- s.date = '2019-08-07'
12
+ s.date = '2019-11-27'
13
13
  s.summary = 'Crossref Client'
14
14
  s.description = 'Low Level Ruby Client for the Crossref Search API'
15
15
  s.authors = 'Scott Chamberlain'
@@ -27,13 +27,13 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency 'codecov', '~> 0.1.10'
28
28
  s.add_development_dependency 'json', '~> 2.1'
29
29
  s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.1'
30
- s.add_development_dependency 'rubocop', '~> 0.74.0'
30
+ s.add_development_dependency 'rubocop', '~> 0.76.0'
31
31
  s.add_development_dependency 'simplecov', '~> 0.17.0'
32
32
  s.add_development_dependency 'test-unit', '~> 3.2', '>= 3.2.7'
33
33
  s.add_development_dependency 'vcr', '~> 5.0'
34
34
  s.add_development_dependency 'webmock', '~> 3.4', '>= 3.4.1'
35
35
 
36
- s.add_runtime_dependency 'faraday', '~> 0.15.0'
36
+ s.add_runtime_dependency 'faraday', '>= 0.15', '< 0.18'
37
37
  s.add_runtime_dependency 'faraday_middleware', '>= 0.12.2', '< 0.14.0'
38
38
  s.add_runtime_dependency 'multi_json', '~> 1.13', '>= 1.13.1'
39
39
  s.add_runtime_dependency 'thor', '~> 0.20.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chamberlain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,14 +84,14 @@ dependencies:
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: 0.74.0
87
+ version: 0.76.0
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: 0.74.0
94
+ version: 0.76.0
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: simplecov
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -164,16 +164,22 @@ dependencies:
164
164
  name: faraday
165
165
  requirement: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - "~>"
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0.15'
170
+ - - "<"
168
171
  - !ruby/object:Gem::Version
169
- version: 0.15.0
172
+ version: '0.18'
170
173
  type: :runtime
171
174
  prerelease: false
172
175
  version_requirements: !ruby/object:Gem::Requirement
173
176
  requirements:
174
- - - "~>"
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0.15'
180
+ - - "<"
175
181
  - !ruby/object:Gem::Version
176
- version: 0.15.0
182
+ version: '0.18'
177
183
  - !ruby/object:Gem::Dependency
178
184
  name: faraday_middleware
179
185
  requirement: !ruby/object:Gem::Requirement