cap_sync 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/cap_sync.gemspec +1 -1
- data/lib/cap_sync.rb +1 -1
- metadata +3 -3
data/cap_sync.gemspec
CHANGED
data/lib/cap_sync.rb
CHANGED
@@ -36,7 +36,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
36
36
|
|
37
37
|
desc "Sync remote production data with local development machine"
|
38
38
|
task :data do
|
39
|
-
folders_to_sync = Hash[*ENV['FOLDERS'].split(',')]
|
39
|
+
folders_to_sync = Hash[*ENV['FOLDERS'].split(',')] unless ENV['FOLDERS'].nil?
|
40
40
|
folders_to_sync ||= sync_folders
|
41
41
|
|
42
42
|
if sync_method == :rsync
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Sokolov
|