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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73b511158597de3220db924f54274e1927bfc868354a14de1f1258fc9c5cbfe3
4
- data.tar.gz: f767e96bbf74bcd1445c7df25015e4c3be0023665b563eb2d2c0ba52dfb0f2d9
3
+ metadata.gz: 3cf79549fe380d13d2a8665a41a478c4614900eadfe23999a5489ea3ec08f6f5
4
+ data.tar.gz: 3945f379e8abc88db34f1627cf2711ed9dd41c104180400525692b3288f8209f
5
5
  SHA512:
6
- metadata.gz: 2d4b944d4d72e9fd3c2be66740a2b19d0c4db088161a10055a538c90c629a6383f670965ea8b99b7f50cd6ea8dfdd52477d9a093a772cb1cd81b6d6cbe5c542b
7
- data.tar.gz: 9b3c33fd07290c620dae1624518b94e0f82fd2e5a204e8b930fd1939d1085ce002904a31ccfee55b24197207ae5efb71e5a1f92c22c02b1f9ae9e0c83db165be
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 not required because it uses a based prompt
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 'open_ai [REQUEST]', 'Uses open AI to create a file or generate output'
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: false, desc: 'The prompt for open ai', aliases: '-p'
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 not required because it uses a based prompt
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
@@ -23,7 +23,7 @@ module RubyRaider
23
23
 
24
24
  map 'v' => 'version'
25
25
 
26
- desc 'generate', 'Provides access to all the generators commands'
26
+ desc 'generate', 'Provides access to all the generator commands'
27
27
  subcommand 'generate', ScaffoldingCommands
28
28
  map 'g' => 'generate'
29
29
 
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.3'
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']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_raider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Pequeno