ruby_raider 0.5.0 → 0.5.2
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 +4 -4
- data/README.md +3 -1
- data/lib/commands/utility_commands.rb +5 -3
- data/lib/generators/templates/common/read_me.tt +2 -0
- data/ruby_raider.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f699ce6dfbac0c7e24138755df16fcaaf27e3da351d6dfc4e5f7b1ad8df87e5
|
4
|
+
data.tar.gz: f3fb59894beaf8492d3e1cb608cf59b391363f85ed2a6846ff543e9988e2f7ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aae1fa17d24a1e413356bfd2efa84581ec29c904c6b78311fabfb38975be8e2267497856f2cd9632ddbfa225f67e4ca0f3e964349d1ec94fb11627634b0b6ce
|
7
|
+
data.tar.gz: 16f14221f3c9753acce661104bae09299ff92c56c886ecad4f8113f023cc14ca5905f48da1404106f275e1ca77c9dc16d7cc7f2e602b6e65334740cf8e2c9da2
|
data/README.md
CHANGED
@@ -99,7 +99,9 @@ Commands:
|
|
99
99
|
raider helper [HELPER_NAME] # Creates a new helper
|
100
100
|
|
101
101
|
raider new [PROJECT_NAME] # Creates a new framework based on settings picked
|
102
|
-
|
102
|
+
|
103
|
+
raider open_ai [REQUEST] # Uses open AI to create a file or generate output
|
104
|
+
|
103
105
|
raider page [PAGE_NAME] # Creates a new page object
|
104
106
|
|
105
107
|
raider path [PATH] # Sets the default path for scaffolding
|
@@ -95,7 +95,7 @@ class UtilityCommands < Thor
|
|
95
95
|
|
96
96
|
desc 'version', 'It shows the version of Ruby Raider you are currently using'
|
97
97
|
def version
|
98
|
-
puts 'The Ruby Raider version is 0.5.
|
98
|
+
puts 'The Ruby Raider version is 0.5.2, Happy testing!'
|
99
99
|
end
|
100
100
|
|
101
101
|
map '-v' => 'version'
|
@@ -103,14 +103,16 @@ class UtilityCommands < Thor
|
|
103
103
|
desc 'open_ai [REQUEST]', 'Uses open AI to create a file or generate output'
|
104
104
|
option :path,
|
105
105
|
type: :string, required: false, desc: 'The path where your file will be created', aliases: '-p'
|
106
|
-
option :output,
|
107
|
-
type: :string, required: false, desc: 'This will output the response from open AI on the terminal', aliases: '-o'
|
108
106
|
|
109
107
|
def open_ai(request)
|
110
108
|
if options[:path]
|
109
|
+
pp 'Generating File...'
|
111
110
|
OpenAi.create_file(choice = 0, options[:path], request)
|
111
|
+
pp "File created in #{options[:path]}"
|
112
112
|
else
|
113
113
|
OpenAi.output(request)
|
114
114
|
end
|
115
115
|
end
|
116
|
+
|
117
|
+
map '-oa' => 'open_ai'
|
116
118
|
end
|
@@ -96,6 +96,8 @@ Commands:
|
|
96
96
|
|
97
97
|
raider new [PROJECT_NAME] # Creates a new framework based on settings picked
|
98
98
|
|
99
|
+
raider open_ai [REQUEST] # Uses open AI to create a file or generate output
|
100
|
+
|
99
101
|
raider page [PAGE_NAME] # Creates a new page object
|
100
102
|
|
101
103
|
raider path [PATH] # Sets the default path for scaffolding
|
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.2'
|
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']
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.add_development_dependency 'rubocop-performance', '~> 1.15.0'
|
21
21
|
s.add_development_dependency 'rubocop-rspec', '~> 2.9.0'
|
22
22
|
|
23
|
+
s.add_runtime_dependency 'ruby-openai', '~> 3.5'
|
23
24
|
s.add_runtime_dependency 'thor', '~> 1.2.1'
|
24
25
|
s.add_runtime_dependency 'tty-prompt', '~> 0.23.1'
|
25
|
-
s.add_runtime_dependency 'ruby-openai', '~> 3.5'
|
26
26
|
end
|
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.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Pequeno
|
@@ -95,47 +95,47 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.9.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: ruby-openai
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '3.5'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: '3.5'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: thor
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 1.2.1
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 1.2.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: tty-prompt
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 0.23.1
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 0.23.1
|
139
139
|
description: This gem has everything you need to start working with test automation
|
140
140
|
email: agustin.pe94@gmail.com
|
141
141
|
executables:
|