geordi 2.12.2 → 2.12.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: 72b80aa5fcd6e4f4bb048f76aac069a7cb99310a3900b933f53c5549e737f52e
4
- data.tar.gz: 1a0bba5ab27c1759e9b0b5a7f3b79f946596605d903129f332f53f4afb33b324
3
+ metadata.gz: 5895784a1a8f9b3736ad75362cb39de63e9fd9d6a110c797ae2db1a80afce5fe
4
+ data.tar.gz: 15479d1cd51aca6abf203687facbfc6636bb67e137b5a31ebb7a28e3d430bda2
5
5
  SHA512:
6
- metadata.gz: aa1a3c5c3bc2278cb10f347d4b94dbea177cb94a65ce27459819cc32f87a82a6cf9408f4e659fdc3d9ca1f005e957f82e0867063d645367aec2019f721159ead
7
- data.tar.gz: fd92c28543206ac2c61dca8efa017a944612e6ce84fa3f7c513b9b9056e358dc7423dae3163d3954cc56d4abf974620c76c9469a1c2a832f46836923fc0c0da1
6
+ metadata.gz: 6f647a99c2815d66971739927401b527e2c01fcf74dd461fe5941c73b2fd3e68996be2871a9007f76b2dcf54388c377d9838d662e32fc2185e4a976daefbd26a
7
+ data.tar.gz: 3e041fe4095f22db1071a774024e3d0efda2c5ad15066cfd4fec33b2aa4547230f22194e1ac7af26c9a1977110e03a58c2f6282494812bc076762271572f9a51
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (2.12.2)
4
+ geordi (2.12.3)
5
5
  thor (~> 0.18.0)
6
6
 
7
7
  GEM
@@ -5,7 +5,7 @@ class DockerCLI < Thor
5
5
  end
6
6
 
7
7
  desc 'shell', 'Open a shell in the main docker container for the current project.'
8
- option :secondary, default: false, :type => :boolean
8
+ option :secondary, :default => false, :type => :boolean
9
9
  map 'shell' => '_shell'
10
10
  def _shell
11
11
  docker.shell(:secondary => options[:secondary])
@@ -37,7 +37,7 @@ module Geordi
37
37
  running_containers = execute(:`, 'docker-compose ps').split("\n")
38
38
  if (main_container_line = running_containers.grep(/_main_run/).first)
39
39
  container_name = main_container_line.split(' ').first
40
- execute(:system, 'docker', 'exec', '-it', container_name, 'bash')
40
+ execute(:exec, 'docker', 'exec', '-it', container_name, 'bash')
41
41
  else
42
42
  fail('Could not find a running shell. Start without --secondary first.')
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '2.12.2'
2
+ VERSION = '2.12.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.2
4
+ version: 2.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch