Sha256: db283f8694b0f04212c5a7dd67d93f70e3864dc5066090874fa22f82885f24f7

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 Bytes

Contents

require 'rubygems'
require 'appium_thor'

Appium::Thor::Config.set do
  gem_name 'sauce_overage'
  github_owner 'bootstraponline'
end

# Must use '::' otherwise Default will point to Thor::Sandbox::Default
# Debug by calling Thor::Base.subclass_files via Pry
#
# https://github.com/erikhuda/thor/issues/484
#
# rubocop:disable Style/ClassAndModuleChildren
class ::Default < Thor
  desc 'spec', 'Run RSpec tests'
  def spec
    exec 'bundle exec rspec spec'
  end

  desc 'cop', 'Executes rubocop'
  def cop
    exec 'bundle exec rubocop'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sauce_overage-0.0.2 Thorfile
sauce_overage-0.0.1 Thorfile