relaton-ieee 1.12.1 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +1 -1
- data/lib/relaton_ieee/pub_id.rb +3 -3
- data/lib/relaton_ieee/rawbib_id_parser.rb +1 -1
- data/lib/relaton_ieee/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: 2c4811b6bf08c0df0c59f408c0f730db58f8dbe0e40fac0935195ad29e86b139
|
4
|
+
data.tar.gz: 887eb9b829a9d15ad132d89f9776657459e185cb0bab6776bc436e4dcccb0f32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62638acbd29676f6c377bf6b27019bb8920139f9aa73a18f54bd7b4d6915bc0eeecf270273abfc1301438d8f49568f415e52e1350a349990d8bdecdec48958c2
|
7
|
+
data.tar.gz: 73c063f312988a3d1c32f0d17fc90f8fb4c5bd47246d4c175bfe444f21b2c24626e51fed83eac12b82e0a747a54ee587bc85df2e869d1708e378ec9b1d14ca9b
|
data/README.adoc
CHANGED
@@ -170,7 +170,7 @@ hash = YAML.load_file 'spec/fixtures/ieee_528_2019.yaml'
|
|
170
170
|
|
171
171
|
=== Fetch data
|
172
172
|
|
173
|
-
There is an IEEE dataset https://github.com/
|
173
|
+
There is an IEEE dataset https://github.com/relaton/ieee-rawbib which can be converted into BibXML/BibYAML formats. The dataset needs to be placed into local directiory.
|
174
174
|
|
175
175
|
The method `RelatonIeee::DataFetcher.fetch(output: "data", format: "yaml")` converts all the documents from the local `ieee-rawbib` directory and save them to the `./data` folder in YAML format.
|
176
176
|
Arguments:
|
data/lib/relaton_ieee/pub_id.rb
CHANGED
@@ -28,7 +28,7 @@ module RelatonIeee
|
|
28
28
|
# @option args [String] :year
|
29
29
|
# @option args [String] :month
|
30
30
|
#
|
31
|
-
def initialize(number:, **args) # rubocop:disable Metrics/MethodLength
|
31
|
+
def initialize(number:, **args) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
32
32
|
@publisher = args[:publisher]
|
33
33
|
@stage = args[:stage]
|
34
34
|
@number = number
|
@@ -56,7 +56,7 @@ module RelatonIeee
|
|
56
56
|
out = "#{approval} #{out}" if approval
|
57
57
|
out = "#{status} #{out}" if status
|
58
58
|
out = "#{publisher} #{out}" if publisher
|
59
|
-
out += "
|
59
|
+
out += ".#{part}" if part
|
60
60
|
out += edition_to_s + draft_to_s + rev_to_s + corr_to_s + amd_to_s
|
61
61
|
out + year_to_s + month_to_s + redline_to_s
|
62
62
|
end
|
@@ -82,7 +82,7 @@ module RelatonIeee
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def year_to_s
|
85
|
-
year ? "
|
85
|
+
year ? "-#{year}" : ""
|
86
86
|
end
|
87
87
|
|
88
88
|
def month_to_s
|
data/lib/relaton_ieee/version.rb
CHANGED
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.12.
|
4
|
+
version: 1.12.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-07-
|
11
|
+
date: 2022-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|