ecs-solo 0.1.2 → 0.1.3

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: c3b2dda2ee0569cc01a40abce66be6444f14b848502d8b6fd0eedb36cd64c433
4
- data.tar.gz: fd706a0394d043146ad2df06efdc2a56301462631b384eab551f23db33feeed6
3
+ metadata.gz: d838e8f98173c6a886d57c1a592169cc9ac5c6fa81c58f57330b24f9c4bd0527
4
+ data.tar.gz: 91bbea6f2d972b2146987f0d694d7c1d5713af5ebd72283edd103d383be48a1d
5
5
  SHA512:
6
- metadata.gz: 77690e63652d16c7224198aa0173eebf453ef0720899b39eb8a29320c6db4ce199bb6979e7886bc81550d88d7860985b7751081bb451d8e8f6fc05ba78179cb1
7
- data.tar.gz: 92f141b9e4027d561302dbc534ffa5826ee844edd564e0457e99aca14719a05fa24d87209ca6e76cf61d9ffa10a580d10cb3bf1575cc90381e7f53daf6ecb7dd
6
+ metadata.gz: ce3c43fea1f615101080d86c69eb7d9ef1d43a797382281d7036f7004950f2289b40f08ab50d06167dc98abc42870f573d8dbe96eae8db65734a69aeacc08efd
7
+ data.tar.gz: 5794b1ac398c150e6fd4c97a484c581ce1a811f1dc71c4aaac0d150971de70f78f131b3a93e40c3dedb2d34088f407136e533f7b0fd3364d1f48764036db5813
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.1.3]
7
+ - ability to control docker run options with ECS_SOLO_DOCKER_RUN_OPTIONS
8
+
6
9
  ## [0.1.2]
7
10
  - clean up container if its not running and start it
8
11
 
@@ -32,7 +32,8 @@ module EcsSolo
32
32
  end
33
33
 
34
34
  def run
35
- sh "docker run --name #{name} -d #{image} #{@command}"
35
+ docker_options = ENV['ECS_SOLO_DOCKER_RUN_OPTIONS']
36
+ sh "docker run --name #{name} -d #{docker_options}#{image} #{@command}"
36
37
  end
37
38
 
38
39
  def in_use?
@@ -1,3 +1,3 @@
1
1
  module EcsSolo
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs-solo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
@@ -213,6 +213,7 @@ files:
213
213
  - lib/ecs_solo/version.rb
214
214
  - pkg/ecs-solo-0.1.0.gem
215
215
  - pkg/ecs-solo-0.1.1.gem
216
+ - pkg/ecs-solo-0.1.2.gem
216
217
  - pkg/solo-0.1.0.gem
217
218
  - spec/cli_spec.rb
218
219
  - spec/spec_helper.rb