dry-stack 0.1.3 → 0.1.4

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: 516984772a050079922f9bb5382f61562454fc49079b478cf4f6ac58ba86fcf7
4
- data.tar.gz: 55213cc08e7512c0aab51362fa12c9758090c3d16c4a341fb212f9ea8a963ddd
3
+ metadata.gz: 36f7715c78b55d4cdb925f8546caf29c3f14f4a91226307ea9b2e2a49195101a
4
+ data.tar.gz: 00e3171fa38e008d72a9d397fe5225dd7b15ce76add02dcfb4eb85c1061d365d
5
5
  SHA512:
6
- metadata.gz: 90bbba8c4cdc86faf47b285ef2af1c071e4101c18f80ee25471fab603f03ddcfa988ebbfd8bffec248b3944c792e8a42db24e792f35a97e543455967cf0f5d4a
7
- data.tar.gz: f672f19d5a13377aee80d23d513147adb11c4a9f5814aac1e45c55b97a40f7ab2470b02c643b035391bfe389ced0b08ccbec17708fca22f85c6d88ca10b78d8c
6
+ metadata.gz: 8e99e81d6a8bc9a23f0a5ab603d667967d16affc9ac3d0fa8b35497f03297d877f41f991f8604f5ccb0193e0e18d27cf6c128705ae9a00cdacc243769899a4c7
7
+ data.tar.gz: d41dd16da3b445009adc06cca9e654eb0bf7249ce3d033326939c36fd54afded2e3f6707bd844b6961eec4cd375ad5da26f6958fd1a9d0753f8c1f543ca1a652
@@ -9,10 +9,10 @@ Dry::CommandLine::COMMANDS[:swarm_deploy] = Class.new do
9
9
  _params = stack.options.merge params
10
10
  stack.name = _params[:name] if _params[:name]
11
11
 
12
- if params[:'context-endpoint']
13
- name = params[:'context-endpoint'].gsub( /[\/.:@]/,'_').gsub( '__','_')
12
+ if params[:context_endpoint]
13
+ name = params[:context_endpoint].gsub( /[\/.:@]/,'_').gsub( '__','_')
14
14
  name = "dry-#{name}".to_sym
15
- endpoint = params[:'context-endpoint']
15
+ endpoint = params[:context_endpoint]
16
16
  contexts = {}
17
17
  exec_o_lines 'docker context ls --format json' do |line|
18
18
  ctx = JSON.parse line, symbolize_names: true
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  class Stack
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B