deploy-context 2.1.18 → 2.1.18.1.gdf72b60

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: b42942bd389971d5eda604f567caf2d8026ae3bbf32f48f19afbecf3e4fb6f22
4
+ data.tar.gz: be4d5c6aa1a0dc0756deab63af2ab44853fa1005a99629497fd9ce1a331bc2f3
5
5
  SHA512:
6
- metadata.gz: d2811e36100589fd821f00b3bd82b146841cbdf810b64af36e8934e4de6d5a26f5a15a3d3553c054ad0fc417e4853a71b0be540fdc127670450cab46cd0b1fb6
7
- data.tar.gz: d664f7cf59a18ab5f21e6e0f69f24229047a8bd7a3b6b018f44dfc57fa5f4b7f02e3bf6d2bfce6470fdbe8d8781f6028aab164c5123094df735e9c01e1512da3
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.18
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