thrush 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/thrush.rb +3 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aecd27ecae4f7fc65da28726e9c1e044830df5a0
4
- data.tar.gz: e409ff68505faa108b50cda004eca75a254bd199
3
+ metadata.gz: 16c30c636687d4960725a60f4eea2ca49efa8b4f
4
+ data.tar.gz: f92cf688c3976fbfa8943a3afc3c0e15ec9b5722
5
5
  SHA512:
6
- metadata.gz: 93cbe96f26c3abb08fa0fe2d62e4f4af8af101f0fc6e1954c1e325a9a6a151d939cba384021f69f15a0816353aea6c6612b1f98277b893b3b308d452f1a6cfb8
7
- data.tar.gz: 2eb45dbada9e11466ee0bc27765cf9cbe712f05b3abba1b99c9ea6c3c047a051050cc453db60205f12fa784c5a54ec83f36739370e1c30d00154238e95caedbf
6
+ metadata.gz: 06778c0acbe69c51d8652e96c6efaa336e70ab4bfebf94d7ecf1a49ae4857a1c251e78cbb9a088c085dad0682861cd99c184a89804acb54d92bee2bc40d2ca01
7
+ data.tar.gz: 5bd3fb31f32273806bbe6ee28708d2f8d1f6c48573c894d9d5fbb885035260bc9520a48b86304f3b6f6a43e0ae7c5ae9e9fb2b4120461ca4c7360e76ea77dad1
@@ -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.6
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: 2015-01-06 00:00:00.000000000 Z
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.2.2
84
+ rubygems_version: 2.4.7
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: 'Thrush: Shell DSL'