relaton-ieee 1.10.1 → 1.10.2

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: 22f50c0f1e9e83d204ee448b8d107f47d6cf4d7679958c924a7bdd90f95926e0
4
- data.tar.gz: a9d6a839d5d32583e16ad6e19e712165e920d6fda2d7f0fb62c80dee037e1aa7
3
+ metadata.gz: a35522930cd851601adc284248bf03db8ad66d9eaee8683ae2fbd2539340cc1f
4
+ data.tar.gz: ada9379a255bfcceaa3fb92c1a3d2f36a3ab45f98b785d4dc44be8488fc5c146
5
5
  SHA512:
6
- metadata.gz: 2673c4dc352e3a3bdd1ee47aa5898d1eedb0eb3b363622f029caf4a34482c1fe681281f57481652a03b07af5b9daa611e25c4ee180f8bd43db6ea4eee14bdf8a
7
- data.tar.gz: 62e9c7bf873f1f7942ca1acd0cbe2cb83a8c1928f1881269045d154b820f44cc19c03830afc30fd10bc6987c30944414c496bc0b9258602add729c74c0d8fdeb
6
+ metadata.gz: 64add1f8b7621229905e0ef258e7d3d39f96d3e343f5ea5cd3f136d7902bef2fbd89b6861c2f846568d323216f2459ab749d619645d272eb71f41fe391e973d1
7
+ data.tar.gz: 6465731a9e67433a501b851dbc75203841eb6661852ecb80001c18a59f38a192b9142056d85f8eaee9964e9e9852e2410dd76a0286f3888fd54f61bd69ced886
@@ -19,6 +19,7 @@ module RelatonIeee
19
19
  script: ["Latn"],
20
20
  date: fetch_date(doc),
21
21
  committee: fetch_committee(doc),
22
+ place: ["Piscataway, NJ, USA"],
22
23
  )
23
24
  end
24
25
  # rubocop:enable Metrics/MethodLength, Metrics/AbcSize
@@ -75,10 +76,19 @@ module RelatonIeee
75
76
 
76
77
  # @param doc [Nokogiri::HTML::Document]
77
78
  # @return [Array<RelatonBib::ContributionInfo>]
78
- def fetch_contributor(doc)
79
+ def fetch_contributor(doc) # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
80
+ address = RelatonBib::Address.new(
81
+ street: ["445 Hoes Lane"], postcode: "08854-4141", city: "Piscataway",
82
+ state: "NJ", country: "USA"
83
+ )
84
+ org = RelatonBib::Organization.new(
85
+ name: "Institute of Electrical and Electronics Engineers",
86
+ abbreviation: "IEEE", contact: [address]
87
+ )
88
+ contrib = RelatonBib::ContributionInfo.new(entity: org, role: [type: "publisher"])
79
89
  doc.xpath("//dd[@id='stnd-staff-liaison']/text()").map do |name|
80
90
  person_contrib(name.text.strip)
81
- end
91
+ end << contrib
82
92
  end
83
93
 
84
94
  # @param name [String]
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.10.1".freeze
2
+ VERSION = "1.10.2".freeze
3
3
  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.10.1
4
+ version: 1.10.2
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-02-08 00:00:00.000000000 Z
11
+ date: 2022-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml