ruby_raider 1.0.8 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03e16c261b9124a0b9a33227e4e60734cd9c8fd53891a5c2857427d11d6073e5
4
- data.tar.gz: 410e1198dae7af2d0a3a7a94f512b5105a591b2e2b580360265d3aa7e06812fa
3
+ metadata.gz: 846b6834aa98706451c5e207a0b09faad86d92722b3564ea11901d86c6f513b9
4
+ data.tar.gz: e021d354084e09baf786079dd0b46c977023f8420eeef38fed9105484cdf63f7
5
5
  SHA512:
6
- metadata.gz: c3bf4f0c02db69267c4d58b1caa74e9c755aa2ba791207a0671ef496c550a7cef3033e06f5f7088ca53453b4030c4f4806592fc7c248dc8df7d85d3b0f7182ca
7
- data.tar.gz: 001e01e21e63625abba1ad2e88f92e588f30555ae2bacd2b7a86d6b6434abea6470167402bc918dc7cbfa419dcde08ebb69937c8f5c83d3a813d2924960c2f7e
6
+ metadata.gz: a0fa6c26ed43f359c0fe46283a9ec43cf313f77ba53fd2c05c9674f4aa31f9a671cc4baa91bc8545d0af2111edda75ec8ab532dac4e0301a12a2fd3fb1acb6e6
7
+ data.tar.gz: 94d569b7ada0478f8297c0989eb4f9e75459a4c6279b7a56fee49d7a745d59a283ac35b63d9ffc19ac91de36e9450ea83abbded7e96acad7d59e99e8cb3d1d71
data/README.md CHANGED
@@ -82,17 +82,15 @@ Select the ones you will like to work with.
82
82
  If you already know which frameworks you want to use, you can do:
83
83
 
84
84
  ```ruby
85
- raider new [name_of_project] p framework : [framework] automation : [automation_type]
85
+ raider new [name_of_project] -p framework:[framework] automation:[automation_type]
86
86
  ```
87
87
 
88
88
  An example of the command above would be:
89
89
 
90
90
  ```ruby
91
- raider new test_project p framework : rspec automation: selenium
91
+ raider new test_project -p framework:rspec automation:selenium
92
92
  ```
93
93
 
94
- Where [frameworks] is a comma separated list of the frameworks you want to use.
95
-
96
94
  ### Ruby raider provides the following list of basic commands
97
95
 
98
96
  ###### Anything between square brackets([...]) is where your imput goes
@@ -10,7 +10,7 @@ browserstack:
10
10
  platformName: Android
11
11
  os_version: '9.0'
12
12
  deviceName: Google Pixel 3
13
- app: bs://044a22528dfcf4ceaa1b0b31fb574d5010aabb91
13
+ app: app: <%= ENV['APP_URL'] %>
14
14
  browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
15
15
  browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
16
16
  project: 'MyDemoAppRN'
@@ -18,7 +18,7 @@ browserstack:
18
18
  platformName: Android
19
19
  os_version: '9.0'
20
20
  deviceName: Google Pixel 3
21
- app: bs://044a22528dfcf4ceaa1b0b31fb574d5010aabb91
21
+ app: app: <%= ENV['APP_URL'] %>
22
22
  browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
23
23
  browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
24
24
  project: 'MyDemoAppRN'
@@ -11,7 +11,7 @@ browserstack:
11
11
  platformName: iOS
12
12
  os_version: '17.5.1'
13
13
  deviceName: iPhone 15
14
- app: bs://044a22528dfcf4ceaa1b0b31fb574d5010aabb91
14
+ app: <%= ENV['APP_URL'] %>
15
15
  browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
16
16
  browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
17
17
  project: 'MyDemoAppRN'
@@ -6,10 +6,10 @@ gem 'appium_lib'
6
6
  gem 'appium_console'
7
7
  <% end %>
8
8
  <%- if cucumber? -%>
9
- gem 'allure-cucumber', '~> 2.24.0'
9
+ gem 'allure-cucumber', '2.23.0'
10
10
  <%- else -%>
11
- gem 'allure-rspec', '~> 2.24.0'
12
- gem 'allure-ruby-commons', '~> 2.24.0'
11
+ gem 'allure-rspec', '2.23.0'
12
+ gem 'allure-ruby-commons', '2.23.0'
13
13
  <%- end -%>
14
14
  <%- if axe? -%>
15
15
  gem 'axe-core-rspec'
@@ -33,7 +33,7 @@ gem 'rubocop'
33
33
  <%- if rspec? -%>
34
34
  gem 'rubocop-rspec'
35
35
  <%- end -%>
36
- gem 'ruby_raider', '~> 1.0.0'
36
+ gem 'ruby_raider', '~> 1.1.0'
37
37
  <%- if selenium_based? %>
38
38
  gem 'selenium-webdriver'
39
39
  <%- end -%>
