cirneco 0.9.15 → 0.9.16

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
  SHA1:
3
- metadata.gz: 85c9f4ddb0364ea1d4a8135eb041b34751100ef8
4
- data.tar.gz: fd5d0569d6592f8c3f0dd56a450d9db3066634aa
3
+ metadata.gz: 7ee0608001f28042bd320695cb4e967041abbad3
4
+ data.tar.gz: bede1ebf522dcc4f1e375f350974096a6053a20a
5
5
  SHA512:
6
- metadata.gz: 598c9c2ef3815d6d35cc7a5d6fdc738cf568abd27d456b778db615732220cbe933cd1b4d8a282201524592b8346f46516f243c84e2cbe809c9ab902c78301e0e
7
- data.tar.gz: bc9a3797516b6f4b5f647adb19222371776975e84be7b0202cdb8c8e3500d3f7c6123411f03712e617a9c9e7ba7c169f0016dfecf261cc18bf776fd785a84b0d
6
+ metadata.gz: adb555b21099da678e39e24c0601b72a5a818a5c3cdf35a8fa561229fbaa2449243cc75db1fb0c4693ea0a732731e383cf716d27269079c4cbbbdfb92da150a4
7
+ data.tar.gz: 1a6b59838c76ebb8ddac3b0bf0a47f47ab1d8d85abe58ae1f880dbb51a8afd246f66b53a011a7806b1222a53cd3d71294323049f6f31714e2af3c08c5440aec7
data/.travis.yml CHANGED
@@ -2,6 +2,10 @@ language: ruby
2
2
  rvm:
3
3
  - 2.3.1
4
4
 
5
+ addons:
6
+ code_climate:
7
+ repo_token: $CODECLIMATE_REPO_TOKEN
8
+
5
9
  before_install:
6
10
  - wget https://github.com/jgm/pandoc/releases/download/1.15.2/pandoc-1.15.2-1-amd64.deb
7
11
  - sudo dpkg -i pandoc-1.15.2-1-amd64.deb
@@ -10,7 +14,9 @@ before_install:
10
14
  install:
11
15
  - travis_retry bundle install
12
16
 
13
- script: bundle exec rspec
17
+ script:
18
+ - bundle exec rspec
19
+ - bundle exec codeclimate-test-reporter
14
20
 
15
21
  notifications:
16
22
  slack: "$SLACK_TOKEN"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirneco (0.9.15)
4
+ cirneco (0.9.16)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  base32-crockford-checksum (~> 0.2.2)
7
7
  bergamasco (~> 0.3)
@@ -15,7 +15,7 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- activesupport (5.1.2)
18
+ activesupport (5.1.3)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (~> 0.7)
21
21
  minitest (~> 5.1)
@@ -24,19 +24,19 @@ GEM
24
24
  public_suffix (~> 2.0, >= 2.0.2)
25
25
  base32-crockford-checksum (0.2.3)
26
26
  benchmark_methods (0.7)
27
- bergamasco (0.3.15)
27
+ bergamasco (0.3.17)
28
28
  activesupport (>= 4.2.5, < 6)
29
29
  addressable (>= 2.3.6)
30
30
  builder (~> 3.2, >= 3.2.2)
31
31
  loofah (~> 2.0, >= 2.0.3)
32
32
  multi_json (~> 1.12)
33
33
  nokogiri (~> 1.6, >= 1.6.8)
34
- oj (~> 2.18, >= 2.18.1)
34
+ oj (>= 2.8.3)
35
35
  pandoc-ruby (~> 2.0, >= 2.0.0)
36
36
  safe_yaml (~> 1.0, >= 1.0.4)
37
37
  bibtex-ruby (4.4.4)
38
38
  latex-decode (~> 0.0)
39
- bolognese (0.9.36)
39
+ bolognese (0.9.43)
40
40
  activesupport (>= 4.2.5, < 6)
41
41
  benchmark_methods (~> 0.7)
42
42
  bibtex-ruby (~> 4.1)
@@ -49,6 +49,7 @@ GEM
49
49
  maremma (~> 3.5, >= 3.5.7)
50
50
  namae (~> 0.11.3)
51
51
  nokogiri (~> 1.6, >= 1.6.8)
52
+ oj (>= 2.8.3)
52
53
  postrank-uri (~> 1.0, >= 1.0.18)
53
54
  rdf-rdfxml (~> 2.0)
54
55
  rdf-turtle (~> 2.2)
@@ -75,12 +76,12 @@ GEM
75
76
  faraday (>= 0.7.4, < 1.0)
76
77
  gender_detector (0.1.2)
77
78
  unicode_utils (>= 1.3.0)
78
- haml (5.0.1)
79
+ haml (5.0.2)
79
80
  temple (>= 0.8.0)
80
81
  tilt
81
82
  hamster (3.0.0)
82
83
  concurrent-ruby (~> 1.0)
83
- hashdiff (0.3.4)
84
+ hashdiff (0.3.5)
84
85
  htmlentities (4.3.4)
85
86
  i18n (0.8.6)
86
87
  json (2.1.0)
@@ -95,8 +96,8 @@ GEM
95
96
  link_header (0.0.8)
96
97
  loofah (2.0.3)
97
98
  nokogiri (>= 1.5.9)
98
- maremma (3.5.8)
99
- activesupport (>= 4.2.5)
99
+ maremma (3.5.11)
100
+ activesupport (>= 4.2.5, < 6)
100
101
  addressable (>= 2.3.6)
101
102
  builder (~> 3.2, >= 3.2.2)
102
103
  excon (~> 0.45.0)
@@ -105,7 +106,7 @@ GEM
105
106
  faraday_middleware (~> 0.10.0)
106
107
  multi_json (~> 1.12)
107
108
  nokogiri (~> 1.6, >= 1.6.8)
108
- oj (~> 2.18, >= 2.18.1)
109
+ oj (>= 2.8.3)
109
110
  mini_portile2 (2.1.0)
110
111
  minitest (5.10.3)
111
112
  multi_json (1.12.1)
@@ -124,18 +125,18 @@ GEM
124
125
  rack-test (0.7.0)
125
126
  rack (>= 1.0, < 3)
126
127
  rake (12.0.0)
127
- rdf (2.2.6)
128
+ rdf (2.2.7)
128
129
  hamster (~> 3.0)
129
130
  link_header (~> 0.0, >= 0.0.8)
130
131
  rdf-aggregate-repo (2.2.0)
131
132
  rdf (~> 2.0)
132
- rdf-rdfa (2.2.2)
133
+ rdf-rdfa (2.2.3)
133
134
  haml (~> 5.0)
134
135
  htmlentities (~> 4.3)
135
136
  rdf (~> 2.2)
136
137
  rdf-aggregate-repo (~> 2.2)
137
138
  rdf-xsd (~> 2.1)
138
- rdf-rdfxml (2.0.0)
139
+ rdf-rdfxml (2.2.0)
139
140
  htmlentities (~> 4.3)
140
141
  rdf (~> 2.0)
141
142
  rdf-rdfa (~> 2.0)
@@ -172,7 +173,7 @@ GEM
172
173
  temple (0.8.0)
173
174
  thor (0.19.4)
174
175
  thread_safe (0.3.6)
175
- tilt (2.0.7)
176
+ tilt (2.0.8)
176
177
  trollop (2.1.2)
177
178
  tzinfo (1.2.3)
178
179
  thread_safe (~> 0.1)
@@ -152,7 +152,8 @@ module Cirneco
152
152
  prefix = options[:prefix] || ENV['PREFIX']
153
153
  doi = encode_doi(prefix, number: metadata["alternateName"]) if metadata["doi"].blank?
154
154
 
