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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9cd8abd91d89b6fb41c47788c0ff4261f005839c
4
- data.tar.gz: a3f06e43e49007a80eb1e30bb7abe8cc5d960fa6
2
+ SHA256:
3
+ metadata.gz: 7337db6b351d1c54686af5435d60d0dbcb0252f20a5deac552df24c7a6685483
4
+ data.tar.gz: 3af213bc191141fdd23823e4623166fd96b574296f0512f266104f5a20c53d1f
5
5
  SHA512:
6
- metadata.gz: 6bb9dbf3dc6e7c28c4e4e4cffa5110dd6047d9018a83c6c07030d57e80ab52c63f94e245af0275f6125c5ad7c0543a2c5e19f20451e93b3c88a59ed985cef1a6
7
- data.tar.gz: a0cc800b944e3aad8535e37052a63727ae2d92573d0042262d6adc11b684e993c1249491ab734872090047b3e0b2d241b9328aad67ec42feca96f4c1104542f7
6
+ metadata.gz: f5c4ef47e28f7557e9d2e9f34abefb9e97ea8dd245f35d3e4cbea9d5e0fbe6f9acbed34abf9a4070f7d4691498f7b3d7fff560923d8e57398656495fa1e4621b
7
+ data.tar.gz: ffea63c0ca48c925e7226e12623fcecd02c48e8cc2de15076947f72c77cecbf9375ea95c0547cfb282116e5dbbf3d9c2c68e312cd6a6109a1805a7d06cc0faed
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-gb (0.1.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.1.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.4)
19
+ debase-ruby_core_source (0.10.5)
20
20
  diff-lcs (1.3)
21
- docile (1.3.1)
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.1.6)
39
+ relaton-bib (0.2.0)
40
40
  addressable
41
41
  nokogiri (~> 1.8.4)
42
- relaton-iso-bib (0.1.0)
42
+ relaton-iso-bib (0.2.0)
43
43
  isoics (~> 0.1.6)
44
44
  nokogiri (~> 1.8.4)
45
- relaton-bib (~> 0.1.5)
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.0)
51
+ rspec-core (3.8.1)
52
52
  rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.3)
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.0)
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.0)
60
- ruby-debug-ide (0.6.1)
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)
@@ -5,7 +5,6 @@ require "relaton/processor"
5
5
  module Relaton
6
6
  module RelatonGb
7
7
  class Processor < Relaton::Processor
8
-
9
8
  def initialize
10
9
  @short = :relaton_gb
11
10
  @prefix = "CN"
@@ -3,5 +3,5 @@ require "relaton_gb/gb_bibliography"
3
3
 
4
4
  if defined? Relaton
5
5
  require_relative "relaton/processor"
6
- Relaton::Registry.instance.register Relaton::RelatoGb::Processor
6
+ Relaton::Registry.instance.register Relaton::RelatonGb::Processor
7
7
  end
@@ -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.project_number
36
+ @gbplannumber = args[:gbplannumber] || structuredidentifier&.project_number
37
37
  end
38
38
 
39
39
  # @param builder [Nokogiri::XML::Builder]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonGb
4
- VERSION = "0.1.0"
4
+ VERSION = "0.5.0"
5
5
  end
@@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.add_dependency "cnccs", "~> 0.1.1"
37
37
  spec.add_dependency "gb-agencies", "~> 0.0.1"
38
- spec.add_dependency "relaton-iso-bib", "~> 0.1.0"
38
+ spec.add_dependency "relaton-iso-bib", "~> 0.2.0"
39
39
  end
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.1.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-03 00:00:00.000000000 Z
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.1.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.1.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.12
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