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 +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/capistrano/mb/recipe.rb +4 -3
- data/lib/capistrano/mb/version.rb +1 -1
- data/lib/capistrano/tasks/defaults.rake +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad52af85598f814eb28d2d4469ebd3f8cb69e931
|
4
|
+
data.tar.gz: c8574fcc2cb05a724d542a75e45f939fabcfd908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 310f28261646b039ddad8798475b30383101b7a2a34766c2befa1b8732e3db4f624c524d201e4f9edf35793fe64d44624d5938d58a7199cecd83087be8131007
|
7
|
+
data.tar.gz: 3ddc52c253ce52352ab8b5bae31e526585366c12986b2aab0d175eb51a473a8184d11c4936123449393c673a15d0963148c0749f39afbe178f6e0c53ba4c4005
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
data/lib/capistrano/mb/recipe.rb
CHANGED
@@ -26,9 +26,10 @@ module Capistrano
|
|
26
26
|
|
27
27
|
recipe_tasks.flatten.each do |task|
|
28
28
|
qualified_task = apply_namespace(task)
|
29
|
-
|
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
|
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.
|
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-
|
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.
|
161
|
+
rubygems_version: 2.6.6
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Additional Capistrano 3 recipes
|