ruby_raider 0.2.3 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/Rakefile +8 -1
- data/bin/raider +1 -1
- data/lib/generators/automation_generator.rb +26 -28
- data/lib/generators/common_generator.rb +25 -26
- data/lib/generators/cucumber_generator.rb +10 -11
- data/lib/generators/generator.rb +8 -9
- data/lib/generators/helper_generator.rb +22 -24
- data/lib/generators/menu_generator.rb +50 -52
- data/lib/generators/rspec_generator.rb +7 -8
- data/lib/generators/templates/automation/abstract_page.tt +1 -1
- data/lib/generators/templates/automation/partials/url_methods.tt +1 -1
- data/lib/generators/templates/common/config.tt +1 -0
- data/lib/generators/templates/common/gemfile.tt +1 -0
- data/lib/generators/templates/helpers/browser_helper.tt +2 -2
- data/lib/generators/templates/helpers/driver_helper.tt +1 -1
- data/lib/generators/templates/helpers/partials/new_driver.tt +2 -2
- data/lib/ruby_raider.rb +44 -8
- data/lib/scaffolding/scaffolding.rb +28 -0
- data/lib/scaffolding/templates/feature.tt +6 -0
- data/lib/scaffolding/templates/page_object.tt +12 -0
- data/lib/scaffolding/templates/spec.tt +5 -0
- data/lib/utilities/utilities.rb +28 -0
- data/ruby_raider.gemspec +2 -2
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae28c89e9e9716c7a75d97bbe0bc31bae51c3f18b85734492b5a4c5b7913a69
|
4
|
+
data.tar.gz: 3f6a53f7b30227c3cde2a965a9fe19547afd804484bbee5e3757f9cd65bfa6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 866912f5d5c4a809dbf721d6629c03f26a5df60d3c5581c6af3b1cfc0884fd629b68af8543d4c630d0d7c736f6aff701aeb577d86538210d129221b42680771c
|
7
|
+
data.tar.gz: 153726f43cfed928c93457498b964b0f067b82f008ab8a8377828151dd12f4a01052cd7b1e3df5f2c3c89ca941af4d2fafc1c3972ac1ac22ad2fc73c30d06367
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# ruby_raider
|
2
|
-
This is a gem to make setup and start of UI automation projects easier
|
2
|
+
This is a gem to make setup and start of UI automation projects easier
|
3
|
+
You can find more information and updates on releaseas in : https://ruby-raider.com/
|
3
4
|
|
4
5
|
Just do:
|
5
6
|
|
@@ -7,7 +8,7 @@ Just do:
|
|
7
8
|
|
8
9
|
then do:
|
9
10
|
|
10
|
-
**raider [name_of_project]**
|
11
|
+
**raider new [name_of_project]**
|
11
12
|
|
12
13
|
and you will have a new project in the folder you are in
|
13
14
|
|
data/Rakefile
CHANGED
@@ -4,5 +4,12 @@ require_relative 'lib/ruby_raider'
|
|
4
4
|
|
5
5
|
desc 'Create a new test projects'
|
6
6
|
task :new, [:name] do |_t, args|
|
7
|
-
RubyRaider.
|
7
|
+
RubyRaider.start
|
8
|
+
RubyRaider.new(args.name)
|
8
9
|
end
|
10
|
+
|
11
|
+
desc 'Create a page'
|
12
|
+
task :page, [:name] do |_t, args|
|
13
|
+
RubyRaider.start
|
14
|
+
RubyRaider.page(args.page)
|
15
|
+
end
|
data/bin/raider
CHANGED
@@ -2,44 +2,42 @@
|
|
2
2
|
|
3
3
|
require_relative 'generator'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
5
|
+
class AutomationGenerator < Generator
|
6
|
+
def generate_login_page
|
7
|
+
template('automation/login_page.tt', "#{name}/page_objects/pages/login_page.rb")
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
def generate_abstract_page
|
11
|
+
template('automation/abstract_page.tt', "#{name}/page_objects/abstract/abstract_page.rb")
|
12
|
+
end
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
14
|
+
def generate_home_page
|
15
|
+
if @_initializer.first.include?('appium_ios')
|
16
|
+
template('automation/home_page.tt', "#{name}/page_objects/pages/home_page.rb")
|
19
17
|
end
|
18
|
+
end
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
end
|
20
|
+
def generate_header_component
|
21
|
+
unless @_initializer.first.include?('appium_ios')
|
22
|
+
template('automation/component.tt', "#{name}/page_objects/components/header_component.rb")
|
25
23
|
end
|
24
|
+
end
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
end
|
26
|
+
def generate_abstract_component
|
27
|
+
unless @_initializer.first.include?('appium_ios')
|
28
|
+
template('automation/abstract_component.tt', "#{name}/page_objects/abstract/abstract_component.rb")
|
31
29
|
end
|
30
|
+
end
|
32
31
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
32
|
+
def generate_confirmation_page
|
33
|
+
if @_initializer.first.include?('appium_ios')
|
34
|
+
template('automation/confirmation_page.tt', "#{name}/page_objects/pages/confirmation_page.rb")
|
37
35
|
end
|
36
|
+
end
|
38
37
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
end
|
38
|
+
def generate_appium_settings
|
39
|
+
if @_initializer.first.include?('appium_ios')
|
40
|
+
template('automation/appium_settings.tt', "#{name}/appium.txt")
|
43
41
|
end
|
44
42
|
end
|
45
43
|
end
|
@@ -2,30 +2,29 @@
|
|
2
2
|
|
3
3
|
require_relative 'generator'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
end
|
30
|
-
end
|
5
|
+
class CommonGenerator < Generator
|
6
|
+
def generate_readme_file
|
7
|
+
template('common/read_me.tt', "#{name}/Readme.md")
|
8
|
+
end
|
9
|
+
|
10
|
+
def generate_config_file
|
11
|
+
template('common/config.tt', "#{name}/config/config.yml")
|
12
|
+
end
|
13
|
+
|
14
|
+
def generate_rake_file
|
15
|
+
template('common/rakefile.tt', "#{name}/Rakefile")
|
16
|
+
end
|
17
|
+
|
18
|
+
def generate_gemfile
|
19
|
+
template('common/gemfile.tt', "#{name}/Gemfile")
|
20
|
+
end
|
21
|
+
|
22
|
+
def create_allure_folder
|
23
|
+
empty_directory "#{name}/allure-results"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create_screenshots_folder
|
27
|
+
empty_directory "#{name}/allure-results/screenshots"
|
28
|
+
end
|
31
29
|
end
|
30
|
+
|
@@ -2,18 +2,17 @@
|
|
2
2
|
|
3
3
|
require_relative 'generator'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
5
|
+
class CucumberGenerator < Generator
|
6
|
+
def generate_feature
|
7
|
+
template('cucumber/feature.tt', "#{name}/features/login.feature")
|
8
|
+
end
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
def generate_steps
|
11
|
+
template('cucumber/steps.tt', "#{name}/features/step_definitions/login_steps.rb")
|
12
|
+
end
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
end
|
14
|
+
def generate_env_file
|
15
|
+
template('cucumber/env.tt', "#{name}/features/support/env.rb")
|
18
16
|
end
|
19
17
|
end
|
18
|
+
|
data/lib/generators/generator.rb
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'thor'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
include Thor::Actions
|
4
|
+
class Generator < Thor::Group
|
5
|
+
include Thor::Actions
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
argument :automation
|
8
|
+
argument :framework
|
9
|
+
argument :name
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
end
|
11
|
+
def self.source_root
|
12
|
+
File.dirname(__FILE__) + '/templates'
|
15
13
|
end
|
16
14
|
end
|
15
|
+
|
@@ -2,39 +2,37 @@
|
|
2
2
|
|
3
3
|
require_relative 'generator'
|
4
4
|
|
5
|
-
|
6
|
-
class HelpersGenerator < Generator
|
5
|
+
class HelpersGenerator < Generator
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
def generate_raider_helper
|
8
|
+
template('helpers/raider_helper.tt', "#{name}/helpers/raider.rb")
|
9
|
+
end
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
def generate_allure_helper
|
12
|
+
template('helpers/allure_helper.tt', "#{name}/helpers/allure_helper.rb")
|
13
|
+
end
|
15
14
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
end
|
15
|
+
def generate_browser_helper
|
16
|
+
if @_initializer.first.include?('watir')
|
17
|
+
template('helpers/browser_helper.tt', "#{name}/helpers/browser_helper.rb")
|
20
18
|
end
|
19
|
+
end
|
21
20
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
end
|
21
|
+
def generate_spec_helper
|
22
|
+
if @_initializer.first.include?('rspec')
|
23
|
+
template('helpers/spec_helper.tt', "#{name}/helpers/spec_helper.rb")
|
26
24
|
end
|
25
|
+
end
|
27
26
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
end
|
27
|
+
def generate_selenium_helper
|
28
|
+
if @_initializer.first.include?('selenium')
|
29
|
+
template('helpers/selenium_helper.tt', "#{name}/helpers/selenium_helper.rb")
|
32
30
|
end
|
31
|
+
end
|
33
32
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
end
|
33
|
+
def generate_driver_helper
|
34
|
+
unless @_initializer.first.include?('watir')
|
35
|
+
template('helpers/driver_helper.tt', "#{name}/helpers/driver_helper.rb")
|
38
36
|
end
|
39
37
|
end
|
40
38
|
end
|
@@ -7,66 +7,64 @@ require_relative 'cucumber_generator'
|
|
7
7
|
require_relative 'helper_generator'
|
8
8
|
require_relative 'rspec_generator'
|
9
9
|
|
10
|
-
|
11
|
-
class
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
menu.choice('Quit') { exit }
|
21
|
-
end
|
10
|
+
class MenuGenerator
|
11
|
+
class << self
|
12
|
+
def generate_choice_menu(project_name)
|
13
|
+
@cli = HighLine.new
|
14
|
+
@cli.choose do |menu|
|
15
|
+
menu.prompt = 'Please select your automation framework'
|
16
|
+
menu.choice('Selenium') { choose_test_framework('selenium', project_name) }
|
17
|
+
menu.choice('Watir') { choose_test_framework('watir', project_name) }
|
18
|
+
menu.choice('Appium') { choose_test_framework('appium', project_name) }
|
19
|
+
menu.choice('Quit') { exit }
|
22
20
|
end
|
21
|
+
end
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
35
|
-
menu.choice('Cucumber') do
|
36
|
-
framework = 'cucumber'
|
37
|
-
set_framework(automation, framework, project_name)
|
38
|
-
end
|
39
|
-
menu.choice('Quit') { exit }
|
23
|
+
def choose_test_framework(automation, project_name)
|
24
|
+
system('clear') || system('cls')
|
25
|
+
sleep 0.3
|
26
|
+
automation = automation == 'appium' ? choose_mobile_platform : automation
|
27
|
+
framework = ''
|
28
|
+
@cli.choose do |menu|
|
29
|
+
menu.prompt = 'Please select your test framework'
|
30
|
+
menu.choice('Rspec') do
|
31
|
+
framework = 'rspec'
|
32
|
+
set_framework(automation, framework, project_name)
|
40
33
|
end
|
41
|
-
|
34
|
+
menu.choice('Cucumber') do
|
35
|
+
framework = 'cucumber'
|
36
|
+
set_framework(automation, framework, project_name)
|
37
|
+
end
|
38
|
+
menu.choice('Quit') { exit }
|
42
39
|
end
|
40
|
+
@cli.say("You have chosen to use #{framework} with #{automation}")
|
41
|
+
end
|
43
42
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
end
|
50
|
-
AutomationGenerator.new([automation, framework, project_name]).invoke_all
|
51
|
-
CommonGenerator.new([automation, framework, project_name]).invoke_all
|
52
|
-
HelpersGenerator.new([automation, framework, project_name]).invoke_all
|
53
|
-
system "cd #{project_name} && gem install bundler && bundle install"
|
43
|
+
def set_framework(automation, framework, project_name)
|
44
|
+
if framework == 'rspec'
|
45
|
+
RspecGenerator.new([automation, framework, project_name]).invoke_all
|
46
|
+
else
|
47
|
+
CucumberGenerator.new([automation, framework, project_name]).invoke_all
|
54
48
|
end
|
49
|
+
AutomationGenerator.new([automation, framework, project_name]).invoke_all
|
50
|
+
CommonGenerator.new([automation, framework, project_name]).invoke_all
|
51
|
+
HelpersGenerator.new([automation, framework, project_name]).invoke_all
|
52
|
+
system "cd #{project_name} && gem install bundler && bundle install"
|
53
|
+
end
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
end
|
68
|
-
menu.choice('Quit') { exit }
|
55
|
+
def choose_mobile_platform
|
56
|
+
@cli.choose do |menu|
|
57
|
+
menu.prompt = 'Please select your mobile platform'
|
58
|
+
menu.choice('iOS') { 'appium_ios' }
|
59
|
+
menu.choice('Android') do
|
60
|
+
pp 'Android appium is coming soon. Thank you for the interest'
|
61
|
+
exit
|
62
|
+
end
|
63
|
+
menu.choice('Cross Platform') do
|
64
|
+
pp 'Cross platform appium is coming soon. Thank you for the interest'
|
65
|
+
exit
|
69
66
|
end
|
67
|
+
menu.choice('Quit') { exit }
|
70
68
|
end
|
71
69
|
end
|
72
70
|
end
|
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
require_relative 'generator'
|
4
4
|
|
5
|
-
|
6
|
-
class RspecGenerator < Generator
|
5
|
+
class RspecGenerator < Generator
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
def generate_spec
|
8
|
+
template('rspec/spec.tt', "#{name}/spec/login_page_spec.rb")
|
9
|
+
end
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
end
|
11
|
+
def generate_base_spec
|
12
|
+
template('rspec/base_spec.tt', "#{name}/spec/base_spec.rb")
|
15
13
|
end
|
16
14
|
end
|
15
|
+
|
@@ -12,6 +12,7 @@ gem 'rake'
|
|
12
12
|
gem '<%= framework %>'
|
13
13
|
<% if framework == 'cucumber' -%>
|
14
14
|
gem 'rspec'
|
15
|
+
gem 'ruby_raider'
|
15
16
|
<% end -%>
|
16
17
|
<%= ERB.new(File.read(File.expand_path('./partials/automation_gems.tt', __dir__))).result(binding).strip! %>
|
17
18
|
<% if %w[selenium watir].include? automation -%>
|
@@ -10,9 +10,9 @@ module Raider
|
|
10
10
|
class << self
|
11
11
|
attr_reader :browser
|
12
12
|
|
13
|
-
def new_browser
|
13
|
+
def new_browser(options = {})
|
14
14
|
config = YAML.load_file('config/config.yml')
|
15
|
-
@browser = Watir::Browser.new
|
15
|
+
@browser = Watir::Browser.new(config['browser'], options: browser_opts)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<% if automation == 'selenium' %>
|
2
|
-
def new_driver
|
3
|
-
@driver = Selenium::WebDriver.for :
|
2
|
+
def new_driver(caps = {})
|
3
|
+
@driver = Selenium::WebDriver.for(YAML.load_file('config/config.yml')['browser'], desired_capabilities: caps)
|
4
4
|
end
|
5
5
|
<% else %>
|
6
6
|
def new_driver
|
data/lib/ruby_raider.rb
CHANGED
@@ -1,12 +1,48 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'thor'
|
2
|
+
require 'yaml'
|
3
3
|
require_relative 'generators/menu_generator'
|
4
|
+
require_relative '../lib/scaffolding/scaffolding'
|
5
|
+
require_relative '../lib/utilities/utilities'
|
4
6
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
def generate_project(project_name)
|
7
|
+
class RubyRaider < Thor
|
8
|
+
desc "new [PROJECT_NAME]", "Creates a new framework based on settings picked"
|
9
|
+
def new(project_name)
|
10
10
|
MenuGenerator.generate_choice_menu(project_name)
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
|
+
desc "page [PAGE_NAME]", "Creates a new page object"
|
14
|
+
def page(name)
|
15
|
+
Scaffolding.new([name, load_config_path]).generate_class
|
16
|
+
end
|
17
|
+
|
18
|
+
desc "feature [FEATURE_NAME]", "Creates a new feature"
|
19
|
+
def feature(name)
|
20
|
+
Scaffolding.new([name, load_config_path]).generate_feature
|
21
|
+
end
|
22
|
+
|
23
|
+
desc "spec [SPEC_NAME]", "Creates a new spec"
|
24
|
+
def spec(name)
|
25
|
+
Scaffolding.new([name, load_config_path]).generate_spec
|
26
|
+
end
|
27
|
+
|
28
|
+
desc "path [PATH]", "Sets the default path for scaffolding"
|
29
|
+
def path(default_path)
|
30
|
+
Utilities.new.path = default_path
|
31
|
+
end
|
32
|
+
|
33
|
+
desc "url [URL]", "Sets the default url for a project"
|
34
|
+
def url(default_url)
|
35
|
+
Utilities.new.url = default_url
|
36
|
+
end
|
37
|
+
|
38
|
+
desc "browser [BROWSER]", "Sets the default browser for a project"
|
39
|
+
def browser(default_browser)
|
40
|
+
Utilities.new.browser = default_browser
|
41
|
+
end
|
42
|
+
|
43
|
+
no_commands do
|
44
|
+
def load_config_path
|
45
|
+
YAML.load_file('config/config.yml')['path']
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'thor'
|
2
|
+
|
3
|
+
class Scaffolding < Thor::Group
|
4
|
+
include Thor::Actions
|
5
|
+
|
6
|
+
argument :name
|
7
|
+
argument :path, optional: true
|
8
|
+
|
9
|
+
def self.source_root
|
10
|
+
File.dirname(__FILE__) + '/templates'
|
11
|
+
end
|
12
|
+
|
13
|
+
def generate_class
|
14
|
+
template('page_object.tt', default_path("page_objects/pages/#{name}_page.rb") )
|
15
|
+
end
|
16
|
+
|
17
|
+
def generate_feature
|
18
|
+
template('feature.tt', default_path("features/#{name}.feature"))
|
19
|
+
end
|
20
|
+
|
21
|
+
def generate_spec
|
22
|
+
template('spec.tt', default_path("./spec/#{name}_page.rb"))
|
23
|
+
end
|
24
|
+
|
25
|
+
def default_path(standard_path)
|
26
|
+
path.nil? ? standard_path : "#{path}/#{name}"
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
class Utilities
|
4
|
+
|
5
|
+
def initialize
|
6
|
+
@path = 'config/config.yml'
|
7
|
+
@config = YAML.load_file(@path)
|
8
|
+
end
|
9
|
+
|
10
|
+
def browser=(browser)
|
11
|
+
@config['browser'] = browser
|
12
|
+
overwrite_yaml
|
13
|
+
end
|
14
|
+
|
15
|
+
def path=(path)
|
16
|
+
@config['path'] = path
|
17
|
+
overwrite_yaml
|
18
|
+
end
|
19
|
+
|
20
|
+
def url=(url)
|
21
|
+
@config['url'] = url
|
22
|
+
overwrite_yaml
|
23
|
+
end
|
24
|
+
|
25
|
+
def overwrite_yaml
|
26
|
+
File.open(@path, 'w') { |file| YAML.dump(@config, file) }
|
27
|
+
end
|
28
|
+
end
|
data/ruby_raider.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'ruby_raider'
|
5
|
-
s.version = '0.2.
|
5
|
+
s.version = '0.2.6'
|
6
6
|
s.summary = 'A gem to make setup and start of UI automation projects easier'
|
7
|
-
s.description = 'This gem
|
7
|
+
s.description = 'This gem has everything you need to start working with test automation'
|
8
8
|
s.authors = ['Agustin Pequeno']
|
9
9
|
s.email = 'agustin.pe94@gmail.com'
|
10
10
|
s.homepage = 'http://github.com/aguspe/ruby_raider'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_raider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Pequeno
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -108,8 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.2.1
|
111
|
-
description: This gem
|
112
|
-
one simple package
|
111
|
+
description: This gem has everything you need to start working with test automation
|
113
112
|
email: agustin.pe94@gmail.com
|
114
113
|
executables:
|
115
114
|
- raider
|
@@ -174,6 +173,11 @@ files:
|
|
174
173
|
- lib/generators/templates/rspec/base_spec.tt
|
175
174
|
- lib/generators/templates/rspec/spec.tt
|
176
175
|
- lib/ruby_raider.rb
|
176
|
+
- lib/scaffolding/scaffolding.rb
|
177
|
+
- lib/scaffolding/templates/feature.tt
|
178
|
+
- lib/scaffolding/templates/page_object.tt
|
179
|
+
- lib/scaffolding/templates/spec.tt
|
180
|
+
- lib/utilities/utilities.rb
|
177
181
|
- ruby_raider.gemspec
|
178
182
|
- spec/automation_generator_spec.rb
|
179
183
|
- spec/common_generator_spec.rb
|