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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecd6d92c4f49a3d402a3017e8ead935cdec59b22f7128271197ad5de76e1e696
4
- data.tar.gz: 6207e47442ff412f346f9e66dedf1392fec101ffa769b4d12fcacdd24ac26237
3
+ metadata.gz: 9f1bc070e63196f97343ec48b9ab60164066da919793bdbf04b5da6b9df92703
4
+ data.tar.gz: ef8f715a5ee9ef65ed14b014953cd0ee63a05ca44e788010e1bcf334fd7c21b3
5
5
  SHA512:
6
- metadata.gz: d924147453cfda65ac27b54776ba87f1be72ec829fee2d23f02fea8f437073c5fb35b431f86aee3fc632f7395000ee34eabd22970faef5958c7a1c98f25684ef
7
- data.tar.gz: 86fdff381a43369391442b99959a5281f1b988cbfa48db37b2d277c2333888d76e533d1a6fccc6d31c9b839680be6e6047dc7338bffca957688a577ab6794c67
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
- stage.sub!("active", "approved").sub! "inactive", "withdrawn"
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[developing active inactive].freeze
4
+ STAGES = %w[draft approved superseded withdrawn].freeze
5
5
 
6
6
  def initialize(value:, abbreviation: nil)
7
7
  unless STAGES.include?(value.downcase)
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.14.1".freeze
2
+ VERSION = "1.14.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.14.1
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-05 00:00:00.000000000 Z
11
+ date: 2022-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml