relaton-gb 0.1.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +12 -12
- data/lib/relaton/processor.rb +0 -1
- data/lib/relaton_gb.rb +1 -1
- data/lib/relaton_gb/gb_bibliographic_item.rb +1 -1
- data/lib/relaton_gb/version.rb +1 -1
- data/relaton_gb.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7337db6b351d1c54686af5435d60d0dbcb0252f20a5deac552df24c7a6685483
|
4
|
+
data.tar.gz: 3af213bc191141fdd23823e4623166fd96b574296f0512f266104f5a20c53d1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5c4ef47e28f7557e9d2e9f34abefb9e97ea8dd245f35d3e4cbea9d5e0fbe6f9acbed34abf9a4070f7d4691498f7b3d7fff560923d8e57398656495fa1e4621b
|
7
|
+
data.tar.gz: ffea63c0ca48c925e7226e12623fcecd02c48e8cc2de15076947f72c77cecbf9375ea95c0547cfb282116e5dbbf3d9c2c68e312cd6a6109a1805a7d06cc0faed
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relaton-gb (0.
|
4
|
+
relaton-gb (0.5.0)
|
5
5
|
cnccs (~> 0.1.1)
|
6
6
|
gb-agencies (~> 0.0.1)
|
7
|
-
relaton-iso-bib (~> 0.
|
7
|
+
relaton-iso-bib (~> 0.2.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -16,9 +16,9 @@ GEM
|
|
16
16
|
coderay (1.1.2)
|
17
17
|
debase (0.2.2)
|
18
18
|
debase-ruby_core_source (>= 0.10.2)
|
19
|
-
debase-ruby_core_source (0.10.
|
19
|
+
debase-ruby_core_source (0.10.5)
|
20
20
|
diff-lcs (1.3)
|
21
|
-
docile (1.3.
|
21
|
+
docile (1.3.2)
|
22
22
|
equivalent-xml (0.6.0)
|
23
23
|
nokogiri (>= 1.4.3)
|
24
24
|
gb-agencies (0.0.5)
|
@@ -36,28 +36,28 @@ GEM
|
|
36
36
|
pry (~> 0.10)
|
37
37
|
public_suffix (3.1.0)
|
38
38
|
rake (10.5.0)
|
39
|
-
relaton-bib (0.
|
39
|
+
relaton-bib (0.2.0)
|
40
40
|
addressable
|
41
41
|
nokogiri (~> 1.8.4)
|
42
|
-
relaton-iso-bib (0.
|
42
|
+
relaton-iso-bib (0.2.0)
|
43
43
|
isoics (~> 0.1.6)
|
44
44
|
nokogiri (~> 1.8.4)
|
45
|
-
relaton-bib (~> 0.
|
45
|
+
relaton-bib (~> 0.2.0)
|
46
46
|
ruby_deep_clone (~> 0.8.0)
|
47
47
|
rspec (3.8.0)
|
48
48
|
rspec-core (~> 3.8.0)
|
49
49
|
rspec-expectations (~> 3.8.0)
|
50
50
|
rspec-mocks (~> 3.8.0)
|
51
|
-
rspec-core (3.8.
|
51
|
+
rspec-core (3.8.1)
|
52
52
|
rspec-support (~> 3.8.0)
|
53
|
-
rspec-expectations (3.8.
|
53
|
+
rspec-expectations (3.8.4)
|
54
54
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
55
|
rspec-support (~> 3.8.0)
|
56
|
-
rspec-mocks (3.8.
|
56
|
+
rspec-mocks (3.8.1)
|
57
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
58
|
rspec-support (~> 3.8.0)
|
59
|
-
rspec-support (3.8.
|
60
|
-
ruby-debug-ide (0.
|
59
|
+
rspec-support (3.8.2)
|
60
|
+
ruby-debug-ide (0.7.0)
|
61
61
|
rake (>= 0.8.1)
|
62
62
|
ruby_deep_clone (0.8.0)
|
63
63
|
simplecov (0.16.1)
|
data/lib/relaton/processor.rb
CHANGED
data/lib/relaton_gb.rb
CHANGED
@@ -33,7 +33,7 @@ module RelatonGb
|
|
33
33
|
@ccs = args[:ccs].map { |c| Cnccs.fetch c }
|
34
34
|
@gbtype = GbStandardType.new args[:gbtype]
|
35
35
|
@type = args[:type]
|
36
|
-
@gbplannumber = args[:gbplannumber] || structuredidentifier
|
36
|
+
@gbplannumber = args[:gbplannumber] || structuredidentifier&.project_number
|
37
37
|
end
|
38
38
|
|
39
39
|
# @param builder [Nokogiri::XML::Builder]
|
data/lib/relaton_gb/version.rb
CHANGED
data/relaton_gb.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
159
|
+
version: 0.2.0
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
166
|
+
version: 0.2.0
|
167
167
|
description: 'RelatonGb: retrieve Chinese GB Standards for bibliographic use using
|
168
168
|
the BibliographicItem model.'
|
169
169
|
email:
|
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
223
|
rubyforge_project:
|
224
|
-
rubygems_version: 2.6
|
224
|
+
rubygems_version: 2.7.6
|
225
225
|
signing_key:
|
226
226
|
specification_version: 4
|
227
227
|
summary: 'RelatonGb: retrieve Chinese GB Standards for bibliographic use using the
|