gbbib 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +3 -0
- data/Gemfile.lock +12 -7
- data/README.adoc +1 -1
- data/gbbib.gemspec +1 -0
- data/lib/gbbib/scrapper.rb +1 -1
- data/lib/gbbib/t_scrapper.rb +1 -1
- data/lib/gbbib/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2967105032707b9f8b1232f232874383d178cac8e37e81564c3f4703706bb042
|
4
|
+
data.tar.gz: 4fe03b886a4af769c90de2100d05d4dbf539b47577f5992b9ad6559f9c2632cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987c2fdf13dfebb7153d14faa2db1a3aabab8905f2d60978b5d23587a774613884e3509b8047590993c43342b8c7a88c98189b4974c4edc3f3ba06b3da84dec3
|
7
|
+
data.tar.gz: 25be12092031186450f44218b40dfb50d660b7aeadd24da1130b4f190b38c504572156a6550b0f20ce5eb443e6eab428221227ffe7cd61d61398ed2097faa0fd
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,19 +8,23 @@ PATH
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
byebug (10.0.
|
11
|
+
byebug (10.0.2)
|
12
12
|
cnccs (0.1.1)
|
13
13
|
coderay (1.1.2)
|
14
14
|
diff-lcs (1.3)
|
15
|
-
docile (1.1
|
16
|
-
|
15
|
+
docile (1.3.1)
|
16
|
+
duplicate (1.1.1)
|
17
|
+
equivalent-xml (0.6.0)
|
18
|
+
nokogiri (>= 1.4.3)
|
19
|
+
iso-bib-item (0.1.10)
|
20
|
+
duplicate
|
17
21
|
isoics (~> 0.1.6)
|
18
22
|
nokogiri
|
19
23
|
isoics (0.1.6)
|
20
24
|
json (2.1.0)
|
21
25
|
method_source (0.9.0)
|
22
26
|
mini_portile2 (2.3.0)
|
23
|
-
nokogiri (1.8.
|
27
|
+
nokogiri (1.8.3)
|
24
28
|
mini_portile2 (~> 2.3.0)
|
25
29
|
pry (0.11.3)
|
26
30
|
coderay (~> 1.1.0)
|
@@ -42,8 +46,8 @@ GEM
|
|
42
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
47
|
rspec-support (~> 3.7.0)
|
44
48
|
rspec-support (3.7.1)
|
45
|
-
simplecov (0.
|
46
|
-
docile (~> 1.1
|
49
|
+
simplecov (0.16.1)
|
50
|
+
docile (~> 1.1)
|
47
51
|
json (>= 1.8, < 3)
|
48
52
|
simplecov-html (~> 0.10.0)
|
49
53
|
simplecov-html (0.10.2)
|
@@ -53,6 +57,7 @@ PLATFORMS
|
|
53
57
|
|
54
58
|
DEPENDENCIES
|
55
59
|
bundler (~> 1.16)
|
60
|
+
equivalent-xml (~> 0.6)
|
56
61
|
gbbib!
|
57
62
|
pry-byebug
|
58
63
|
rake (~> 10.0)
|
@@ -60,4 +65,4 @@ DEPENDENCIES
|
|
60
65
|
simplecov
|
61
66
|
|
62
67
|
BUNDLED WITH
|
63
|
-
1.16.
|
68
|
+
1.16.2
|
data/README.adoc
CHANGED
@@ -76,7 +76,7 @@ hit_collection.first.fetch.to_xml
|
|
76
76
|
=><bibitem type='standard' id='20223-2006'>
|
77
77
|
<title format='text/plain' language='zh' script='Hans'>棉短绒 -- [ -- ]</title>
|
78
78
|
<title format='text/plain' language='en' script='Latn'>Cotton linter -- [ -- ]</title>
|
79
|
-
<
|
79
|
+
<link type='src'>http://www.std.gov.cn/gb/search/gbDetailed?id=5DDA8BA00FC618DEE05397BE0A0A95A7</link>
|
80
80
|
<docidentifier>20223-2006</docidentifier>
|
81
81
|
<date type='published'>
|
82
82
|
<on>2006</on>
|
data/gbbib.gemspec
CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
30
30
|
spec.add_development_dependency 'simplecov'
|
31
|
+
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
31
32
|
|
32
33
|
spec.add_dependency 'cnccs'
|
33
34
|
spec.add_dependency 'iso-bib-item'
|
data/lib/gbbib/scrapper.rb
CHANGED
data/lib/gbbib/t_scrapper.rb
CHANGED
data/lib/gbbib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gbbib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: equivalent-xml
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.6'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: cnccs
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
175
|
version: '0'
|
162
176
|
requirements: []
|
163
177
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.6
|
178
|
+
rubygems_version: 2.7.6
|
165
179
|
signing_key:
|
166
180
|
specification_version: 4
|
167
181
|
summary: 'GdBib: retrieve Chinese GB Standards for bibliographic use using the BibliographicItem
|