capistrano-mb 0.22.1 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/capistrano/mb/dsl.rb +15 -2
- data/lib/capistrano/mb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffdb9f630e70934e96f92ed8e881240d2d61770c
|
4
|
+
data.tar.gz: 26f525d2a3396ab2994ae08cb22431051b512d71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76c47fc1b2a63c1fdc299f73eb9888ce12ec1eb63054fd59bdc5ac278f6cf739e532c2f0323770e6b82d9c229094ae4e2521216e0140699e3832085b4ba4ac01
|
7
|
+
data.tar.gz: 70f1a57340dc9810dc6940a380ba111d12a8e6b7a702f05c2bd34ee7518af9fecd98c8cbcc770822a937fa35f7d3d0fda8c4ad2467b07153ee9dfa84c9e7079f
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
* Your contribution here!
|
4
4
|
|
5
|
+
## 0.22.2 (2015-06-22)
|
6
|
+
|
7
|
+
* For backwards compatibility with capistrano-fiftyfive, also search `lib/capistrano/fiftyfive/templates` for template files (the preferred location is `lib/capistrano/mb/templates`).
|
8
|
+
|
5
9
|
## 0.22.1 (2015-06-22)
|
6
10
|
|
7
11
|
* Remove "capistrano-fiftyfive has been renamed to capistrano-mb" post-install message.
|
data/lib/capistrano/mb/dsl.rb
CHANGED
@@ -125,8 +125,21 @@ module Capistrano
|
|
125
125
|
binding = opts[:binding] || binding
|
126
126
|
|
127
127
|
unless local_path.start_with?("/")
|
128
|
-
override_path =
|
129
|
-
|
128
|
+
override_path = File.join("lib/capistrano/mb/templates", local_path)
|
129
|
+
|
130
|
+
unless File.exist?(override_path)
|
131
|
+
override_path = File.join(
|
132
|
+
"lib/capistrano/fiftyfive/templates",
|
133
|
+
local_path
|
134
|
+
)
|
135
|
+
if File.exist?(override_path)
|
136
|
+
compatibility_warning(
|
137
|
+
"Please move #{override_path} from lib/capistrano/fiftyfive "\
|
138
|
+
"to lib/capistrano/mb to ensure future compatibility with "\
|
139
|
+
"capistrano-mb."
|
140
|
+
)
|
141
|
+
end
|
142
|
+
end
|
130
143
|
|
131
144
|
local_path = if File.exist?(override_path)
|
132
145
|
override_path
|