ruby_raider 0.5.3 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/commands/open_ai_commands.rb +2 -2
- data/lib/generators/templates/common/read_me.tt +1 -1
- data/lib/ruby_raider.rb +1 -1
- data/ruby_raider.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cf79549fe380d13d2a8665a41a478c4614900eadfe23999a5489ea3ec08f6f5
|
4
|
+
data.tar.gz: 3945f379e8abc88db34f1627cf2711ed9dd41c104180400525692b3288f8209f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006d921f92a3e2805de41a30dd95d9301949b986c38504a02c90755d570cef3bac62746cf484e92836adcbb8d7df5bfdea27148b492ccee4c196f13497fd0fd0
|
7
|
+
data.tar.gz: 5f86c22844f1cf862ea39b74be86366f5754866a397317d89a71f225e86da7955e0c6c3d3b4ea199e2dbb5a1b248f1bcbd76222802b06be565e84078449bd9fb
|
data/README.md
CHANGED
@@ -139,7 +139,7 @@ raider o make [REQUEST] - -path or -p [PATH]
|
|
139
139
|
# Will input the content of the chosen file into open ai and will edit it based on the result
|
140
140
|
raider o make [PATH_NAME] - -edit or -e [FILE_PATH]
|
141
141
|
# Creates a cucumber file and uses it to input into open ai and create a steps file
|
142
|
-
# The prompt is
|
142
|
+
# The prompt is required
|
143
143
|
raider o cucumber [NAME] - -prompt or -p [PROMPT]
|
144
144
|
# Creates a cucumber step definitions file based on an scenario file
|
145
145
|
raider open_ai steps [NAME]
|
@@ -2,7 +2,7 @@ require 'thor'
|
|
2
2
|
require_relative '../open_ai/open_ai'
|
3
3
|
|
4
4
|
class OpenAiCommands < Thor
|
5
|
-
desc '
|
5
|
+
desc 'make [REQUEST]', 'Uses open AI to create a file or generate output'
|
6
6
|
option :path,
|
7
7
|
type: :string, required: false, desc: 'The path where your file will be created', aliases: '-p'
|
8
8
|
option :edit,
|
@@ -26,7 +26,7 @@ class OpenAiCommands < Thor
|
|
26
26
|
desc 'cucumber [NAME]', 'Creates feature and step files only using open ai'
|
27
27
|
option :prompt,
|
28
28
|
type: :string,
|
29
|
-
required:
|
29
|
+
required: true, desc: 'The prompt for open ai', aliases: '-p'
|
30
30
|
|
31
31
|
def cucumber(name)
|
32
32
|
feature_path = "features/#{name}.feature"
|
@@ -135,7 +135,7 @@ raider o make [REQUEST] - -path or -p [PATH]
|
|
135
135
|
# Will input the content of the chosen file into open ai and will edit it based on the result
|
136
136
|
raider o make [PATH_NAME] - -edit or -e [FILE_PATH]
|
137
137
|
# Creates a cucumber file and uses it to input into open ai and create a steps file
|
138
|
-
# The prompt is
|
138
|
+
# The prompt is required
|
139
139
|
raider o cucumber [NAME] - -prompt or -p [PROMPT]
|
140
140
|
# Creates a cucumber step definitions file based on an scenario file
|
141
141
|
raider open_ai steps [NAME]
|
data/lib/ruby_raider.rb
CHANGED
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.5.
|
5
|
+
s.version = '0.5.5'
|
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']
|