diff --git a/lib/generators/templates/common/read_me.tt b/lib/generators/templates/common/read_me.tt index 9693067..a192429 100644 --- a/lib/generators/templates/common/read_me.tt +++ b/lib/generators/templates/common/read_me.tt @@ -4,12 +4,9 @@
- Logo + Logo -

Ruby Raider

- This is a gem to make setup and start of UI automation projects easier. -
Explore the docs ยป

@@ -79,13 +76,13 @@ Select the ones you will like to work with. If you already know which frameworks you want to use, you can do: ```ruby -raider new [name_of_project] - p framework : [framework] automation : [automation_type] visual : [boolean] axe : [boolean] +raider new [name_of_project] p framework : [framework] automation : [automation_type] ``` An example of the command above would be: ```ruby -raider new test_project -p framework : rspec automation: selenium visual : false axe : true +raider new test_project p framework : rspec automation: selenium ``` Where [frameworks] is a comma separated list of the frameworks you want to use. @@ -120,15 +117,15 @@ Ruby Raider also supports scaffolding: * To create a new steps definition you do: ```raider g steps [STEPS_NAME]``` * To create both a page/spec or a page/feature/steps you do: ```raider g scaffold [SCAFFOLD_NAME]``` -It's possible to add the option --path or -p if you want to specify where to create your features, pages, helpers and +It's possible to add the option --path or p if you want to specify where to create your features, pages, helpers and specs. If you want to set the default path for the creation of your features, helpers and specs: ```ruby -raider u path [PATH_NAME] - -feature or -f -raider u path [PATH_NAME] - -spec or -s -raider u path [PATH_NAME] - -helper or -h +raider u path [PATH_NAME] - -feature or f +raider u path [PATH_NAME] - -spec or s +raider u path [PATH_NAME] - -helper or h ``` If you don't specify an option, path will assume you want to change the default path for pages. @@ -139,4 +136,4 @@ To initialise Appium server run this command: ```ruby raider u start_appium -``` \ No newline at end of file +``` diff --git a/lib/plugin/plugin.rb b/lib/plugin/plugin.rb index 616c597..da43e08 100644 --- a/lib/plugin/plugin.rb +++ b/lib/plugin/plugin.rb @@ -67,7 +67,7 @@ def last_plugin? end def plugins - @plugins ||= YAML.load_file('plugins.yml') + @plugins ||= YAML.load_file(File.expand_path('plugins.yml')) end def read_gemfile diff --git a/lib/version b/lib/version index 0383441..bae256f 100644 --- a/lib/version +++ b/lib/version @@ -1 +1 @@ -0.9.5 \ No newline at end of file +0.9.7 \ No newline at end of file