relaton-bipm 1.8.0 → 1.8.1

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: 4e9171f0d010265f11f0a93e38f366807b29adb777373e3f54e97cbfe0e6af31
4
- data.tar.gz: d011a570dc1d2704c2025d3fe8519c9afcf85d9fab6b04a0c0092657e38dd556
3
+ metadata.gz: 834295d50c55fd5ce154bc9238757fbf10f8570e3c8673d3d0505766a28ad526
4
+ data.tar.gz: 8303d6981539925d974973310f36cbcd4f59de70fc88d99cf7f2f51b08d1bfd4
5
5
  SHA512:
6
- metadata.gz: 73bdd4e5894404346621a2179f73f76e6c62f710b171c26c463bf7fb50a5f7a3e7f9c7c91a4d967965269599381707d4d37a2cd69bf45ad0eb36b716ea15eb99
7
- data.tar.gz: b308d2e5818a9eb08903a55f40c997e1ec7d1224e7949f561a11891c94e73e32689ccefbd71b617a37f9b5f79fb7bf26c68a7b0a5c029f94bcc5b3394cdd0d3d
6
+ metadata.gz: 5da926b9da9941a1b0166d9361d20e6d3ed2aa0ae7af959a4580c5812217f1e8e6424ba9b9c7b6bfa4905b3401ae4272946341654cbff232281f6c037d1ecf82
7
+ data.tar.gz: f4af6280a919b0fc11182cba3dc1bbf00632853ad6558979d7a61212dde9674949f71f95c74fd35937f6964d85089fab842ef27f19d9d68b7b29e897f788133b
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in relaton_bipm.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.0"
7
7
  gem "rspec", "~> 3.0"
@@ -234,10 +234,10 @@ module RelatonBipm
234
234
  # @param agent [Mechanize]
235
235
  # @return [RelatonBipm::BipmBibliographicItem]
236
236
  def get_article(path, vol, ish, agent) # rubocop:disable Metrics/AbcSize
237
- url = URI IOP_DOMAIN + path
238
- rsp = agent.get url
237
+ rsp = agent.get path
238
+ url = rsp.uri
239
239
  bib = rsp.link_with(text: "BibTeX").href
240
- rsp = agent.get URI IOP_DOMAIN + bib
240
+ rsp = agent.get bib
241
241
  bt = BibTeX.parse(rsp.body).first
242
242
  bibitem(docid: btdocid(bt), title: titles(bt.title.to_s), abstract: btabstract(bt), doctype: bt.type.to_s,
243
243
  link: btlink(bt, url), date: btdate(bt), contributor: btcontrib(bt), series: series,
@@ -1,3 +1,3 @@
1
1
  module RelatonBipm
2
- VERSION = "1.8.0".freeze
2
+ VERSION = "1.8.1".freeze
3
3
  end
data/relaton_bipm.gemspec CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
36
36
  # spec.add_development_dependency "debase"
37
37
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
38
38
  spec.add_development_dependency "pry-byebug"
39
- spec.add_development_dependency "rake", "~> 10.0"
39
+ # spec.add_development_dependency "rake", "~> 13.0"
40
40
  # spec.add_development_dependency "ruby-debug-ide"
41
41
  spec.add_development_dependency "ruby-jing"
42
42
  spec.add_development_dependency "simplecov"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-17 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '10.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: ruby-jing
71
57
  requirement: !ruby/object:Gem::Requirement