servactory 2.16.0.rc2 → 2.16.0.rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ff6af883d52092f1fd6589a77d962a3bd8b346ca5b8f40ffe4489b993e023e3
4
- data.tar.gz: 8eb05b74076fa1c75e6688ffa1503daaca3f5f0a43d32d621eeda3912456d4cc
3
+ metadata.gz: 6746c3ceeeada5c6f0c176a7ed39bb8ae380be9bb90dacb23d766c89fb38f8b5
4
+ data.tar.gz: a34e6148b46002a8bd4ec7a527d6262a482ba3416401cd4bdba11a0a9f2b2af6
5
5
  SHA512:
6
- metadata.gz: 9bf62d2f5546ccf038ba21009e9cca29d27dfe10431d1117bd020e5c537d45afc10f1323b2ce34ae87b7e43d750b4cae767277390d51de81c3692fe984fb7aaf
7
- data.tar.gz: 0c1c762bccd20fc0d9738a6c5788dd27d874567306adeb6edabe5d2ba0522fdabd0c507ac97d63ca9b35dba7fa4475ff9c54c6ffdb76ebd819e58d092e9acf98
6
+ metadata.gz: 7f1e36365f9ebc8f2356586945fb7340a5be9888a4930bf6eda1e9baabdec1bebe1cf3d91485b83e9e21fc5fb4e2e7eb98c241a192de14f44e0ad94550a97dbd
7
+ data.tar.gz: d004cce9a054659749afb44cf0315737424820677b9ff7ce916b6561901906e49c412048b543c7338c569aa33d34fe668189fc3c44fa9666f281c81def338afd
@@ -4,7 +4,7 @@ module Servactory
4
4
  module Actions
5
5
  class Collection
6
6
  extend Forwardable
7
- def_delegators :@collection, :<<, :each, :map, :sort_by
7
+ def_delegators :@collection, :<<, :each, :to_h, :sort_by
8
8
 
9
9
  def initialize(collection = Set.new)
10
10
  @collection = collection
@@ -73,13 +73,14 @@ module Servactory
73
73
  @stages = collection.to_h do |stage|
74
74
  [
75
75
  :"stage_#{stage.position}",
76
- stage.actions.map do |action|
77
- {
78
- action.name => {
76
+ stage.actions.to_h do |action|
77
+ [
78
+ action.name,
79
+ {
79
80
  position: action.position,
80
81
  condition: action.condition
81
82
  }
82
- }
83
+ ]
83
84
  end
84
85
  ]
85
86
  end
@@ -5,7 +5,7 @@ module Servactory
5
5
  MAJOR = 2
6
6
  MINOR = 16
7
7
  PATCH = 0
8
- PRE = "rc2"
8
+ PRE = "rc3"
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0.rc2
4
+ version: 2.16.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov