ruby_raider 1.0.3 → 1.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52074e06fb0010ea9fdc1ffe0729598ced95349c4775b389b353ca80e234de1b
4
- data.tar.gz: bc95a37d449f89cf0cdf3fa7d7a393aaeb66dc931cf5cdb924ed3b7245b885d4
3
+ metadata.gz: 52f6a131eab6f56640436342a8453762e227972dc58579425d3fe5a20bb6c268
4
+ data.tar.gz: 26edb7b40ffc57c7b5b49743949d424f5957c1bb466906a12fa4750b152edf97
5
5
  SHA512:
6
- metadata.gz: 3190c657ef13871b11658bd01a7744b8f95ba226c418bc913e1bba41d8a4a30a8c64468cee679342be641ac8d444ecb59c27d519f0f3c8d47b5241d9d3f5bb98
7
- data.tar.gz: ab2b8c573a2c04a104c45c0e90c805389727fb368f8ec73325b2f2b45076cc460bd1536f630c45e25ae70086f964a68a6793e44910af96e830b0c8cfdcfed64e
6
+ metadata.gz: 64954474082ea74b3888d362aa9cfb6cbd528ad82a67fbffcc7265f90297ff57a981480dd5cb3d86d270caa0436dd81eadfcd7c847b0b7f1c73f896aca0a6a25
7
+ data.tar.gz: ebd974a8a13df97e5b426acd0d7f153447b0a72eeaa1f9bd9f9fae5982133f97fbe0f40c3dfc820bdb0f70f310b1c4a66ba2f659114e600caa3069b9be928d27
data/README.md CHANGED
@@ -46,7 +46,7 @@ the commands below:***
46
46
 
47
47
  ```ruby
48
48
  raider u start_appium
49
- appium --base - path /wd/ hub
49
+ appium --base /wd/hub
50
50
  ```
51
51
 
52
52
  ***In order to run the visual tests with applitools, you need to create an account and get your api key, you can read
@@ -1,6 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'activesupport'
4
+ <% if mobile? %>
5
+ gem 'appium_lib'
6
+ gem 'appium_console'
7
+ <% end %>
4
8
  <%- if cucumber? -%>
5
9
  gem 'allure-cucumber'
6
10
  <%- else -%>
@@ -29,5 +33,10 @@ gem 'rubocop'
29
33
  <%- if rspec? -%>
30
34
  gem 'rubocop-rspec'
31
35
  <%- end -%>
32
- gem 'ruby_raider', '~> 1.0.3'
33
- <%= ERB.new(File.read(File.expand_path('./partials/automation_gems.tt', __dir__))).result(binding).strip! %>
36
+ gem 'ruby_raider', '~> 1.0.4'
37
+ <%- if selenium_based? %>
38
+ gem 'selenium-webdriver'
39
+ <%- end -%>
40
+ <%- if watir? -%>
41
+ gem 'watir'
42
+ <%- end -%>
@@ -12,6 +12,7 @@ browser_arguments:
12
12
  - no-sandbox
13
13
  - disable-dev-shm-usage
14
14
  - ignore-certificate-errors
15
+ - search-engine-choice-country
15
16
  :firefox:
16
17
  - acceptInsecureCerts
17
18
  - no-sandbox
data/lib/plugin/plugin.rb CHANGED
@@ -19,6 +19,7 @@ module RubyRaider
19
19
  end
20
20
 
21
21
  def delete_plugin(plugin_name)
22
+ return gemfile_guard unless File.exist?('Gemfile')
22
23
  return 'The plugin is not installed' unless installed_plugins.include?(plugin_name)
23
24
 
24
25
  pp "Deleting #{plugin_name}..."
data/lib/version CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.5
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.3
4
+ version: 1.0.5
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-07-29 00:00:00.000000000 Z
11
+ date: 2024-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -204,7 +204,6 @@ files:
204
204
  - lib/generators/templates/common/config.tt
205
205
  - lib/generators/templates/common/gemfile.tt
206
206
  - lib/generators/templates/common/git_ignore.tt
207
- - lib/generators/templates/common/partials/automation_gems.tt
208
207
  - lib/generators/templates/common/partials/mobile_config.tt
209
208
  - lib/generators/templates/common/partials/web_config.tt
210
209
  - lib/generators/templates/common/rakefile.tt
@@ -1,10 +0,0 @@
1
- <% case automation
2
- when 'watir' %>
3
- gem 'selenium-webdriver'
4
- gem 'watir'
5
- <% when selenium_based? %>
6
- gem 'selenium-webdriver'
7
- <% when mobile? %>
8
- gem 'appium_lib'
9
- gem 'appium_console'
10
- <% end %>