capistrano-rsync-bladrak 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjI4MDE2MzQ2OGRjYjczZmZhMDM0YWIyZmIyOTdkZjYxOGNhZjU1Mw==
5
- data.tar.gz: !binary |-
6
- YjgwNzc5YjhkZDZiMzM2ZjZlOTRiYzVhODA5NjQ2OGFlNTFhNWE1OQ==
2
+ SHA1:
3
+ metadata.gz: 65ee75bb6b2a13b2048ac1a420aea494b3cab5b5
4
+ data.tar.gz: 3be6238960a7ea1bcd32a461ebb84070472bc2e1
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NGUzMTA5OTllODhmNWY3ZGU2MmFlY2RiMjQzYjFmZjRkZGZkN2ViZDI0MTg1
10
- MzNlMTM1MDZjM2E3OWI0NDNmZTVkYjQxNmI2ZmQxMTNhNTBkZTQxNTgxYmFh
11
- MWNjYTFkMTBiNzg4Y2UzYzM1YWU4OTc5YTlhNjk3MjMwNTQzYjA=
12
- data.tar.gz: !binary |-
13
- NDY5YTA4NjM3MmNmOTA4ZjkzYjQzOGY3ZTBjMjg5NjgyNjcyYWRkMTgxZTgw
14
- MTkyMzJmNWIwZTlmZjgyMDZhZmQyZWQ3YTBmZjVmYmU3MWY2ODg0MGRjYzhk
15
- OTEwNTYwMzQ5OGU1YWQ1NTIxZTZmYmJkYTIxMmZlNzA3YTExNjk=
6
+ metadata.gz: 69645c34454f8ca87057e17a1a880a997c690ea69352c62ecd2bc5ca16dce513df458ba6d0f60a8b32d51e09fe8395cbc7d4c8a70f187924a2ea8ceb61475cc8
7
+ data.tar.gz: 40110f016b0d8860f6270901dcf3efa2f08accd19c3c0cd9874b90cdf0dcf46eca8b760af23e19aa4f2f653fc8dfb37d651f330c3caed6b915422aaa8c0a401c
@@ -16,7 +16,7 @@ set :rsync_stage, "tmp/deploy"
16
16
  # Capistrano::Rsync will sync straight to the release path.
17
17
  set :rsync_cache, "shared/deploy"
18
18
 
19
- set :rsync_target_dir, "/"
19
+ set :rsync_target_dir, ""
20
20
 
21
21
  rsync_cache = lambda do
22
22
  cache = fetch(:rsync_cache)
@@ -34,7 +34,7 @@ task :rsync => %w[rsync:stage] do
34
34
 
35
35
  rsync = %w[rsync]
36
36
  rsync.concat fetch(:rsync_options)
37
- rsync << fetch(:rsync_stage) + fetch(:rsync_target_dir)
37
+ rsync << File.join(fetch(:rsync_stage), File.join(fetch(:rsync_target_dir), ""))
38
38
  rsync << "#{user}#{role.hostname}:#{rsync_cache.call || release_path}"
39
39
 
40
40
  Kernel.system *rsync
@@ -88,15 +88,4 @@ namespace :rsync do
88
88
  # Matches the naming scheme of git tasks.
89
89
  # Plus was part of the public API in Capistrano::Rsync <= v0.2.1.
90
90
  task :create_release => %w[release]
91
-
92
- # internally needed by capistrano's "deploy.rake"
93
- desc 'Locally determine the revision that will be deployed'
94
- task :set_current_revision do
95
- run_locally do
96
- within fetch(:rsync_stage) do
97
- rev = capture(:git, 'rev-parse', 'HEAD')
98
- set :current_revision, rev
99
- end
100
- end
101
- end
102
91
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Rsync
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,20 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rsync-bladrak
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andri Möll, Hugo Briand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-10 00:00:00.000000000 Z
11
+ date: 2014-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.0.0.pre14
20
20
  - - <
@@ -24,13 +24,13 @@ dependencies:
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.0.0.pre14
30
30
  - - <
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4'
33
- description: ! "Deploy with Rsync to your server from any local (or remote) repository.
33
+ description: "Deploy with Rsync to your server from any local (or remote) repository.
34
34
  \n\nSaves you the need to install Git on your production machine and deploy all
35
35
  of your development files each time! \n\nWorks with the new Capistrano v3! Suitable
36
36
  for deploying any apps, be it Ruby or Node.js."
@@ -57,17 +57,17 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ! '>='
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ! '>='
65
+ - - '>='
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.3.0
70
+ rubygems_version: 2.0.14
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Deploy with Rsync from any local (or remote) repository. Capistrano v3 ready!