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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 70a5b32f9d54f9f84fd1aec25d2b716dfddf181c
4
- data.tar.gz: 6d99606779147b68ef43d8d0ec0715b6824ff90d
2
+ SHA256:
3
+ metadata.gz: 2967105032707b9f8b1232f232874383d178cac8e37e81564c3f4703706bb042
4
+ data.tar.gz: 4fe03b886a4af769c90de2100d05d4dbf539b47577f5992b9ad6559f9c2632cb
5
5
  SHA512:
6
- metadata.gz: c0be604c6780e5bc54caf6fc78f5ad96b2751a82d61db8e3fb3f4fb6165a7cc208d2e09fa2b148877d99f93662ba9d93737a7047be1446b24ace9646e321db71
7
- data.tar.gz: e9f4cc89beec66bee84fb3319125bb5b79c62d1e2e57e2c24bb0d7d2f09e5ead99be61f9cfb944fe394e5d1b4c7d90246164304e5bea4fe02a81fd40cb8cda1c
6
+ metadata.gz: 987c2fdf13dfebb7153d14faa2db1a3aabab8905f2d60978b5d23587a774613884e3509b8047590993c43342b8c7a88c98189b4974c4edc3f3ba06b3da84dec3
7
+ data.tar.gz: 25be12092031186450f44218b40dfb50d660b7aeadd24da1130b4f190b38c504572156a6550b0f20ce5eb443e6eab428221227ffe7cd61d61398ed2097faa0fd
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
+ Encoding.default_external = Encoding::UTF_8
2
+ Encoding.default_internal = Encoding::UTF_8
3
+
1
4
  source "https://rubygems.org"
2
5
 
3
6
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
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.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.5)
16
- iso-bib-item (0.1.5)
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.2)
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.15.1)
46
- docile (~> 1.1.0)
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.1
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
- <source type='src'>http://www.std.gov.cn/gb/search/gbDetailed?id=5DDA8BA00FC618DEE05397BE0A0A95A7</source>
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'
@@ -22,7 +22,7 @@ module Gbbib
22
22
  gbtype: get_gbtype(doc),
23
23
  ccs: get_ccs(doc),
24
24
  ics: get_ics(doc),
25
- source: [{ type: 'src', content: src }],
25
+ link: [{ type: 'src', content: src }],
26
26
  dates: get_dates(doc),
27
27
  language: ['zh'],
28
28
  script: ['Hans']
@@ -58,7 +58,7 @@ module Gbbib
58
58
  gbtype: gbtype,
59
59
  ccs: get_ccs(doc),
60
60
  ics: get_ics(doc),
61
- source: [{ type: 'src', content: src }],
61
+ link: [{ type: 'src', content: src }],
62
62
  dates: get_dates(doc),
63
63
  language: ['zh'],
64
64
  script: ['Hans']
data/lib/gbbib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gbbib
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
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.2
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-06-11 00:00:00.000000000 Z
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.12
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