155
- work = Cirneco::Work.new(input: input, doi: doi)
155
+ work = Cirneco::Work.new(input: input)
156
+ work.doi = doi
156
157
  return work.errors if work.errors.present?
157
158
 
158
159
  response = work.post_metadata(work.datacite, options)
@@ -174,7 +175,8 @@ module Cirneco
174
175
  prefix = options[:prefix] || ENV['PREFIX']
175
176
  doi = encode_doi(prefix, number: metadata["alternateName"]) if metadata["doi"].blank?
176
177
 
177
- work = Cirneco::Work.new(input: input, doi: doi)
178
+ work = Cirneco::Work.new(input: input)
179
+ work.doi = doi
178
180
  return work.errors if work.errors.present?
179
181
 
180
182
  response = work.post_metadata(work.datacite, options)
@@ -200,7 +202,8 @@ module Cirneco
200
202
  prefix = options[:prefix] || ENV['PREFIX']
201
203
  metadata["doi"] = encode_doi(prefix, number: metadata["alternateName"]) if metadata["doi"].blank?
202
204
 
203
- work = Cirneco::Work.new(input: input, doi: metadata["doi"])
205
+ work = Cirneco::Work.new(input: input)
206
+ work.doi = metadata["doi"]
204
207
  return work.errors if work.errors.present?
205
208
 
206
209
  work.delete_metadata(metadata["doi"], options)
data/lib/cirneco/utils.rb CHANGED
@@ -27,7 +27,7 @@ module Cirneco
27
27
  prefix = validate_prefix(prefix)
28
28
  return nil unless prefix.present?
29
29
 
30
- number = options[:number].to_s.scan(/\d+/).first.to_i
30
+ number = options[:number].to_s.scan(/\d+/).join("").to_i
31
31
  number = SecureRandom.random_number(UPPER_LIMIT) unless number > 0
32
32
  shoulder = options[:shoulder].to_s
33
33
 
@@ -1,3 +1,3 @@
1
1
  module Cirneco
2
- VERSION = "0.9.15"
2
+ VERSION = "0.9.16"
3
3
  end
data/lib/cirneco/work.rb CHANGED
@@ -13,7 +13,7 @@ module Cirneco
13
13
 
14
14
  attr_reader :media, :username, :password
15
15
 
16
- def initialize(input: nil, from: nil, format: nil, **options)
16
+ def initialize(input: nil, from: nil, **options)
17
17
  @media = options[:media]
18
18
  @username = options[:username]
19
19
  @password = options[:password]
data/spec/api_spec.rb CHANGED
@@ -54,7 +54,7 @@ describe Cirneco::Work, vcr: true, :order => :defined do
54
54
  it 'should get all dois' do
55
55
  response = subject.get_dois(options)
56
56
  dois = response.body["data"]
57
- expect(dois.length).to eq(519)
57
+ expect(dois.length).to eq(521)
58
58
  expect(dois.first).to eq("10.23725/0000-03VC")
59
59
  end
60
60
 
data/spec/doi_spec.rb CHANGED
@@ -89,7 +89,7 @@ describe Cirneco::Doi do
89
89
  context "mint and hide DOIs", vcr: true, :order => :defined do
90
90
  it 'mints a doi' do
91
91
  subject.options = mint_options
92
- expect { subject.mint filepath }.to output("DOI 10.5438/0000-03vc minted for cool-dois.html.md\n").to_stdout
92
+ expect { subject.mint filepath }.to output("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md\n").to_stdout
93
93
  end
94
94
 
95
95
  it 'hides a doi' do
@@ -101,13 +101,13 @@ describe Cirneco::Doi do
101
101
 
102
102
  it 'mints and hides a doi' do
103
103
  subject.options = mint_options
104
- expect { subject.mint_and_hide filepath }.to output("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md\n").to_stdout
104
+ expect { subject.mint_and_hide filepath }.to output("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md\n").to_stdout
105
105
  end
106
106
 
107
107
  it 'mints dois for list of urls' do
108
108
  filepath = fixture_path + 'index.html'
109
109
  subject.options = mint_options
110
- expect { subject.mint filepath }.to output("DOI 10.5438/0000-03vc minted for cool-dois.html.md\nDOI 10.5438/0000-00ss minted for index.html.erb\n").to_stdout
110
+ expect { subject.mint filepath }.to output("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md\nDOI 10.5438/0007-nw90 minted for index.html.erb\n").to_stdout
111
111
  end
112
112
 
113
113
  it 'hides dois for list of urls' do
@@ -119,7 +119,7 @@ describe Cirneco::Doi do
119
119
  it 'mints and hides dois for list of urls' do
120
120
  filepath = fixture_path + 'index.html'
121
121
  subject.options = mint_options
122
- expect { subject.mint_and_hide filepath }.to output("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb\n").to_stdout
122
+ expect { subject.mint_and_hide filepath }.to output("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb\n").to_stdout
123
123
  end
124
124
  end
125
125
 
@@ -50,7 +50,7 @@ describe Cirneco::DataCenter, vcr: true, :order => :defined do
50
50
  it 'should mint for url' do
51
51
  filepath = fixture_path + 'cool-dois/index.html'
52
52
  response = subject.mint_doi_for_url(filepath, options)
53
- expect(response).to eq("DOI 10.5438/0000-03vc minted for cool-dois.html.md")
53
+ expect(response).to eq("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md")
54
54
  end
55
55
 
56
56
  it 'should hide for url' do
@@ -62,13 +62,13 @@ describe Cirneco::DataCenter, vcr: true, :order => :defined do
62
62
  it 'should mint and hide for url' do
63
63
  filepath = fixture_path + 'cool-dois/index.html'
64
64
  response = subject.mint_and_hide_doi_for_url(filepath, options)
65
- expect(response).to eq("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md")
65
+ expect(response).to eq("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md")
66
66
  end
67
67
 
68
68
  it 'should mint for all urls' do
69
69
  filepath = fixture_path + 'index.html'
70
70
  response = subject.mint_dois_for_all_urls(filepath, options)
71
- expect(response).to eq("DOI 10.5438/0000-03vc minted for cool-dois.html.md\nDOI 10.5438/0000-00ss minted for index.html.erb")
71
+ expect(response).to eq("DOI 10.5438/55e5-t5c0 minted for cool-dois.html.md\nDOI 10.5438/0007-nw90 minted for index.html.erb")
72
72
  end
73
73
 
74
74
  it 'should hide for all urls' do
@@ -80,7 +80,7 @@ describe Cirneco::DataCenter, vcr: true, :order => :defined do
80
80
  it 'should mint and hide for all urls' do
81
81
  filepath = fixture_path + 'index.html'
82
82
  response = subject.mint_and_hide_dois_for_all_urls(filepath, options)
83
- expect(response).to eq("DOI 10.5438/0000-03vc minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb")
83
+ expect(response).to eq("DOI 10.5438/55e5-t5c0 minted and hidden for cool-dois.html.md\nDOI 10.5438/0000-00ss minted and hidden for index.html.erb")
84
84
  end
85
85
 
86
86
  it 'should get_json_ld_from_work' do
@@ -49,7 +49,7 @@
49
49
  "@type": "BlogPosting",
50
50
  "@id": "https://blog.datacite.org/cool-dois/",
51
51
  "name": "Cool DOI's",
52
- "alternateName":"MS-123",
52
+ "alternateName":"MS-55-5135-1980",
53
53
  "url": "https://blog.datacite.org/cool-dois/",
