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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f3d34a19f9952368e46e0287dc3121b14b2bf2524613caa67e8810b17c0ad44
4
- data.tar.gz: 024e1fa96b0082b61bc80ddd49fe9e2d906607d538badbb8df5a4e58c5603236
3
+ metadata.gz: 163a9f60eeb667aff478312eb3325fa8d89ac00f4ed11dda2d24be353c7dee38
4
+ data.tar.gz: 5cc2a287138fe56e118ec4d3ef10b13d2da5568e69f186c9d303fa99fbe33b69
5
5
  SHA512:
6
- metadata.gz: 8948a30ac51fbc1626ad445ffba402a781b7fe931ea0305ed50b1cd82b4d807ed6cfe4cbbbdd28cd133284e14ea5e616cb66160cbef251690b9f657181cc175a
7
- data.tar.gz: efad783da2ee6f69c42384b7d1b2c198783ddb44e19a95547a6a3d4574bca0af87bb545c130f3835e8fd36e603112fa6ae79c0fb30dd9b3ae36bbf98ba136dbb
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 = { type: "proceedings", fetched: Date.today.to_s, title: [], doctype: r["type"] }
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"] }]
@@ -1,3 +1,3 @@
1
1
  module RelatonBipm
2
- VERSION = "1.13.3".freeze
2
+ VERSION = "1.13.4".freeze
3
3
  end
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.3
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-03 00:00:00.000000000 Z
11
+ date: 2022-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug