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 +4 -4
- data/Gemfile +1 -1
- data/lib/relaton_bipm/bipm_bibliography.rb +3 -3
- data/lib/relaton_bipm/version.rb +1 -1
- data/relaton_bipm.gemspec +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 834295d50c55fd5ce154bc9238757fbf10f8570e3c8673d3d0505766a28ad526
|
4
|
+
data.tar.gz: 8303d6981539925d974973310f36cbcd4f59de70fc88d99cf7f2f51b08d1bfd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5da926b9da9941a1b0166d9361d20e6d3ed2aa0ae7af959a4580c5812217f1e8e6424ba9b9c7b6bfa4905b3401ae4272946341654cbff232281f6c037d1ecf82
|
7
|
+
data.tar.gz: f4af6280a919b0fc11182cba3dc1bbf00632853ad6558979d7a61212dde9674949f71f95c74fd35937f6964d85089fab842ef27f19d9d68b7b29e897f788133b
|
data/Gemfile
CHANGED
@@ -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
|
-
|
238
|
-
|
237
|
+
rsp = agent.get path
|
238
|
+
url = rsp.uri
|
239
239
|
bib = rsp.link_with(text: "BibTeX").href
|
240
|
-
rsp = agent.get
|
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,
|
data/lib/relaton_bipm/version.rb
CHANGED
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", "~>
|
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.
|
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-
|
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
|