ruby_raider 0.6.3 → 0.6.4

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: 6c9e7c867c58443140d45136cff92a22928c5f872cd0b9810dd0a04a9cc903b7
4
- data.tar.gz: a2e2fd1567f94b91683b26341909a23902299ece3285fa33311325b0d0dee8b7
3
+ metadata.gz: c8b957cdbca685be50c653a6f5a11860af7d2a0cf18ec6633deeb5cc0ef10818
4
+ data.tar.gz: de9e22a9483d7742f4b0f2fc3c8def33749d0ced721a9cdbabedc757e959ca6d
5
5
  SHA512:
6
- metadata.gz: 4b47d7a4e6d77839ebcf91c35c4f5f58231b6d39e7add0999551674762729f1af28b8f913d458f893db33942bea514958e5bc36c3ee7551e0b4dc8ed6397d72d
7
- data.tar.gz: e46c5788ff31b45920b661f739d164f7c5322586f3ee6c987d76a3cfed0148499d14ef9185b2a98150ed594daaea8b3e667755b9b771f42befb922e934769b30
6
+ metadata.gz: 71d3c678487d7da89e16d89a3d7dbecd31de28ba550f764eda4a24cad447d20dc668c79e4981307ee9d2e57cd9a801c676da17cac85c50d2b6b132937082eec2
7
+ data.tar.gz: 87e46dc3595c88a47201b9af68d7556faa220608bdd400bd49649fc6c75f0bc89cb2c920e73bf2d4a9bb30d1ece34d25209401c1e8acae52c8173f701321af6a
data/README.md CHANGED
@@ -97,6 +97,7 @@ Commands :
97
97
  raider generate # Provides access to all the generators commands
98
98
  raider help [COMMAND] # Describe available commands or one specific command
99
99
  raider new [PROJECT_NAME] # Creates a new framework based on settings picked
100
+ raider open # It opens the desktop runner
100
101
  raider open_ai # Provides access to all the open ai commands
101
102
  raider utility # Provides access to all the utility commands
102
103
  raider version # It shows the version of Ruby Raider you are currently using
@@ -55,7 +55,7 @@ class RunnerComponents < BaseComponent
55
55
  left 3
56
56
  halign :end
57
57
  on_clicked do
58
- system 'allure serve allure-reports'
58
+ system 'allure serve allure-results'
59
59
  end
60
60
  end
61
61
  end
@@ -104,7 +104,8 @@ class RunnerComponents < BaseComponent
104
104
  horizontal_box do
105
105
  vertical_box do
106
106
  horizontal_box do
107
- button('Create Test') do
107
+ button_test_name = "Create #{@folder.capitalize}"
108
+ button(button_test_name) do
108
109
  on_clicked do
109
110
  Scaffolding.new([@test_name.text]).generate_spec
110
111
  end
@@ -154,7 +155,7 @@ class RunnerComponents < BaseComponent
154
155
  end
155
156
  end
156
157
  @edit_box = multiline_entry do
157
- text File.read(@all_files.first) if @folder_exist
158
+ text File.read(@all_files&.first) if @folder_exist
158
159
 
159
160
  on_changed do |e|
160
161
  if @folder_exist
@@ -26,7 +26,7 @@ gem 'rubocop'
26
26
  <% if framework == 'rspec' -%>
27
27
  gem 'rubocop-rspec'
28
28
  <% end -%>
29
- gem 'ruby_raider', '~> 0.6.2'
29
+ gem 'ruby_raider'
30
30
  <%= ERB.new(File.read(File.expand_path('./partials/automation_gems.tt', __dir__))).result(binding).strip! %>
31
31
  <% if %w[selenium watir].include? automation -%>
32
32
  gem 'webdrivers'
@@ -93,6 +93,7 @@ Commands :
93
93
  raider generate # Provides access to all the generators commands
94
94
  raider help [COMMAND] # Describe available commands or one specific command
95
95
  raider new [PROJECT_NAME] # Creates a new framework based on settings picked
96
+ raider open # It opens the desktop runner
96
97
  raider open_ai # Provides access to all the open ai commands
97
98
  raider utility # Provides access to all the utility commands
98
99
  raider version # It shows the version of Ruby Raider you are currently using
data/ruby_raider.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ruby_raider'
5
- s.version = '0.6.3'
5
+ s.version = '0.6.4'
6
6
  s.summary = 'A gem to make setup and start of UI automation projects easier'
7
7
  s.description = 'This gem has everything you need to start working with test automation'
8
8
  s.authors = ['Agustin Pequeno']
@@ -0,0 +1,18 @@
1
+ # :reek:FeatureEnvy { enabled: false }
2
+ # :reek:UtilityFunction { enabled: false }
3
+
4
+ module SettingsHelper
5
+ def create_settings(options)
6
+ automation = options[:automation]
7
+ examples = options[:examples]
8
+ visual = options[:visual]
9
+ framework = options[:framework]
10
+ {
11
+ automation: automation,
12
+ examples: examples,
13
+ framework: framework,
14
+ name: "#{framework}_#{automation}#{'_visual' if visual}#{'_without_examples' unless examples}",
15
+ visual: visual
16
+ }
17
+ end
18
+ end
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.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-06 00:00:00.000000000 Z
11
+ date: 2023-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -297,6 +297,7 @@ files:
297
297
  - spec/ruby_raider_spec.rb
298
298
  - spec/scaffolding_commands_spec.rb
299
299
  - spec/spec_helper.rb
300
+ - spec/support/settings_helper.rb
300
301
  - spec/utility_commands_spec.rb
301
302
  homepage: https://github.com/RubyRaider/ruby_raider
302
303
  licenses: