stepmod-utils 0.6.5 → 0.6.6

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: 17f10378d866d0d9f21341181a3c49fd9fc20c791acc86043bed786df886d9c7
4
- data.tar.gz: 10bc583e2f40b9331cf6eb2f17d762ed1e4c99286f03764c8678b5160d35a00d
3
+ metadata.gz: ca5666242ecf90b13b0f4f8cd6ba9775db3b0c4e7705b39e5dbc89f720bf8c11
4
+ data.tar.gz: de1a6c5636529924f8ae9b4795a24569f5070cf348d1cc0e9b470824238995e9
5
5
  SHA512:
6
- metadata.gz: 40e340a93b7f95d56c3c1754ee1725dc0267c6a62d9a1f5838c39fd22ddc9e834e1d4a6c41c1598f791aaf50cbb03c265f1031650f61a1ba21b01ae6a728d3b5
7
- data.tar.gz: f3f564dea2531731ebeea9c1dbe23e9b8597fe6400efa70b17888ff771edea063c35d5de94c4eedf8fe6968b8ed1f52d564b15b4f0b1e1900d270695ed8e43bb
6
+ metadata.gz: '0839446db646257c8907814f8e951588da4e6ed5481fde60241edc3db308acf78ef5d69816dc179372ebb404e9f66c799dc81c2a978ac5921432c7880224e21c'
7
+ data.tar.gz: b6a8ab5f2b01db122ca23114ac7146643638c18921d9fc0c89ab8ee5a9a4de1be09df9921861ef4cda598156b324e1bf99d11afda0eace1edfbf8f940a305f76
@@ -40,7 +40,7 @@ module Stepmod
40
40
  end
41
41
 
42
42
  def add_change_edition(change_edition)
43
- @change_editions[change_edition[:version]] = change_edition
43
+ @change_editions[change_edition["version"]] = change_edition
44
44
  end
45
45
 
46
46
  def fetch_change_edition(version)
@@ -5,12 +5,12 @@ module Stepmod
5
5
  attr_reader :additions, :modifications, :deletions, :changes
6
6
 
7
7
  def initialize(options)
8
- @version = options[:version]
9
- @description = options[:description]
10
- self.additions = options[:additions] || []
11
- self.modifications = options[:modifications] || []
12
- self.deletions = options[:deletions] || []
13
- self.changes = options[:changes] || []
8
+ @version = options["version"] || options[:version]
9
+ @description = options["description"] || options[:description]
10
+ self.additions = options["additions"] || options[:additions] || []
11
+ self.modifications = options["modifications"] || options[:modifications] || []
12
+ self.deletions = options["deletions"] || options[:deletions] || []
13
+ self.changes = options["changes"] || options[:changes] || []
14
14
  end
15
15
 
16
16
  def additions=(additions)
@@ -9,7 +9,7 @@ module Stepmod
9
9
 
10
10
  def fetch_or_initialize(version)
11
11
  @collection[version] ||=
12
- Stepmod::Utils::ChangeEdition.new(version: version)
12
+ Stepmod::Utils::ChangeEdition.new("version" => version)
13
13
  end
14
14
 
15
15
  def to_h
@@ -1,5 +1,5 @@
1
1
  module Stepmod
2
2
  module Utils
3
- VERSION = "0.6.5".freeze
3
+ VERSION = "0.6.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stepmod-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
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-10-04 00:00:00.000000000 Z
11
+ date: 2024-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby