relaton-ieee 1.14.1 → 1.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_ieee/data_parser.rb +1 -1
- data/lib/relaton_ieee/document_status.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: 9f1bc070e63196f97343ec48b9ab60164066da919793bdbf04b5da6b9df92703
|
4
|
+
data.tar.gz: ef8f715a5ee9ef65ed14b014953cd0ee63a05ca44e788010e1bcf334fd7c21b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3506230a3c2c2b223cd7ca85fc2b1c78bfc146b3f31beaa7fafb16786e5a73b77b0fb1dee0469943aeb9159d0d5fda55bfdd3db7c4fa6754eb2bca40ba2914eb
|
7
|
+
data.tar.gz: 35d717ac1a6ee6e4e24531bb19106d0efcca3dc0fa9933f43a032d08d67053d93afbb44e6b6df4b7b484e931a5c1a3eb69eead70e9fe3aa2ab081466fc1c9031
|
@@ -229,7 +229,7 @@ module RelatonIeee
|
|
229
229
|
#
|
230
230
|
def parse_status
|
231
231
|
stage = doc.at("./publicationinfo/standard_status").text.downcase
|
232
|
-
|
232
|
+
.sub("active", "approved").sub("inactive", "withdrawn")
|
233
233
|
DocumentStatus.new stage: stage
|
234
234
|
end
|
235
235
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module RelatonIeee
|
2
2
|
class DocumentStatus < RelatonBib::DocumentStatus
|
3
3
|
class Stage < RelatonBib::DocumentStatus::Stage
|
4
|
-
STAGES = %w[
|
4
|
+
STAGES = %w[draft approved superseded withdrawn].freeze
|
5
5
|
|
6
6
|
def initialize(value:, abbreviation: nil)
|
7
7
|
unless STAGES.include?(value.downcase)
|
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.14.
|
4
|
+
version: 1.14.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-12-
|
11
|
+
date: 2022-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|