capistrano-karaf 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. data/lib/capistrano-karaf.rb +5 -0
  2. metadata +1 -1
@@ -13,6 +13,7 @@ SSHKit.config.command_map[:list] = 'osgi:list'
13
13
  SSHKit.config.command_map[:log_set] = 'log:set'
14
14
  SSHKit.config.command_map[:stop] = 'osgi:stop'
15
15
  SSHKit.config.command_map[:start] = 'osgi:start'
16
+ SSHKit.config.command_map[:uninstall] = 'osgi:uninstall'
16
17
 
17
18
  def add_url (url)
18
19
  execute(:features_addurl, url)
@@ -62,6 +63,10 @@ def stop (bundleId)
62
63
  execute(:stop, bundleId)
63
64
  end
64
65
 
66
+ def uninstall (bundleId)
67
+ execute(:uninstall, bundleId)
68
+ end
69
+
65
70
  def fragment_bundle? (bundleId)
66
71
  headers = capture(:headers)
67
72
  headers.lines.any? {|l| l.match('^Fragment-Host.*')}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-karaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: