docker-manager 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20dde658b83431d44b2172779d3d8ae45f7d72a3ecec2b2111e1cc99ba885dc9
4
- data.tar.gz: 907ec7378b04b85192dbca22caf7b6b966c9cd7fe57881f63e9eefbb07214bec
3
+ metadata.gz: 16e4a40c1b4cc0bd172fb8f54838a874e14a4682fb1f48bf76b22448012e1078
4
+ data.tar.gz: 4962ac1b8879b7333cc9e519c8592e4de1ee333d854c6049c0269c2f1ce97096
5
5
  SHA512:
6
- metadata.gz: 4baccd01354bf9cbaaf3e2de213eb77781e9fff9632ce4489537b3f18b2093aa4b81f42b40e789fad4ac0b09065a5a4210c5db6114dc5930c7a41143bc373e42
7
- data.tar.gz: d06717e7619bd4c52f9f50cadc2c8eac7805db29e5aa7bf050ff6a20286f57edbfed4f04d1eff682d5faa5fb8c772fd356ea0060abce85f774eaa1456682a61f
6
+ metadata.gz: cd9b84f355ca552e18d0875e000fa6fc2100db473e5e5a10e16fcf68961e72b86834ddc0b0ec48bffc99eb6c435f7345c88d3c309aaa16f457a27467e9c73e3b
7
+ data.tar.gz: 143115736d0eca2792b5b2a471119b7847370b487d4a98b9e460ad8402fdc9d100be0e6c775caebe30dc32cf37786847d4091a5ab545f3d7630e236adf7601a8
@@ -21,10 +21,13 @@ module DockerManager
21
21
 
22
22
  def project_root_path
23
23
  return @project_root_path if defined?(@project_root_path)
24
- @project_root_path = value(key: :project_root_path, required: true)
25
- unless Dir.exist?(@project_root_path)
26
- puts "invalid project_root_path : #{@project_root_path}"
27
- exit 3
24
+ if @project_root_path = value(key: :project_root_path, required: false)
25
+ unless Dir.exist?(@project_root_path)
26
+ puts "invalid project_root_path : #{@project_root_path}"
27
+ exit 3
28
+ end
29
+ else
30
+ @project_root_path = "./"
28
31
  end
29
32
  @project_root_path
30
33
  end
@@ -1,3 +1,3 @@
1
1
  module DockerManager
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Biard