capistrano-mb 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a3021b9a62329594d1ac197ad3bc8457db2d97e
4
- data.tar.gz: 6c4411df7a8818c11172434983222cfb01ca4e97
3
+ metadata.gz: ad52af85598f814eb28d2d4469ebd3f8cb69e931
4
+ data.tar.gz: c8574fcc2cb05a724d542a75e45f939fabcfd908
5
5
  SHA512:
6
- metadata.gz: 632da81321a90f7a26cb37a18c18975a8781108ec4b5a61b0bda8039eb1ac50a3f67616cd99f63387fb890755b138a2b33914d1b6c4a82c5daeae84a0f14fb9b
7
- data.tar.gz: 7baeefead6efa4c4ef5a4dd42062e6c9d86972d093f1ce2e6010b9b728e1ce2d29b099fe83a03e0f6a7764733728395d5096fc833aa92f8bae2389fa71c03292
6
+ metadata.gz: 310f28261646b039ddad8798475b30383101b7a2a34766c2befa1b8732e3db4f624c524d201e4f9edf35793fe64d44624d5938d58a7199cecd83087be8131007
7
+ data.tar.gz: 3ddc52c253ce52352ab8b5bae31e526585366c12986b2aab0d175eb51a473a8184d11c4936123449393c673a15d0963148c0749f39afbe178f6e0c53ba4c4005
@@ -2,6 +2,13 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## [0.29.0][] (2016-07-19)
6
+
7
+ * Add `public/.well-known` to `:linked_dirs` to support Let's Encrypt renewals.
8
+ * Fix recipe definition code so that Capistrano's `invoke` is not used
9
+ redundantly. This is not a change in behavior, but it does fix a warning that
10
+ is printed starting in Capistrano 3.6.0.
11
+
5
12
  ## [0.28.0][] (2016-05-13)
6
13
 
7
14
  * Add `--quiet` to the default `bundle install` flags
@@ -167,7 +174,8 @@ Flush console output after each line is printed. This allows deployment progress
167
174
 
168
175
  Initial Rubygems release!
169
176
 
170
- [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.28.0...HEAD
177
+ [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.29.0...HEAD
178
+ [0.29.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.28.0...v0.29.0
171
179
  [0.28.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.27.0...v0.28.0
172
180
  [0.27.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.26.0...v0.27.0
173
181
  [0.26.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.25.0...v0.26.0
@@ -26,9 +26,10 @@ module Capistrano
26
26
 
27
27
  recipe_tasks.flatten.each do |task|
28
28
  qualified_task = apply_namespace(task)
29
- send(method, task_to_extend, "#{qualified_task}:if_enabled") do
29
+ create_task_unless_exists("#{qualified_task}:if_enabled") do
30
30
  invoke qualified_task if enabled?
31
31
  end
32
+ send(method, task_to_extend, "#{qualified_task}:if_enabled")
32
33
  end
33
34
  end
34
35
 
@@ -38,9 +39,9 @@ module Capistrano
38
39
  "mb:#{name}:#{task_name}"
39
40
  end
40
41
 
41
- def create_task_unless_exists(task_name)
42
+ def create_task_unless_exists(task_name, &block)
42
43
  unless Rake::Task.task_defined?(task_name)
43
- Rake::Task.define_task(task_name)
44
+ Rake::Task.define_task(task_name, &block)
44
45
  end
45
46
  end
46
47
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.28.0".freeze
3
+ VERSION = "0.29.0".freeze
4
4
  end
5
5
  end
@@ -116,6 +116,7 @@ namespace :load do
116
116
  tmp/pids
117
117
  tmp/cache
118
118
  tmp/sockets
119
+ public/.well-known
119
120
  public/system
120
121
  )
121
122
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-13 00:00:00.000000000 Z
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.6.4
161
+ rubygems_version: 2.6.6
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Additional Capistrano 3 recipes