docker-sync 0.1.0 → 0.1.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: 6cb5e3a077d9de57cad162afbdab55c0aa2ed36f
4
- data.tar.gz: 73b3b75811e54265c180c4e6cc540a23f762a394
3
+ metadata.gz: 9986beceeb3f875df932e66562fbd84c8e933df5
4
+ data.tar.gz: 1f8ca0857499bc05dadefdec2090a99a2f39ecec
5
5
  SHA512:
6
- metadata.gz: 420ff17cc42f4d5422e85604f5e28b1ff10e6a820435130bca44dccf6f970c349583d068195ca5f460a9c89b230ad94f255f56dac03f9b79b95036c54cb60eed
7
- data.tar.gz: 0d1284902dcb5b72fe1cde3c28f9279efba62db2990f2c9c9837e3461b8f0032f2c61b6b2f1b588ba4fc6936cf220b195be25b3c3221d17d7e952674a77e6d61
6
+ metadata.gz: 8a1a678fba8bb4c6ebe4d977d22476d6266d46872ac4b839ccc8d28b3bb915c073cddff0f96116d195b41bb6561e3bf6d386928ef07d5a2d2515731c3039e9c9
7
+ data.tar.gz: 2bb30716832245c895b09d7768fab9a97074163eb143376dbba2d2cd11b5330c51c9fc1adb65de8a67ac274f6aa6b71224bd1227746f37a73e1cd04eb1217d28
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -160,7 +160,7 @@ module Docker_Sync
160
160
  end
161
161
 
162
162
  def get_host_port(container_name, container_port)
163
- cmd = 'docker inspect --format=" {{ .NetworkSettings.Ports }} " ' + container_name + ' | sed "s/.*map\[' + container_port + '[^ ]\+\s\([0-9]\+\).*/\1/"'
163
+ cmd = 'docker inspect --format=" {{ .NetworkSettings.Ports }} " ' + container_name + ' | /usr/bin/sed -E "s/.*map\[' + container_port + '[^ ]+ ([0-9]*)[^0-9].*/\1/"'
164
164
  say_status 'command', cmd, :white if @options['verbose']
165
165
  stdout, stderr, exit_status = Open3.capture3(cmd)
166
166
  if not exit_status.success?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer