relaton-ieee 1.7.4 → 1.7.5

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: af5c6f3d415b4962004c31a94d60810dd062da12331bedb126ee73f6720b795a
4
- data.tar.gz: e29f3afbd4649ebbef1e58cd1c5326476cb35bcf0d7ea6f815596aa8514d176f
3
+ metadata.gz: 3c776b17899137d3858c7e0bd36014b085c4699d8bd827540c2b83462a4f6011
4
+ data.tar.gz: c1c70bb00cc61e17107b161dcfda3e3854efc1dc8778e7fa0ca3a714341d59b6
5
5
  SHA512:
6
- metadata.gz: '068a5ab925a35b81a03961416d61e56d5221423d4287bdffd7d4b5e7fe437d717cf624827d6e60ff7efdf24d60cb7f70a7fc2180ecb669ba77f0adcb3432393e'
7
- data.tar.gz: 521dd6ffbf1ed5c3b4b414c96c34b9db2222d28aaef87c70fedaa0ca2c9dac004645198981aef745d5fb6647eb70d7d7a694936b0b0a6e32d947e11bf60f3bf4
6
+ metadata.gz: 28e3210a520f00460e3e8d820e62577ae0195bdd62e3d54493a617c50dcc0c5596a3b230c91c157d4102fc028f04370f5988c84d78f5244ec3934e22d848846d
7
+ data.tar.gz: e2e5cc4ec8205b318a51574fac212da2975a797fc7825734c900478837662d83d256f074d5bb9b4dcaf9f872bbf9e924f66addf200470564faff3d7d3f6d63e1
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in relaton_ieee.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.0"
7
7
  gem "rspec", "~> 3.0"
@@ -23,7 +23,7 @@ module RelatonIeee
23
23
  json = JSON.parse resp_json["message"]
24
24
  @array = json["response"]["searchResults"]["resultsMapList"]
25
25
  .reduce([]) do |s, hit|
26
- /^(?:\w+\s)?(?<id>[^-\/]+)(-(?<year>\d{4}))?/ =~ hit["record"]["recordTitle"]
26
+ /^(?:\w+\s)?(?<id>[A-Z\d\.]+)(-(?<year>\d{4}))?/ =~ hit["record"]["recordTitle"]
27
27
  next s unless id && code =~ %r{^#{id}}
28
28
 
29
29
  s << Hit.new(hit["record"].merge(code: id, year: year.to_i), self)
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.7.4".freeze
2
+ VERSION = "1.7.5".freeze
3
3
  end
data/relaton_ieee.gemspec CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  # spec.add_development_dependency "debase"
35
35
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
36
36
  spec.add_development_dependency "pry-byebug"
37
- spec.add_development_dependency "rake", "~> 10.0"
37
+ # spec.add_development_dependency "rake", "~> 13.0"
38
38
  # spec.add_development_dependency "rspec", "~> 3.0"
39
39
  # spec.add_development_dependency "ruby-debug-ide"
40
40
  # spec.add_development_dependency "ruby-jing"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-20 00:00:00.000000000 Z
11
+ date: 2021-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: simplecov
57
43
  requirement: !ruby/object:Gem::Requirement