@@ -1,4 +1,4 @@
1
- browser: :chrome
1
+ browser: chrome
2
2
  url: 'https://automationteststore.com/'
3
3
 
4
4
  <%- if selenium_based? -%>
@@ -8,11 +8,11 @@ driver_options:
8
8
  <% end -%>
9
9
 
10
10
  browser_arguments:
11
- :chrome:
11
+ chrome:
12
12
  - no-sandbox
13
13
  - disable-dev-shm-usage
14
14
  - ignore-certificate-errors
15
15
  - search-engine-choice-country
16
- :firefox:
16
+ firefox:
17
17
  - acceptInsecureCerts
18
18
  - no-sandbox
@@ -3,20 +3,20 @@
3
3
  <!-- PROJECT LOGO -->
4
4
  <br />
5
5
  <div align="center">
6
- <a href="https://github.com/RubyRaider/ruby_raider">
7
- <img src="https://ruby-raider.com/wp-content/uploads/2022/05/logo-160x160.png?w=890" alt="Logo" style="width:600px;">
8
- </a>
9
- <p align="center">
10
- <a href="https://github.com/RubyRaider/ruby_raider#getting-started"><strong>Explore the docs »</strong></a>
11
- <br />
12
- <br />
13
- <a href="https://rubygems.org/gems/ruby_raider">Rubygems</a>
14
- ·
15
- <a href="https://github.com/RubyRaider/ruby_raider/issues">Report Bug</a>
16
- ·
17
- <a href="https://github.com/RubyRaider/ruby_raider/issues">Request Feature</a>
18
- </p>
19
- <p align="center"> For more information and updates on releases, see <a href="https://ruby-raider.com">https://ruby-raider.com</a></p>
6
+ <a href="https://github.com/RubyRaider/ruby_raider">
7
+ <img src="https://ruby-raider.com/wp-content/uploads/2022/05/logo-160x160.png?w=890" alt="Logo" style="width:600px;">
8
+ </a>
9
+ <p align="center">
10
+ <a href="https://github.com/RubyRaider/ruby_raider#getting-started"><strong>Explore the docs »</strong></a>
11
+ <br />
12
+ <br />
13
+ <a href="https://rubygems.org/gems/ruby_raider">Rubygems</a>
14
+ ·
15
+ <a href="https://github.com/RubyRaider/ruby_raider/issues">Report Bug</a>
16
+ ·
17
+ <a href="https://github.com/RubyRaider/ruby_raider/issues">Request Feature</a>
18
+ </p>
19
+ <p align="center"> For more information and updates on releases, see <a href="https://ruby-raider.com">https://ruby-raider.com</a></p>
20
20
  </div>
21
21
 
22
22
  ## What is Ruby Raider?
@@ -40,7 +40,7 @@ the commands below:***
40
40
 
41
41
  ```ruby
42
42
  raider u start_appium
43
- appium --base - path /wd/ hub
43
+ appium --base /wd/hub
44
44
  ```
45
45
 
46
46
  ***In order to run the visual tests with applitools, you need to create an account and get your api key, you can read
@@ -76,17 +76,15 @@ Select the ones you will like to work with.
76
76
  If you already know which frameworks you want to use, you can do:
77
77
 
78
78
  ```ruby
79
- raider new [name_of_project] p framework : [framework] automation : [automation_type]
79
+ raider new [name_of_project] -p framework:[framework] automation:[automation_type]
80
80
  ```
81
81
 
82
82
  An example of the command above would be:
83
83
 
84
84
  ```ruby
85
- raider new test_project p framework : rspec automation: selenium
85
+ raider new test_project -p framework:rspec automation:selenium
86
86
  ```
87
87
 
88
- Where [frameworks] is a comma separated list of the frameworks you want to use.
89
-
90
88
  ### Ruby raider provides the following list of basic commands
91
89
 
92
90
  ###### Anything between square brackets([...]) is where your imput goes
@@ -137,3 +135,7 @@ To initialise Appium server run this command:
137
135
  ```ruby
138
136
  raider u start_appium
139
137
  ```
138
+
139
+ ### Sponsors
140
+
141
+ This project is tested with BrowserStack.
@@ -8,7 +8,7 @@
8
8
  <% elsif selenium_based? -%>
9
9
  def create_driver(*opts)
10
10
  @config = YAML.load_file('config/config.yml')
11
- browser = @config['browser'].to_sym
11
+ browser = @config['browser']
12
12
  Selenium::WebDriver.for(browser, options: create_webdriver_options(*opts))
13
13
  end
14
14
 
data/lib/version CHANGED
@@ -1 +1 @@
1
- 1.0.8
1
+ 1.1.0
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: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-13 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  - !ruby/object:Gem::Version
269
269
  version: '0'
270
270
  requirements: []
271
- rubygems_version: 3.3.26
271
+ rubygems_version: 3.5.15
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: A gem to make setup and start of UI automation projects easier