class Default

Define Thor tasks in the top level Default namespace.

Define Thor tasks in the top level Default namespace.

Public Class Methods

exit_on_failure?() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 68
def self.exit_on_failure?
  true
end
new(args = [], options = {}, config = {}) click to toggle source
Calls superclass method
# File lib/appium_thor/commands/init.rb, line 11
def initialize(args = [], options = {}, config = {})
  super
  # Aquire reference to the config defined in the Thorfile
  @cfg = Appium::Thor::Config.instance
end

Public Instance Methods

build() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 40
def build
  _build_gem
end
bump() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 25
def bump
  _bump :z
end
bumpx() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 15
def bumpx
  _bump :x
end
bumpy() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 20
def bumpy
  _bump :y
end
byte() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 64
def byte
  remove_non_ascii_from_cwd
end
gem_install() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 54
def gem_install
  _install
end
gem_uninstall() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 47
def gem_uninstall
  _uninstall
end
info() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 4
  def info
    puts <<-MSG
    gem_name: #{gem_name}
 github_name: #{github_name}
github_owner: #{github_owner}
      branch: #{branch}
version_file: #{version_file}
    MSG
  end
notes() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 59
def notes
  update_release_notes
end
publish() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 30
def publish
  _publish
end
release() click to toggle source
# File lib/appium_thor/commands/commands.rb, line 35
def release
  _publish
end