capistrano-karaf 1.6.13 → 1.6.14
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.
- data/lib/capistrano-karaf/extended.rb +1 -1
- metadata +1 -1
@@ -133,7 +133,7 @@ module Capistrano_Karaf
|
|
133
133
|
# # => true
|
134
134
|
#
|
135
135
|
# Returns true if the feature is installed
|
136
|
-
def feature_installed? (name, version)
|
136
|
+
def feature_installed? (name, version=nil)
|
137
137
|
feature = list_features.find {|f| f[:name]==name and (version.nil? or f[:version] == version)}
|
138
138
|
feature[:status] == 'installed' unless feature.nil?
|
139
139
|
end
|