automation_wizard 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/automation_wizard.gemspec +1 -1
- data/lib/automation_wizard/cli.rb +1 -2
- data/lib/automation_wizard/generators/project/loblaws_home.rb.tt +1 -1
- data/lib/automation_wizard/generators/project/loblaws_search_spec.rb.tt +1 -1
- data/lib/automation_wizard/generators/project/model_loblaws_search.rb.tt +1 -1
- data/lib/automation_wizard/generators/project.rb +2 -2
- data/lib/automation_wizard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be63825b056d4d16cdb51d8996ecd17b932fc9e6
|
4
|
+
data.tar.gz: 2f0f50d10890e31a6844027704f397b4f7c4ed97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876d725116a8c13ca0bd83f0f25e3acc07006db51743cb162b1dab498ecb7415db66127b48f6d74b5f6156e7658576c6c1c5a447ae98f3d90098fa178c9ce5b7
|
7
|
+
data.tar.gz: dc01af97e91834582e4ca6f783d6deb892e318931ddd1a8117a7d9adb78bace290582b1cd7136718a18850cb4969ae8811b20b166418467c75f41b69672b3242
|
data/Gemfile.lock
CHANGED
data/automation_wizard.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
require 'automation_wizard/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
|
-
s.name =
|
6
|
+
s.name = 'automation_wizard'
|
7
7
|
s.version = AutomationWizard::VERSION
|
8
8
|
s.license = 'MIT'
|
9
9
|
s.authors = ['Avery Roswell']
|
@@ -1,12 +1,11 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'automation_wizard/generators/project'
|
3
|
-
require 'pry'
|
4
3
|
|
5
4
|
module AutomationWizard
|
6
5
|
class CLI < Thor
|
7
6
|
|
8
7
|
desc 'testproject <project_name>', 'Create a new test project'
|
9
|
-
method_option :level, type: :string, required:
|
8
|
+
method_option :level, type: :string, required: false, desc: 'Provide level option.'
|
10
9
|
|
11
10
|
def testproject(name)
|
12
11
|
driver = options[:level]
|
@@ -6,7 +6,7 @@ module AutomationWizard
|
|
6
6
|
include Thor::Actions
|
7
7
|
|
8
8
|
argument :name, type: :string, desc: 'The name of the project'
|
9
|
-
argument :level, type: :string, desc: 'Project level'
|
9
|
+
argument :level, type: :string, required: false, desc: 'Project level'
|
10
10
|
|
11
11
|
desc 'Generates a project structure for automation applicant test'
|
12
12
|
|
@@ -39,7 +39,7 @@ module AutomationWizard
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def copy_specs
|
42
|
-
|
42
|
+
copy_file 'spec_helper.rb', "#{name}/spec/spec_helper.rb"
|
43
43
|
template 'loblaws_search_spec.rb.tt', "#{name}/spec/loblaws_search_spec.rb"
|
44
44
|
end
|
45
45
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automation_wizard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Avery Roswell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|