docker-sync 0.5.0.pre.beta1 → 0.5.0.pre.beta2

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: 7a4d176110d1f999724b01ecd8613697ba9b1ae5
4
- data.tar.gz: 656df917cfe74ca3c12aeb1c829bb62a6367f99b
3
+ metadata.gz: 664eff0ed7c1cb2f38e502ad517b2cfb4c0d5df1
4
+ data.tar.gz: b9b7f4c9c50d5e2dfebf06f9e59a84e9178b77ed
5
5
  SHA512:
6
- metadata.gz: 716e8408005a3cb1ebdfffeb11b7f4f87812b944b3f5746bc88b4764e54fd0094a85e3955078c39df62e8615e744f3ec396089472481c16243e8db4ed726978e
7
- data.tar.gz: cbaa7c0fa625d650d7b51fd0b9cd5ce2901e361e9f8753098bf17538bf5b1111596696dc17bf504a459ae02142243164f8eafbb9c868f5972193ff8026623ed4
6
+ metadata.gz: a5e1e2471952fc292e1cf3868436f76621d7c7d99a0078159ed32ef854a472b37d4a169bbb386c96daa4e489037f8b4d95780f79c041843704b7524101319cb8
7
+ data.tar.gz: 20a963a30b219e9a809fa3d563bc6f16c3957940cc384615c53b29a9625a101c0aa31d70f5c99ee95efb70fd8d65fd0fbb35ecf8b4cf61dca4d033014ad4fca1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0-beta1
1
+ 0.5.0-beta2
@@ -48,20 +48,21 @@ module DockerSync
48
48
 
49
49
  def unison_required?
50
50
  # noinspection RubyUnusedLocalVariable
51
- config['syncs'].any? { |sync_config|
51
+ config['syncs'].any? { |name, sync_config|
52
52
  sync_config['sync_strategy'] == 'unison' || sync_config['watch_strategy'] == 'unison'
53
53
  }
54
54
  end
55
55
 
56
56
  def rsync_required?
57
57
  # noinspection RubyUnusedLocalVariable
58
- config['syncs'].any? { |sync_config|
58
+ config['syncs'].any? { |name, sync_config|
59
59
  sync_config['sync_strategy'] == 'rsync'
60
60
  }
61
61
  end
62
62
 
63
63
  def fswatch_required?
64
- config['syncs'].any? { |sync_config|
64
+ # noinspection RubyUnusedLocalVariable
65
+ config['syncs'].any? { |name, sync_config|
65
66
  sync_config['watch_strategy'] == 'fswatch'
66
67
  }
67
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.pre.beta1
4
+ version: 0.5.0.pre.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-31 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor