Class: Faststrap::InstallActions::CalabashBundleInstallAction

Inherits:
Faststrap::InstallAction show all
Defined in:
lib/faststrap/install_actions/calabash_bundle_install_action.rb

Constant Summary collapse

@@gems =
["calabash-common",'calabash-cucumber',
'cs-bdd','blabla']

Class Method Summary collapse

Methods inherited from Faststrap::InstallAction

run, uninstall

Class Method Details

.cmdObject



15
16
17
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 15

def self.cmd
  @@gems.map { |d| Faststrap::InstallActions.gem_install d }
end

.descriptionObject



12
13
14
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 12

def self.description
  "Install Calabash Bundle[calabash-common,calabash-cucumber,cs-bdd,blabla]"
end

.groupObject



8
9
10
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 8

def self.group
  Faststrap::ActionsGroup::TESTS
end

.installed?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 28

def self.installed?
  Faststrap::InstallActions.cmd? "calabash-common"
end

.nameObject



24
25
26
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 24

def self.name
  "Calabash"
end

.ucmdObject



19
20
21
# File 'lib/faststrap/install_actions/calabash_bundle_install_action.rb', line 19

def self.ucmd
  @@gems.map { |d| Faststrap::InstallActions.gem_uninstall d }
end