thrush 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thrush.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16c30c636687d4960725a60f4eea2ca49efa8b4f
|
4
|
+
data.tar.gz: f92cf688c3976fbfa8943a3afc3c0e15ec9b5722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06778c0acbe69c51d8652e96c6efaa336e70ab4bfebf94d7ecf1a49ae4857a1c251e78cbb9a088c085dad0682861cd99c184a89804acb54d92bee2bc40d2ca01
|
7
|
+
data.tar.gz: 5bd3fb31f32273806bbe6ee28708d2f8d1f6c48573c894d9d5fbb885035260bc9520a48b86304f3b6f6a43e0ae7c5ae9e9fb2b4120461ca4c7360e76ea77dad1
|
data/lib/thrush.rb
CHANGED
@@ -160,10 +160,12 @@ def run!
|
|
160
160
|
cmd << 'sudo' if rsh.nil? && sudo
|
161
161
|
cmd << "rsync -#{ debug }vazcO --no-o --no-g"
|
162
162
|
cmd << "--rsh=#{ rsh }" unless rsh.nil?
|
163
|
-
cmd << "--exclude '.git' --exclude '.idea' --exclude '.DS_Store'"
|
164
163
|
|
165
164
|
ignore = cmd_vals(:ignore, cmd_values)
|
166
165
|
ignore.each { |exclude| cmd << "--exclude '#{ exclude }'" } unless ignore.nil? || ignore.empty?
|
166
|
+
|
167
|
+
delete = cmd_vals(:delete, cmd_values)
|
168
|
+
cmd << "--delete" unless delete.nil? || delete == false
|
167
169
|
|
168
170
|
if rsh == 'ssh'
|
169
171
|
cmd << "--rsync-path='sudo rsync'" if sudo
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thrush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Z.d. Peacock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.4.7
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: 'Thrush: Shell DSL'
|