capistrano-karaf 1.8.7 → 1.8.8
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 +4 -4
- data/lib/capistrano-karaf/install.rb +8 -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: aa76fdea3cc8354383ee4a31b62fc1be55a524b3
|
4
|
+
data.tar.gz: ea5931be572beb6098c43b076da0f035269793ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006908018683d6d13a245de63e1de2657462cd9e208dfa2b991524103f9045a75bd5f0e6b0594ae4e94ba740c7521c009fad9a5d402f95fe6b3e3a2f704b9c5b
|
7
|
+
data.tar.gz: 6d04506827b90f608ea240607f0054cc036a97c616e022bbf982e89760aaf2b7dfdf19131685fdd6727a85c873f3ed321f11e4853d2e57b693a5d194a92a43c1
|
@@ -162,7 +162,14 @@ module Install
|
|
162
162
|
unless latest.nil? then
|
163
163
|
latest.text
|
164
164
|
else
|
165
|
-
|
165
|
+
# if only one is defined get it from the versions
|
166
|
+
latest = REXML::XPath.first(doc, "/metadata/versioning/versions/version")
|
167
|
+
|
168
|
+
unless latest.nil? then
|
169
|
+
latest.text
|
170
|
+
else
|
171
|
+
raise LatestVersionNotDefinedError
|
172
|
+
end
|
166
173
|
end
|
167
174
|
end
|
168
175
|
|