54
54
  "author": [
55
55
  {
@@ -9,7 +9,7 @@ accession_number: MS-123
9
9
  image: https://blog.datacite.org/images/2016/12/cool-dois.png
10
10
  published: false
11
11
  date: '2016-12-15'
12
- doi: 10.5438/0000-03vc
12
+ doi: 10.5438/55e5-t5c0
13
13
  ---
14
14
  In 1998 Tim Berners-Lee coined the term cool URIs [-@https://www.w3.org/Provider/Style/URI], that is URIs that don’t change. We know that URLs referenced in the scholarly literature are often not cool, leading to link rot [@https://doi.org/10.1371/journal.pone.0115253] and making it hard or impossible to find the referenced resource.READMORE
15
15
 
@@ -9,7 +9,7 @@ author:
9
9
  accession_number: MS-25-1785
10
10
  published: false
11
11
  date: '2017-07-11'
12
- doi: 10.5438/0000-00ss
12
+ doi: 10.5438/0007-nw90
13
13
  ---
14
14
  <div class="container-fluid">
15
15
  <div class="row">
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Date:
26
- - Sun, 23 Jul 2017 06:56:27 GMT
26
+ - Thu, 10 Aug 2017 05:25:39 GMT
27
27
  Location:
28
28
  - "/eating-your-own-dog-food/"
29
29
  Server:
@@ -35,13 +35,13 @@ http_interactions:
35
35
  X-Amz-Error-Message:
36
36
  - Resource Found
37
37
  X-Amz-Id-2:
38
- - IHQcnYtWc5caqHC3D8POwESBXFCh5J/czy8U4xXFnXhQHRL6KTKcWiw5BGJHkFGdYJTMqJTzAR0=
38
+ - fFwO4B01P1fcFJ9ar48S9A+ctoMS1rZrOs+TTIO1TC5ghConPPNmdhyYpCOehk0ywwc7DDiMa+4=
39
39
  X-Amz-Request-Id:
40
- - 736D284D6EFE601E
40
+ - E29335B6557F293B
41
41
  X-Kong-Proxy-Latency:
42
- - '0'
42
+ - '11'
43
43
  X-Kong-Upstream-Latency:
44
- - '16'
44
+ - '33'
45
45
  Content-Length:
46
46
  - '313'
47
47
  Connection:
@@ -56,14 +56,14 @@ http_interactions:
56
56
  <ul>
57
57
  <li>Code: Found</li>
58
58
  <li>Message: Resource Found</li>
59
- <li>RequestId: 736D284D6EFE601E</li>
60
- <li>HostId: IHQcnYtWc5caqHC3D8POwESBXFCh5J/czy8U4xXFnXhQHRL6KTKcWiw5BGJHkFGdYJTMqJTzAR0=</li>
59
+ <li>RequestId: E29335B6557F293B</li>
60
+ <li>HostId: fFwO4B01P1fcFJ9ar48S9A+ctoMS1rZrOs+TTIO1TC5ghConPPNmdhyYpCOehk0ywwc7DDiMa+4=</li>
61
61
  </ul>
62
62
  <hr/>
63
63
  </body>
64
64
  </html>
65
65
  http_version:
66
- recorded_at: Sun, 23 Jul 2017 06:56:26 GMT
66
+ recorded_at: Thu, 10 Aug 2017 05:25:39 GMT
67
67
  - request:
68
68
  method: get
69
69
  uri: https://blog.datacite.org/eating-your-own-dog-food/
@@ -89,25 +89,25 @@ http_interactions:
89
89
  Content-Type:
90
90
  - text/html; charset=UTF-8
91
91
  Date:
92
- - Sun, 23 Jul 2017 06:56:27 GMT
92
+ - Thu, 10 Aug 2017 05:25:39 GMT
93
93
  Etag:
94
94
  - '"c1ad6ae68fe8e26541d79b17d5ac0781"'
95
95
  Last-Modified:
96
- - Sat, 22 Jul 2017 08:07:45 GMT
96
+ - Sat, 05 Aug 2017 02:53:26 GMT
97
97
  Server:
98
98
  - openresty/1.11.2.2
99
99
  Via:
100
100
  - kong/0.10.3
101
101
  X-Amz-Id-2:
102
- - oC/CYIKxVvImpZqPl9dj67jahudPCLuvZ/XNkZ89uylA9LHBzfNwbtQdhh0LnJUWqaFF+0Jjdq8=
102
+ - Dyk47SmoD1Z0o88Ap2JUVrxJoz8VrMB+FLK0bHtJpGGK6Rq7mQtVlTYuqfrtRgoahpEL6JBW0dc=
103
103
  X-Amz-Request-Id:
104
- - 7E3A0AD512B00DA7
104
+ - 81ACF2B502E22845
105
105
  X-Amz-Version-Id:
106
- - P5DXNweWsF6DC3RwslEGAodaAOJi0XQ9
106
+ - 5fomvZFLDB7wK0UHZav.h6uhlqYVWFS_
107
107
  X-Kong-Proxy-Latency:
108
108
  - '0'
109
109
  X-Kong-Upstream-Latency:
110
- - '9'
110
+ - '29'
111
111
  Content-Length:
112
112
  - '23992'
113
113
  Connection:
@@ -117,5 +117,5 @@ http_interactions:
117
117
  string: !binary |-
118
118
  PCFET0NUWVBFIGh0bWw+CiAgPGh0bWw+CiAgICA8aGVhZD4KICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4KICAgIDwhLS0gKDEpIE9wdGltaXplIGZvciBtb2JpbGUgdmVyc2lvbnM6IGh0dHA6Ly9nb28uZ2wvRU9wRmwgLS0+CiAgICA8bWV0YSBuYW1lPSJ2aWV3cG9ydCIgY29udGVudD0id2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEuMCI+CiAgICA8IS0tICgxKSBmb3JjZSBsYXRlc3QgSUUgcmVuZGVyaW5nIGVuZ2luZTogYml0Lmx5LzFjOEVpQzkgLS0+CiAg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gICAgICAgICAgICAgICAgIEhvbWVwYWdlPC9hPgogICAgICAgICAgICAgICAgICA8L2xpPgogICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iaHR0cHM6Ly9ibG9nLmRhdGFjaXRlLm9yZyI+CiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9J2ZhIGZhLXJzcyBmYS1mdyc+PC9pPgogICAgICAgICAgICAgICAgICAgIEJsb2c8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0iZGl2aWRlciI+PC9saT4KICAgICAgICAgICAgICAgICAgPGxpPjxhIGhyZWY9Imh0dHBzOi8vbWRzLmRhdGFjaXRlLm9yZyI+CiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9J2ZhIGZhLWRhdGFiYXNlIGZhLWZ3Jz48L2k+CiAgICAgICAgICAgICAgICAgICAgTURTPC9hPgogICAgICAgICAgICAgICAgICA8L2xpPgogICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iaHR0cHM6Ly9zY2hlbWEuZGF0YWNpdGUub3JnIj4KICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz0nZmEgZmEtZmlsZS1jb2RlLW8gZmEtZncnPjwvaT4KICAgICAgICAgICAgICAgICAgICBTY2hlbWE8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwOi8vY2l0YXRpb24uY3Jvc3NjaXRlLm9yZyI+CiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9J2ZhIGZhLWZpbGUtdGV4dC1vIGZhLWZ3Jz48L2k+CiAgICAgICAgICAgICAgICAgICAgQ2l0YXRpb24gRm9ybWF0dGVyPC9hPgogICAgICAgICAgICAgICAgICA8L2xpPgogICAgICAgICAgICAgICAgICA8bGkgY2xhc3M9ImRpdmlkZXIiPjwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwczovL3NlYXJjaC5kYXRhY2l0ZS5vcmciPgogICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPSdmYSBmYS1zZWFyY2ggZmEtZncnPjwvaT4KICAgICAgICAgICAgICAgICAgICBTZWFyY2g8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwczovL29haS5kYXRhY2l0ZS5vcmciPgogICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPSdmYSBmYS10YWJsZSBmYS1mdyc+PC9pPgogICAgICAgICAgICAgICAgICAgIE9BSS1QTUg8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwczovL3N0YXRzLmRhdGFjaXRlLm9yZyI+CiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9J2ZhIGZhLWJhci1jaGFydCBmYS1mdyc+PC9pPgogICAgICAgICAgICAgICAgICAgIFN0YXRpc3RpY3M8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwczovL2FwaS5kYXRhY2l0ZS5vcmciPgogICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPSdmYSBmYS1jb2dzIGZhLWZ3Jz48L2k+CiAgICAgICAgICAgICAgICAgICAgUkVTVCBBUEk8L2E+CiAgICAgICAgICAgICAgICAgIDwvbGk+CiAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSJodHRwOi8vd3d3LnJlM2RhdGEub3JnIj4KICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz0nZmEgZmEtY3ViZXMgZmEtZncnPjwvaT4KICAgICAgICAgICAgICAgICAgICByZTNkYXRhPC9hPgogICAgICAgICAgICAgICAgICA8L2xpPgogICAgICAgICAgICAgICAgICA8bGkgY2xhc3M9ImRpdmlkZXIiPjwvbGk+CiAgICAgICAgICAgICAgICAgID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O2EuYXN5bmM9MTthLnNyYz1nO20ucGFyZW50Tm9kZS5pbnNlcnRCZWZvcmUoYSxtKQogICAgICB9KSh3aW5kb3csZG9jdW1lbnQsJ3NjcmlwdCcsJy8vd3d3Lmdvb2dsZS1hbmFseXRpY3MuY29tL2FuYWx5dGljcy5qcycsJ2dhJyk7CgogICAgICBnYSgnY3JlYXRlJywgJ1VBLTIyODA2MTk2LTYnLCAnYXV0bycpOwogICAgICBnYSgnc2VuZCcsICdwYWdldmlldycpOwogICAgPC9zY3JpcHQ+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
119
119
  http_version:
120
- recorded_at: Sun, 23 Jul 2017 06:56:26 GMT
120
+ recorded_at: Thu, 10 Aug 2017 05:25:39 GMT
121
121
  recorded_with: VCR 3.0.3
data/spec/utils_spec.rb CHANGED
@@ -20,15 +20,15 @@ describe Cirneco::DataCenter, vcr: true, :order => :defined do
20
20
  it 'should get all dois by prefix' do
21
21
  response = subject.get_dois_by_prefix(prefix, options)
22
22
  dois = response.body["data"]
23
- expect(dois.length).to eq(438)
23
+ expect(dois.length).to eq(440)
24
24
  expect(dois.first).to eq("10.5438/0000-00SS")
25
25
  end
26
26
  end
27
27
 
28
28
  context "base32" do
29
29
  it 'should decode doi' do
30
- doi = "10.5438/0000-03WD"
31
- expect(subject.decode_doi(doi)).to eq(124)
30
+ doi = "10.5438/ZWSF-4Y7Y"
31
+ expect(subject.decode_doi(doi)).to eq(34252231623)
32
32
  end
33
33
 
34
34
  it 'should decode doi not encoded' do
@@ -42,8 +42,8 @@ describe Cirneco::DataCenter, vcr: true, :order => :defined do
42
42
  end
43
43
 
44
44
  it 'should encode doi number with other characters' do
45
- number = "MS-123"
46
- expect(subject.encode_doi(prefix, number: number)).to eq("10.5438/0000-03vc")
45
+ number = "MS-12-7196-7302"
46
+ expect(subject.encode_doi(prefix, number: number)).to eq("10.5438/15x1-bj6r")
47
47
  end
48
48
 
49
49
  it 'should encode doi random number' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirneco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.15
4
+ version: 0.9.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-23 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma