capistrano-upload-package 0.0.4 → 0.0.5
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: 76576901f021eb42c624de4d423d501c4db6b3e4
|
4
|
+
data.tar.gz: 91a216372009d061a813cabaadc3fec713de9164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7859c7dda64bcb2d56d47e5f32ca5940baeef81cb0b73ad9c60f20e5c5d442ab24f1367ba17987ade42d6f1de180f98b32f4b0c5b02c270e062adb86240a3501
|
7
|
+
data.tar.gz: 022b5e9b8cb529e80fedee6221b25e8187ad78b701991cfa2508565ff68df68d6d796ac50ee8dbd920134a8be4594cc7b478112d937f2d6928eb3a64173a180f
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "capistrano-upload-package"
|
5
|
-
gem.version = "0.0.
|
5
|
+
gem.version = "0.0.5"
|
6
6
|
gem.authors = ["Simonas Serlinskas"]
|
7
7
|
gem.email = ["simonas.serlinskas@gmail.com"]
|
8
8
|
gem.homepage = "https://github.com/murnieza/capistrano-upload-archive"
|
@@ -26,12 +26,12 @@ module Capistrano
|
|
26
26
|
|
27
27
|
private
|
28
28
|
def filename
|
29
|
-
#@filename ||= File.join(File.basename(configuration[:release_path]), configuration[:repository])
|
30
29
|
@filename ||= File.expand_path(configuration[:repository], Dir.pwd)
|
31
30
|
end
|
32
31
|
def remote_filename
|
33
|
-
@remote_filename ||= File.join(configuration[:release_path], configuration[:
|
32
|
+
@remote_filename ||= File.join(configuration[:release_path], configuration[:remote_file_name])
|
34
33
|
end
|
34
|
+
|
35
35
|
# Distributes the file to the remote hosts.
|
36
36
|
def distribute!
|
37
37
|
args = [ filename, remote_filename ]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-upload-package
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simonas Serlinskas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|