capistrano-deploy-strategy-archive 0.1.1 → 0.1.2

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b8394c05a52ee225091a4c83fe38b6d16bb7c8d0
4
+ data.tar.gz: 9cf6f6322ed8d58c5ada92a8f7e21b9be21bd50f
5
+ SHA512:
6
+ metadata.gz: 8f5642b48df6cecd94c0106ad8617e103c5207c980233e3755b1192de1e185517701df7f4b27dd7ccb387e48412fc6aab41484cd859fa355ce5ddc9dec44f86e
7
+ data.tar.gz: 32c6b4f107972f3478c3ce87dcbd2ddffa81c502e90e56b412290be6f172832a45719a78e4b07f2542a5d55956870546b0a195728984081168de4a7a78305748
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "capistrano-deploy-strategy-archive"
5
- gem.version = "0.1.1"
5
+ gem.version = "0.1.2"
6
6
  gem.authors = ["Simo Kinnunen"]
7
7
  gem.email = ["simo@shoqolate.com"]
8
8
  gem.homepage = "https://github.com/sorccu/capistrano-deploy-strategy-archive"
@@ -91,7 +91,9 @@ module Capistrano
91
91
 
92
92
  # Distributes the file to the remote hosts.
93
93
  def distribute!
94
- upload(filename, remote_filename)
94
+ args = [ filename, remote_filename ]
95
+ args << { :via => configuration[:copy_via] } if configuration[:copy_via]
96
+ upload(*args)
95
97
  decompress_remote_file
96
98
  end
97
99
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy-strategy-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Simo Kinnunen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-20 00:00:00.000000000 Z
11
+ date: 2013-08-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.1.0
30
27
  description: Provides an :archive deploy strategy for Capistrano. It takes an existing,
@@ -45,26 +42,25 @@ files:
45
42
  - lib/capistrano/recipes/deploy/strategy/archive.rb
46
43
  homepage: https://github.com/sorccu/capistrano-deploy-strategy-archive
47
44
  licenses: []
45
+ metadata: {}
48
46
  post_install_message:
49
47
  rdoc_options: []
50
48
  require_paths:
51
49
  - lib
52
50
  required_ruby_version: !ruby/object:Gem::Requirement
53
- none: false
54
51
  requirements:
55
- - - ! '>='
52
+ - - '>='
56
53
  - !ruby/object:Gem::Version
57
54
  version: '0'
58
55
  required_rubygems_version: !ruby/object:Gem::Requirement
59
- none: false
60
56
  requirements:
61
- - - ! '>='
57
+ - - '>='
62
58
  - !ruby/object:Gem::Version
63
59
  version: '0'
64
60
  requirements: []
65
61
  rubyforge_project:
66
- rubygems_version: 1.8.24
62
+ rubygems_version: 2.0.0
67
63
  signing_key:
68
- specification_version: 3
64
+ specification_version: 4
69
65
  summary: Archive deploy strategy for Capistrano.
70
66
  test_files: []