deploy-context 2.1.18 → 2.1.19

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: 0d1f034215f1bfeffe0e86e50e40ff7bba3c489f90cd4cd3e714f5c4e4d97901
4
- data.tar.gz: 2a811298fd6b437442c4b79e50b7ac3f6fe42530048ce351f4b586434780cb70
3
+ metadata.gz: d7495b1dc8129a9463ddb8ace7e1ebd60b5049ec1c9aa7258c2d07438269a2a0
4
+ data.tar.gz: 13c83fcd0f05e3faaea540989e3cc9ed8946874faa02292d4b675da3898d9f70
5
5
  SHA512:
6
- metadata.gz: d2811e36100589fd821f00b3bd82b146841cbdf810b64af36e8934e4de6d5a26f5a15a3d3553c054ad0fc417e4853a71b0be540fdc127670450cab46cd0b1fb6
7
- data.tar.gz: d664f7cf59a18ab5f21e6e0f69f24229047a8bd7a3b6b018f44dfc57fa5f4b7f02e3bf6d2bfce6470fdbe8d8781f6028aab164c5123094df735e9c01e1512da3
6
+ metadata.gz: 9844841460ada696cb44ad48a9b779b84d3b4093f57f0403cfa3fbcf6affb61f0be5ba963d4b47120db0b0a04f68fa27e02472c6a9b9bff302ce33c12e854721
7
+ data.tar.gz: 5717c2cba90fe25459281835ec6b1bf75920ca9d8b2d3c32df131df65afc572df7f1d2379a71fa3822c5f8b818aa218849a2ec23214930ac6d904979b1b0c3b8
checksums.yaml.gz.sig CHANGED
Binary file
data/bin/deploy-context CHANGED
@@ -1,7 +1,2 @@
1
1
  #!/usr/bin/env ruby
2
-
3
- require 'deploy-context'
4
-
5
- DEPLOYER = Context::DeployContext.new(Dir.pwd)
6
-
7
2
  require 'deploy-context/context/binary'
@@ -2,10 +2,6 @@
2
2
 
3
3
  require_relative '../../deploy-context'
4
4
 
5
- def deployer
6
- DEPLOYER
7
- end
8
-
9
5
  puts "Parameter pass #{ARGV[0]}"
10
6
 
11
- deployer.execute_action(deployer, ARGV[0])
7
+ Context::DeployContext.deployer.execute_action(deployer, ARGV[0])
@@ -9,7 +9,7 @@ module Context
9
9
 
10
10
  def initialize(context_name, deploycontext_folder)
11
11
  @context_name = context_name
12
- @context_folder = deploycontext_folder
12
+ @context_folder = deploycontext_folder.include?(context_name) ? deploycontext_folder : context_name
13
13
  end
14
14
 
15
15
  def present_localy?
@@ -13,6 +13,11 @@ module Context
13
13
  include RubyDeployerHelper
14
14
  include CucumberDeployerHelper
15
15
 
16
+ def self.deployer
17
+ DEPLOYER = Context::DeployContext.new(Dir.pwd) if DEPLOYER.nil?
18
+ DEPLOYER
19
+ end
20
+
16
21
  def initialize(deploycontext_folder)
17
22
  super('deploy-context', deploycontext_folder)
18
23
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.18
4
+ version: 2.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file