pubid-ccsds 0.1.3 → 0.1.5

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: 2dd76879d199ecc673d5e7bc7bfeb7585dc8ee4bc9b815840ebe039a122d20fa
4
- data.tar.gz: 122f94ec9a8ad572d5e5a1b73f1504b5bc8daed327230832696a15105a43052e
3
+ metadata.gz: 5524c71f1a24c98821d31d59e327694a3c9a1a25449e38b2ea952e6305f17479
4
+ data.tar.gz: 5439aae01b7fb4434be8705497ada80fd9bf6e72421c2860f86af6a355d50bf9
5
5
  SHA512:
6
- metadata.gz: 653741128e390ed4a8669179fac34c030a5d9061c1d93e88e22b064c84bd1a328f67b08821dab3ae32eb47c48a3d5ad3a46283b67a132cb514e4120a5a279760
7
- data.tar.gz: 1df9b5b79fb741c843141a327ac5b65655038f97eca3cabc6aad1d68fd6d2acd5ebed3880b0e842dceadca9f8f5adb5f2e2529c0da2532e14fa8a1947a7aeca7
6
+ metadata.gz: 186973675746e3ae321f92334f8c90fb818058a8007e3e7bce8d6a409565c7521d7693d54d1db049eec4e494d189a1bb688a787d8750d12342df2d519045460c
7
+ data.tar.gz: 89e21d4658e4cc979953bc7c35e2892cc67b4c0347eed3ac275528773f36c0b77cbe0606b4cf6e3edf66c9d1527fb05a0ca5469842256fa1623b17b5a0edf0aa
@@ -14,11 +14,11 @@ module Pubid::Ccsds
14
14
  def initialize(publisher: "CCSDS", book_color: nil, part: nil,
15
15
  series: nil, retired: nil, edition: nil, **opts)
16
16
  super(**opts.merge(publisher: publisher))
17
- @book_color = book_color
18
- @part = part || 0
19
- @series = series
20
- @retired = retired
21
- @edition = edition
17
+ @book_color = book_color.to_s
18
+ @part = part.to_i || 0
19
+ @series = series.to_s if series
20
+ @retired = retired ? true : false
21
+ @edition = edition.to_s if edition
22
22
  end
23
23
 
24
24
  class << self
@@ -1,5 +1,5 @@
1
1
  module Pubid
2
2
  module Ccsds
3
- VERSION = "0.1.3".freeze
3
+ VERSION = "0.1.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubid-ccsds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.12.2
61
+ version: 1.12.6
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.12.2
68
+ version: 1.12.6
69
69
  description: Library to generate, parse and manipulate CCSDS PubID.
70
70
  email:
71
71
  - open.source@ribose.com
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.3.26
109
+ rubygems_version: 3.3.27
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Library to generate, parse and manipulate CCSDS PubID.