cap_sync 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. data/cap_sync.gemspec +1 -1
  2. data/lib/cap_sync.rb +1 -1
  3. metadata +3 -3
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "cap_sync"
6
- s.version = '0.0.6'
6
+ s.version = '0.0.7'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.author = "Victor Sokolov"
9
9
  s.email = "gzigzigzeo@gmail.com"
@@ -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(',')] if ENV['FOLDERS'].present?
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Sokolov