wrapbox 0.5.0 → 0.5.1

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
  SHA1:
3
- metadata.gz: c24c21fbb7bbac8241ec5750714e5ea7d28f4755
4
- data.tar.gz: 29fe85200b1df44f85528bdda6eae40b67c23fe8
3
+ metadata.gz: 1965da67b81d7e48ce83328b1232ab64076f3a7b
4
+ data.tar.gz: 71bd8778904f32286dd68290c816fd1e8a6408da
5
5
  SHA512:
6
- metadata.gz: a34af96a5e4ffb23f48cb04bb19bd63baeb8ec6a5b17be701da6182becde100b1937680a34f0e890e859e0f9668b95fdfc37618cd482e4c00d147c8d6f2a74f0
7
- data.tar.gz: df635e95edceff7169e4fa213dc57722698cf873f67e1e204e988ea0557a95454d103b7a6b0a7c0cca4cd10afee28628310be7c93f606994dfb1f2ec93b97719
6
+ metadata.gz: 3817a6e45774bd6ad20f54ab3737cd19fabef4693b51c48d54e27783dc8a51828edc199e6fc7569788a9c0f0c7aff9b5b4fa33aef2931d94357282f59f741a31
7
+ data.tar.gz: 0fb7b778b756d48b60387b37b3860287919b7f20efbd4e8d57c7ee96f64d345c36ba00b7e567d90fd7bd8c95d351988227e6b8d758b5735cbec2c4dc785cfc83
@@ -16,7 +16,7 @@ module Wrapbox
16
16
 
17
17
  def initialize(options)
18
18
  @name = options[:name]
19
- @container_definitions = options[:container_definition] ? [options[:container_definition]] : options[:container_definitions][0]
19
+ @container_definitions = options[:container_definition] ? [options[:container_definition]] : options[:container_definitions]
20
20
 
21
21
  if @container_definitions.size >= 2
22
22
  raise "Docker runner does not support multi container currently"
@@ -49,7 +49,7 @@ module Wrapbox
49
49
  envs = environments + ["WRAPBOX_CMD_INDEX=#{idx}"]
50
50
  exec_docker(
51
51
  definition: definition,
52
- cmd: c ? Shellwords.shellsplit(c) : nil,
52
+ cmd: c&.shellsplit,
53
53
  environments: envs
54
54
  )
55
55
  end
@@ -138,7 +138,7 @@ module Wrapbox
138
138
  envs = (parameters[:environments] || []) + [{name: "WRAPBOX_CMD_INDEX", value: i.to_s}]
139
139
  run_task(
140
140
  task_definition.task_definition_arn, nil, nil, nil,
141
- c ? Shellwords.shellsplit(c) : nil,
141
+ c&.shellsplit,
142
142
  Parameter.new(**parameters.merge(environments: envs))
143
143
  )
144
144
  end
@@ -1,3 +1,3 @@
1
1
  module Wrapbox
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-23 00:00:00.000000000 Z
11
+ date: 2017-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk