relaton-ogc 1.5.2 → 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: '09f233949ca3ca48d8ae2ca784097f471407694b40546f04450255f8f773d119'
4
- data.tar.gz: 75bc95e83eff25f9e2dd5d5e898e3c08d87ec2d4703f29130da200ff523687ab
3
+ metadata.gz: 3487044fb3801af6c296c4a68993b4810da56d51c70aaae849e905f133995467
4
+ data.tar.gz: 9b2090662526e3af7bb5ceccd4c7439dabf78881a0bb83d8115d95cd677713d1
5
5
  SHA512:
6
- metadata.gz: 4272ce035563fc4b3fcc321d3c06a6f1f24c73d1273ad2748bc3ea279fe894d98e4f3d06ae61a7e6c20779bbe814498886e7ac386c21bcd4d19dff2c8f80d7a5
7
- data.tar.gz: f193772cb108afba5c1c253f91301a1eaaae107552bcb587d36bdf441e95c079e4c502d88d05cf619ef57e50e3e82911392c98788909c411edc5020b6e33f379
6
+ metadata.gz: 660c7b886d72f716a4c3f9b2797f1254615785b0d184fb030eeb348de802d0fc11889e21efa311052c9fbb4b275998d93d4faf65841b58d541ce14f5dbbc0e76
7
+ data.tar.gz: 852ad063d378e0d23b7de6301b00b5755dc2e8657028375662efd850b4d63acccaae5d78e8835cf0e845567e79a1d7c5816101a40f8063c240c790c1ec159486
@@ -54,9 +54,9 @@ module RelatonOgc
54
54
  return { ret: item } if !year
55
55
 
56
56
  item.date.select { |d| d.type == "published" }.each do |d|
57
- return { ret: item } if year.to_i == d.on.year
57
+ return { ret: item } if year.to_i == d.on(:year)
58
58
 
59
- missed_years << d.on.year
59
+ missed_years << d.on(:year)
60
60
  end
61
61
  end
62
62
  { years: missed_years }
@@ -1,3 +1,3 @@
1
1
  module RelatonOgc
2
- VERSION = "1.5.2".freeze
2
+ VERSION = "1.6.pre1".freeze
3
3
  end
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency "webmock"
37
37
 
38
38
  spec.add_dependency "faraday", "~> 1.0.0"
39
- spec.add_dependency "relaton-iso-bib", "~> 1.5.0"
39
+ spec.add_dependency "relaton-iso-bib", "~> 1.6.pre"
40
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
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-11-04 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
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.5.0
173
+ version: 1.6.pre
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.5.0
180
+ version: 1.6.pre
181
181
  description: 'RelatonOgc: retrieve OGC Standards for bibliographic use using the OgcBibliographicItem
182
182
  model'
183
183
  email:
@@ -230,9 +230,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  requirements:
233
- - - ">="
233
+ - - ">"
234
234
  - !ruby/object:Gem::Version
235
- version: '0'
235
+ version: 1.3.1
236
236
  requirements: []
237
237
  rubygems_version: 3.0.6
238
238
  signing_key: