relaton-bipm 1.13.3 → 1.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bipm/data_fetcher.rb +5 -2
- data/lib/relaton_bipm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 163a9f60eeb667aff478312eb3325fa8d89ac00f4ed11dda2d24be353c7dee38
|
4
|
+
data.tar.gz: 5cc2a287138fe56e118ec4d3ef10b13d2da5568e69f186c9d303fa99fbe33b69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e585b21ae150bda7dc70203d696f4bfd9e9903a3d0b7e66b1f73b0b86312a59c171b35ab0cfe1b9ab3bcf9bce6a02f496354d5df0c95d0aab4e1258e89936e77
|
7
|
+
data.tar.gz: 425b7ff50a80c6e6971c1bccc42330f5785cdad5afff6632a08f4eec1271b7416514c9ed5c4a5468c15790d13138c43fe27e4dde03c1c688166bcaec6fc1da4f
|
@@ -218,7 +218,10 @@ module RelatonBipm
|
|
218
218
|
#
|
219
219
|
def fetch_resolution(**args) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
220
220
|
args[:en]["resolutions"].each.with_index do |r, i| # rubocop:disable Metrics/BlockLength
|
221
|
-
hash = {
|
221
|
+
hash = {
|
222
|
+
type: "proceedings", fetched: Date.today.to_s, title: [],
|
223
|
+
doctype: r["type"], place: [RelatonBib::Place.new(city: "Paris")]
|
224
|
+
}
|
222
225
|
hash[:title] << title(r["title"], "en") if r["title"]
|
223
226
|
fr_resolution = args[:fr]["resolutions"].fetch(i, nil)
|
224
227
|
if fr_resolution
|
@@ -301,7 +304,7 @@ module RelatonBipm
|
|
301
304
|
#
|
302
305
|
def bibitem(**args) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Metrics/CyclomaticComplexity
|
303
306
|
hash = { title: [], type: "proceedings", doctype: args[:type],
|
304
|
-
fetched: Date.today.to_s }
|
307
|
+
fetched: Date.today.to_s, place: [RelatonBib::Place.new(city: "Paris")] }
|
305
308
|
hash[:title] << title(args[:en]["title"], "en") if args[:en]["title"]
|
306
309
|
hash[:title] << title(args[:fr]["title"], "fr") if args[:fr]["title"]
|
307
310
|
hash[:date] = [{ type: "published", on: args[:en]["date"] }]
|
data/lib/relaton_bipm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|