deploy-context 2.1.17 → 2.1.18.1.gdf72b60

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: 7fa7c549208599300c91825821e0d06b97e8bf4664cdaed8646ad0025f8f3548
4
- data.tar.gz: c9383d18f82a302b73ddd319c2123d45eb919735a2c2ad0711c205c6599d9e2f
3
+ metadata.gz: b42942bd389971d5eda604f567caf2d8026ae3bbf32f48f19afbecf3e4fb6f22
4
+ data.tar.gz: be4d5c6aa1a0dc0756deab63af2ab44853fa1005a99629497fd9ce1a331bc2f3
5
5
  SHA512:
6
- metadata.gz: 5351b370e1b28bd17891fde8fd53b175f10337b7d9a2dea93deb7badeda6b5a9cb6e3df70bb03f680de3e7a059fe85f8401c7691cd42d3d31df82a085925575f
7
- data.tar.gz: 44251c270780634e5094559bb9dcc624f774a322f39ff2fdef6871bc8114245b5ee5b07e7f4b94a1ba66615c4653c52ecdf3720900628e882a99f970c3ba0698
6
+ metadata.gz: 30dcabda307e4d06566ee37d22863dcbdae2c4f236203055f3a67562cf1e275b0b342b27ba969eef91498ebb3564ee55fca8b7a6d1fdc240324eb7a0e4b29c1d
7
+ data.tar.gz: f444fdd39ec2e2c361145f0c68bda689bfb30d40538ed47097ffd0a1f5964049e98ba99dd92940b487a24da97adf16d0b25f52b44e44b54bdb9a3643e06529f3
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.17
4
+ version: 2.1.18.1.gdf72b60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - ">="
134
+ - - ">"
135
135
  - !ruby/object:Gem::Version
136
- version: '0'
136
+ version: 1.3.1
137
137
  requirements: []
138
138
  rubygems_version: 3.2.32
139
139
  signing_key:
metadata.gz.sig CHANGED
Binary file