capistrano-psw 1.0.0.pre23 → 1.0.0.pre24
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dd14fe4736b061e230d454dfe4db668f454060e
|
|
4
|
+
data.tar.gz: 30f5250740a9dbade34b1aa3c07182ee10dcaba7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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::
|
|
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::
|
|
174
|
+
"#{PepprAppDeployFileUtils::Remote::get_deployment_environments_dir()}/#{fetch(:stage)}#{PEPPR_RELATIVE_SHARED_FILE_DIR}"
|
|
175
175
|
end
|
|
176
176
|
end
|
|
177
177
|
|