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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d40291377774ece50a7ae157b2ce1ec464cc7957
4
- data.tar.gz: 6d4d4d808f4cf2dcc61468d8868a8fe21b9eb8df
3
+ metadata.gz: ffdb9f630e70934e96f92ed8e881240d2d61770c
4
+ data.tar.gz: 26f525d2a3396ab2994ae08cb22431051b512d71
5
5
  SHA512:
6
- metadata.gz: c8111f2a498215bfa4f4afb98420089b14e4d559f8706e3e5e52963ba0825a23d32b3f1f421bd8f4994f41cf9736c78da8179d2a082f2d82caf7c350ea6c1a9d
7
- data.tar.gz: 9eeec3fc4f647d70b660bd42dcd04b15273faef82352e86527741899a8e11fa41ba6b99a6124b84701c8b06b2c6e1bd5f95edc06ad27b3f15162eb8b47b1a744
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.
@@ -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
- File.join("lib/capistrano/mb/templates", local_path)
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.22.1"
3
+ VERSION = "0.22.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson