fulmar 1.8.9 → 1.8.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b04db024f20b0a7cec937a47fd6659415460139
4
- data.tar.gz: 4fffd647ab9c383eb53f7e8c24f42040afc4ebda
3
+ metadata.gz: 72230b238a9607baa4ffee885577249b1abb2d9a
4
+ data.tar.gz: 810109b8c962d345ad0ac2f3613d5f15d9c1f102
5
5
  SHA512:
6
- metadata.gz: fa3f3ef7cc24b9f367534f34aa37b425879c2ae5d29b6e0c09ef1227ef7536ab85a1eb74bd2a158fa99880730f22e81d1c4a9b1dd8d877b24d17b66c2d5f2af8
7
- data.tar.gz: 04d372920dd4cfc505998f2cc86c02768358a9df37322024667308f24b20efa0036e88e182ae9db14174793b249ad74af64db9db893f1179fd51192308feacfa
6
+ metadata.gz: 7360db2e80f6311ee4c6fc8476c00eed8736eb6434f66f933c92a5b5ef5de350a63b61ed864b86661a57b898bc119f6698ad006c73934515ae1f486222f16dcb
7
+ data.tar.gz: 7ceed9ce2e3bc71c92ecb9535654cbdcabab5432d14d89f648ffe9d376d80545af23af6950474e9e30ecc0a0ccde3884d81235551c578d4c26d67b4f97b83332
@@ -144,6 +144,12 @@ module Fulmar
144
144
  @remote_shell.run paths.collect { |path| "mkdir -p '#{@config[:remote_path]}/#{path}'" }
145
145
  end
146
146
 
147
+ def rsync_excludes
148
+ return nil unless @config[:rsync][:exclude]
149
+ excludes = [*@config[:rsync][:exclude]]
150
+ excludes.map { |exclude| "--exclude='#{exclude}'" }.join(' ')
151
+ end
152
+
147
153
  # Builds the rsync command
148
154
  # @return [String] the command
149
155
  def rsync_command
@@ -1,4 +1,4 @@
1
1
  # Provides a global version number
2
2
  module Fulmar
3
- VERSION = '1.8.9'
3
+ VERSION = '1.8.10'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fulmar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.9
4
+ version: 1.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Siegl
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-14 00:00:00.000000000 Z
12
+ date: 2016-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler