capistrano_evrone_recipes 0.1.16 → 0.1.17

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: 4f6fb932e637b80fd4cc354db840438ccb86411e
4
- data.tar.gz: 0c8cb106e1602bb9771e2bbbf65b341863e20420
3
+ metadata.gz: 6fbb96a70ae38e23e257589d0fce134ffd413ce4
4
+ data.tar.gz: d5f78a522c1653edba10c3208bc53eb4b84d674b
5
5
  SHA512:
6
- metadata.gz: 1bde944e17f7467ec0331a16a5eee62b50420ba048bdd10cb0ee54c2ba5a7abdf391e15f48a65029e40d2de90024141d449e34efa4ead2000f681505526293e9
7
- data.tar.gz: c5c5eb408b00154029a4af2399fa18631fbffe882e1a3ac0fa1b34cd54f38c3438039bb50e100bcd9d01d43f7926acf79e52ec899419ca29c1133cfa0137689b
6
+ metadata.gz: 37d8af7ecad59d88b9b2f306479ea9b1d362afcb36b6fcd0719bb7b9b8a7eb798782c5177532d29f4c9a8fbbd07798c03a951f73a9a51a5027abcc455cd3e208
7
+ data.tar.gz: 15c783746c83a02282bd45898c427347c447e66c335ff7bceb8686e1674f9bc8ff829b1e65186c3f5ecbb340c3783215efd2efb40af4705380ec0a4ac0d2f93a
@@ -2,29 +2,11 @@ module CapistranoEvroneRecipes
2
2
  class Util
3
3
  class << self
4
4
  def ensure_changed_remote_dirs(cap, path)
5
- if ENV['FORCE'] || !cap.previous_release
6
- yield
7
- return
8
- end
9
- cap.run changed?(cap, path, recursive: true) do |ch, st, data|
10
- Capistrano::Configuration.default_io_proc.call(ch,st,data)
11
- unless data.include?(" is not changed")
12
- yield
13
- end
14
- end
5
+ yield
15
6
  end
16
7
 
17
8
  def ensure_changed_remote_files(cap, path)
18
- if ENV['FORCE'] || !cap.previous_release
19
- yield
20
- return
21
- end
22
- cap.run changed?(cap, path) do |ch, st, data|
23
- Capistrano::Configuration.default_io_proc.call(ch,st,data)
24
- unless data.include?(" is not changed")
25
- yield
26
- end
27
- end
9
+ yield
28
10
  end
29
11
 
30
12
  def changed?(cap, path, options = {})
@@ -3,7 +3,7 @@ module CapistranoEvroneRecipes
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- PATCH = 16
6
+ PATCH = 17
7
7
 
8
8
  def self.to_s
9
9
  "#{MAJOR}.#{MINOR}.#{PATCH}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_evrone_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky