capistrano-psw 1.0.0.pre23 → 1.0.0.pre24

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
  SHA1:
3
- metadata.gz: 99d1b8a0022cc505aff2d3e488e727c627bbd4a5
4
- data.tar.gz: 32a2f7b7642eb99c99c7399f9b50dede9ff8219a
3
+ metadata.gz: 1dd14fe4736b061e230d454dfe4db668f454060e
4
+ data.tar.gz: 30f5250740a9dbade34b1aa3c07182ee10dcaba7
5
5
  SHA512:
6
- metadata.gz: abd2df3a18ff6fbf381bbb78f54bf8b7dc2d1afe9dc543425e2e9319d460a2c5c75b220b14a38d25c6dd2161b6c382d88367138d44fd4b7b93e9398e2dcabac8
7
- data.tar.gz: 7404e047ad7856272c07414aceea18052c6fe67bfb9ea3988ff61fd2bbdb1a2045227d921171c9daffd62f0e497b8820918c569df39909da18688cdde3dfdd65
6
+ metadata.gz: 03dc097dbf9091c119ec688f2a852515fa7585b9ddcda34149fc84fb57f7f9c09ef1fdeed08a16aee35d45a49baed10693aee7728adbf0e63a2bf6b61806f3e2
7
+ data.tar.gz: 5ed4a3c682fb3671ede0269cf04cde1636808bc5e4f857135d67a3d672e8acb74a8945959bb870c82936c7fe12c5231b4b719c5192d0d069f6678d091450ce98
@@ -41,7 +41,7 @@ module PepprAppDeployFileUtils
41
41
  # @return [String] the fully-qualified local directory
42
42
  def self.get_deployment_dir(relative_dir="")
43
43
  application_id = ENV['peppr_application_id'].to_i
44
- application_deployment = ENV['peppr_application_deployment_id'].to_i
44
+ application_deployment = ENV['peppr_application_deployment_id'].to_i
45
45
 
46
46
  raise ArgumentError.new("peppr_application_id and peppr_application_deployment_id must be defined as part of the Capistrano deployment!") unless application_id > 0 && application_deployment > 0
47
47
  "/tmp/peppr_deployments/applications/#{application_id}/deployments/#{application_deployment}#{relative_dir}"
@@ -90,7 +90,7 @@ module PepprAppDeployFileUtils
90
90
  end
91
91
 
92
92
  def self.get_deployment_shared_files_dir
93
- PepprAppDeployFileUtils::Local::get_deployment_dir(PEPPR_RELATIVE_SHARED_FILE_DIR)
93
+ "#{PepprAppDeployFileUtils::Local::get_deployment_environments_dir()}/#{fetch(:stage)}#{PEPPR_RELATIVE_SHARED_FILE_DIR}"
94
94
  end
95
95
  end
96
96
 
@@ -171,7 +171,7 @@ module PepprAppDeployFileUtils
171
171
  #
172
172
  # @return [String] the fully-qualified remote shared files directory
173
173
  def self.get_deployment_shared_files_dir
174
- PepprAppDeployFileUtils::Remote::get_deployment_dir(PEPPR_RELATIVE_SHARED_FILE_DIR)
174
+ "#{PepprAppDeployFileUtils::Remote::get_deployment_environments_dir()}/#{fetch(:stage)}#{PEPPR_RELATIVE_SHARED_FILE_DIR}"
175
175
  end
176
176
  end
177
177
 
@@ -10,6 +10,6 @@
10
10
 
11
11
  module Capistrano
12
12
  module Psw
13
- VERSION = "1.0.0.pre23"
13
+ VERSION = "1.0.0.pre24"
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-psw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre23
4
+ version: 1.0.0.pre24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lexmark International Technology S.A