relaton-ieee 1.5.0 → 1.6.pre1

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: a72cc3888d391e73d0c1ad9ac99720fae474a9274cef5977d94680ec5c9cbf7a
4
- data.tar.gz: e0fb23a6e5c048fc92a150e8aaa2473182b03e7ffb374ca7a21847663ca65510
3
+ metadata.gz: 40b2b57af7ea94732cb4410b4081fa2f59d4b73686a1799d8b53af71425ee18e
4
+ data.tar.gz: 62e0018cb407e97da6361c20996dbf7031618e644c4e121d929d5d731b8c74cc
5
5
  SHA512:
6
- metadata.gz: 573ef7206baf236f7d19bb18f3cf0f4415eebd206eab52d2e994ec4a3356592d53939d00504044788a15a17888a7087994b7797a7ffdbb5160c7c0124389ee3b
7
- data.tar.gz: 368037143bf6fed8420610bc4f48021ed5c1c947c1e906e8d08695f4aaf38b61c5ae8fdb50cc8d0e029f24076aa59a7f22002a7bef68929cd0a77a0da8024b87
6
+ metadata.gz: 88fe1300ab36251a83f404f96acf241f6c8c2159b87fc12e9766a1a19f656601215b19c21a30f0555ad26ef8188f2b23c10146c395f29eac2768de6bedcb7aa0
7
+ data.tar.gz: d12ae991027baf6179b1bf678998caee0ec038b3246bcf342b50e8e694ed6e8e4bfc74bee47466ab43c4d21cc29af21cf8b18157c35830b9945200d69e66429a
@@ -32,6 +32,8 @@ jobs:
32
32
  - name: Update gems
33
33
  run: |
34
34
  sudo gem install bundler --force
35
+ ruby -v | grep 2.5 && bundle config set build.debase --with-cflags="-Wno-error=implicit-function-declaration"
36
+ ruby -v | grep 2.5 && bundle config set build.ruby-debug-ide --with-cflags="-Wno-error=implicit-function-declaration"
35
37
  bundle install --jobs 4 --retry 3
36
38
  - name: Run specs
37
39
  run: |
@@ -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>\d+)-(?<year>\d{4})/ =~ hit["record"]["recordTitle"]
26
+ /^(?:\w+\s)?(?<id>[^-\/]+)(-(?<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.5.0".freeze
2
+ VERSION = "1.6.pre1".freeze
3
3
  end
@@ -43,5 +43,5 @@ Gem::Specification.new do |spec|
43
43
  spec.add_development_dependency "webmock"
44
44
 
45
45
  spec.add_dependency "faraday", "~> 1.0.0"
46
- spec.add_dependency "relaton-bib", "~> 1.5.0"
46
+ spec.add_dependency "relaton-bib", "~> 1.6.pre"
47
47
  end
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.5.0
4
+ version: 1.6.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2020-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.5.0
145
+ version: 1.6.pre
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.5.0
152
+ version: 1.6.pre
153
153
  description: 'RelatonIeee: retrieve IEEE Standards for bibliographic use using the
154
154
  IeeeBibliographicItem model'
155
155
  email:
@@ -204,9 +204,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  version: 2.3.0
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">="
207
+ - - ">"
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: 1.3.1
210
210
  requirements: []
211
211
  rubygems_version: 3.0.6
212
212
  signing_key: