README.md in appium_thor-0.0.7 vs README.md in appium_thor-1.0.0

- old
+ new

@@ -1,6 +1,6 @@ -# appium_thor [![Gem Version](https://badge.fury.io/rb/appium_thor.svg)](http://badge.fury.io/rb/appium_thor)[![Dependency Status](https://gemnasium.com/appium/appium_thor.svg)](https://gemnasium.com/appium/appium_thor) +# appium_thor [![Gem Version](https://badge.fury.io/rb/appium_thor.svg)](https://rubygems.org/gems/appium_thor)[![Dependency Status](https://gemnasium.com/appium/appium_thor.svg)](https://gemnasium.com/appium/appium_thor) Appium Thor helpers for appium's gems (appium_lib, appium_capybara). -- @@ -15,10 +15,22 @@ version_file 'lib/appium_thor/version.rb' docs_block do run 'docs/helpers_docs.md', globs('/lib/appium_thor/helpers.rb') end 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 +# +class ::Default < Thor + desc 'spec', 'Run RSpec tests' + def spec + exec 'rspec spec' + end +end ``` # Defaults Option | Default @@ -40,10 +52,10 @@ thor build # Build a new gem thor bump # Bump the z version number and update the date. thor bumpx # Bump the x version number, set y & z to zero, update the date. thor bumpy # Bump the y version number, set z to zero, update the date. thor byte # Remove non-ascii bytes from all *.rb files in the current dir -thor docs # Update android and iOS docs +thor docs # Update docs thor gem_install # Install gem thor gem_uninstall # Uninstall gem thor info # prints config info for this gem thor notes # Update release notes thor publish # Build and release a new gem to rubygems.org