relaton 0.6.2 → 0.6.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
2
  SHA256:
3
- metadata.gz: 72e07d60d1d6e31db56e06232f6295abdeed9b031eeed2d7ac227bc6104f24b9
4
- data.tar.gz: 7b5f6b9e45aa669e7ae08efe993b6fec3b733c446f38593ffd7c99528c1421ad
3
+ metadata.gz: 4f0cebcf8de86adc4142d757e07f680c2d020d0dcc7f729ec1518452f1f9ad9c
4
+ data.tar.gz: edd9653e0710a90f5a95cd04808efc8b5ef875055072a62e5385f45fe7605b01
5
5
  SHA512:
6
- metadata.gz: 8a1676216b43cdd1c1ea917fd2f0692ec8cf0c72419deb4df179c3ee1b811d83b4a0f7a0dce29a201569ef1de7a4824221ecda07572437be1314640c9819151a
7
- data.tar.gz: 54b8a9540a672ea25731f95b7b1a6cf0acde3b5106537758d77d06cfb2f98304bedf21b204164298534e769e02e49e84c1329599810ff0b303b8b23a06109d25
6
+ metadata.gz: 2a91d97d93f2102369be3dedcee7a421ce7408805b934dbba8ec2bcd3a5210498ed9840fbd8dcaedeabe18195f10b8dfd08e2b4744a8e71156c0a71b53d8ef3d
7
+ data.tar.gz: bdbc98bfe3d5c4806625e96ca1635c06c45052f7a4c52c86f58f0c9bca66878dda210b2199d163e466f4bbf5ced5150c41c0bef8fc5a343e1d9011b7f9758fc5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton (0.6.2)
4
+ relaton (0.6.3)
5
5
  relaton-calconnect (~> 0.2.0)
6
6
  relaton-gb (~> 0.7.0)
7
7
  relaton-iec (~> 0.5.0)
@@ -22,19 +22,19 @@ GEM
22
22
  coderay (1.1.2)
23
23
  crack (0.4.3)
24
24
  safe_yaml (~> 1.0.0)
25
- debase (0.2.2)
25
+ debase (0.2.5)
26
26
  debase-ruby_core_source (>= 0.10.2)
27
- debase-ruby_core_source (0.10.5)
27
+ debase-ruby_core_source (0.10.8)
28
28
  diff-lcs (1.3)
29
29
  docile (1.3.2)
30
30
  equivalent-xml (0.6.0)
31
31
  nokogiri (>= 1.4.3)
32
32
  faraday (0.17.1)
33
33
  multipart-post (>= 1.2, < 3)
34
- ffi (1.11.1)
34
+ ffi (1.11.3)
35
35
  formatador (0.2.5)
36
36
  gb-agencies (0.0.6)
37
- guard (2.15.0)
37
+ guard (2.16.1)
38
38
  formatador (>= 0.2.4)
39
39
  listen (>= 2.7, < 4.0)
40
40
  lumberjack (>= 1.0.12, < 2.0)
@@ -48,13 +48,12 @@ GEM
48
48
  guard (~> 2.1)
49
49
  guard-compat (~> 1.1)
50
50
  rspec (>= 2.99.0, < 4.0)
51
- hashdiff (0.4.0)
51
+ hashdiff (1.0.0)
52
52
  isoics (0.1.8)
53
- json (2.2.0)
54
- listen (3.1.5)
55
- rb-fsevent (~> 0.9, >= 0.9.4)
56
- rb-inotify (~> 0.9, >= 0.9.7)
57
- ruby_dep (~> 1.2)
53
+ json (2.3.0)
54
+ listen (3.2.1)
55
+ rb-fsevent (~> 0.10, >= 0.10.3)
56
+ rb-inotify (~> 0.9, >= 0.9.10)
58
57
  lumberjack (1.0.13)
59
58
  method_source (0.9.2)
60
59
  mini_portile2 (2.4.0)
@@ -62,11 +61,11 @@ GEM
62
61
  nenv (0.3.0)
63
62
  nokogiri (1.10.7)
64
63
  mini_portile2 (~> 2.4.0)
65
- notiffany (0.1.1)
64
+ notiffany (0.1.3)
66
65
  nenv (~> 0.1)
67
66
  shellany (~> 0.0)
68
- parallel (1.17.0)
69
- parser (2.6.3.0)
67
+ parallel (1.19.1)
68
+ parser (2.6.5.0)
70
69
  ast (~> 2.4.0)
71
70
  powerpack (0.1.2)
72
71
  pry (0.12.2)
@@ -77,7 +76,7 @@ GEM
77
76
  pry (~> 0.10)
78
77
  public_suffix (4.0.1)
79
78
  rainbow (3.0.0)
80
- rake (12.3.2)
79
+ rake (12.3.3)
81
80
  rb-fsevent (0.10.3)
82
81
  rb-inotify (0.10.0)
83
82
  ffi (~> 1.0)
@@ -111,19 +110,19 @@ GEM
111
110
  relaton-ogc (0.2.1)
112
111
  faraday
113
112
  relaton-iso-bib (~> 0.4.0)
114
- rspec (3.8.0)
115
- rspec-core (~> 3.8.0)
116
- rspec-expectations (~> 3.8.0)
117
- rspec-mocks (~> 3.8.0)
118
- rspec-core (3.8.1)
119
- rspec-support (~> 3.8.0)
120
- rspec-expectations (3.8.4)
113
+ rspec (3.9.0)
114
+ rspec-core (~> 3.9.0)
115
+ rspec-expectations (~> 3.9.0)
116
+ rspec-mocks (~> 3.9.0)
117
+ rspec-core (3.9.0)
118
+ rspec-support (~> 3.9.0)
119
+ rspec-expectations (3.9.0)
121
120
  diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.8.0)
123
- rspec-mocks (3.8.1)
121
+ rspec-support (~> 3.9.0)
122
+ rspec-mocks (3.9.0)
124
123
  diff-lcs (>= 1.2.0, < 2.0)
125
- rspec-support (~> 3.8.0)
126
- rspec-support (3.8.2)
124
+ rspec-support (~> 3.9.0)
125
+ rspec-support (3.9.0)
127
126
  rubocop (0.54.0)
128
127
  parallel (~> 1.10)
129
128
  parser (>= 2.5)
@@ -135,20 +134,19 @@ GEM
135
134
  rake (>= 0.8.1)
136
135
  ruby-progressbar (1.10.1)
137
136
  ruby_deep_clone (0.8.0)
138
- ruby_dep (1.5.0)
139
137
  rubyzip (2.0.0)
140
138
  safe_yaml (1.0.5)
141
139
  shellany (0.0.1)
142
- simplecov (0.16.1)
140
+ simplecov (0.17.1)
143
141
  docile (~> 1.1)
144
142
  json (>= 1.8, < 3)
145
143
  simplecov-html (~> 0.10.0)
146
144
  simplecov-html (0.10.2)
147
- thor (0.20.3)
145
+ thor (1.0.1)
148
146
  timecop (0.9.1)
149
147
  unicode-display_width (1.6.0)
150
148
  vcr (5.0.0)
151
- webmock (3.6.0)
149
+ webmock (3.7.6)
152
150
  addressable (>= 2.3.6)
153
151
  crack (>= 0.3.2)
154
152
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -124,7 +124,7 @@ module Relaton
124
124
  # @return [String]
125
125
  def grammar_hash(fdir)
126
126
  type = fdir.split("/").last
127
- Relaton::Registry.instance.by_type(type).grammar_hash
127
+ Relaton::Registry.instance.by_type(type)&.grammar_hash
128
128
  end
129
129
 
130
130
  # Reads file by a key
@@ -59,7 +59,7 @@ module Relaton
59
59
  # RelatonIetf::Processot, RelatonItu::Processor, RelatonGb::Processor,
60
60
  # RelatonOgc::Processor, RelatonCalconnect::Processor]
61
61
  def by_type(type)
62
- processors.values.detect { |v| v.prefix == type.upcase }
62
+ processors.values.detect { |v| v.prefix == type&.upcase }
63
63
  end
64
64
 
65
65
  private
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "0.6.2".freeze
2
+ VERSION = "0.6.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-18 00:00:00.000000000 Z
11
+ date: 2019-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: relaton-calconnect
@@ -417,7 +417,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
417
417
  - !ruby/object:Gem::Version
418
418
  version: '0'
419
419
  requirements: []
420
- rubygems_version: 3.0.6
420
+ rubyforge_project:
421
+ rubygems_version: 2.7.6
421
422
  signing_key:
422
423
  specification_version: 4
423
424
  summary: The Relaton core for importing, managing and caching bibliographic references