automation_wizard 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -2
- data/Gemfile.lock +1 -52
- data/automation_wizard.gemspec +0 -5
- data/email_instructions.md +1 -1
- data/lib/automation_wizard.rb +1 -1
- data/lib/automation_wizard/generators/project/hooks.rb.tt +4 -13
- data/lib/automation_wizard/version.rb +1 -1
- metadata +2 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4abd231e06b200e5bcf4f11f49f89a7be3f173c
|
4
|
+
data.tar.gz: a3bf2c012ce574852c5522a24bc49d4ad2a0e780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e28ec532413bbeaa9d5d9f66f5b6545598aa4180aa2eede929302257ab17abe332bf299aa7a0f6fd633e2fb3c7b86e99d6f1e93cd280a1adc8b42a4a9d0c15
|
7
|
+
data.tar.gz: 1de04ac86e56f0077fdc1acfa6cce597fce45780396373225c7b748df38ae062ad2e6843cce39cc4c46c7eb3442436aa1a2f178d726eb1622b82e98982f93a5c
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,69 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
automation_wizard (0.1.
|
5
|
-
cucumber (~> 2.4, >= 2.4.0)
|
6
|
-
pry (~> 0.10, >= 0.10.0)
|
7
|
-
rspec (~> 3.5, >= 3.5.0)
|
4
|
+
automation_wizard (0.1.3)
|
8
5
|
thor (~> 0.17, >= 0.17.0)
|
9
6
|
|
10
7
|
GEM
|
11
8
|
remote: https://rubygems.org/
|
12
9
|
specs:
|
13
|
-
aruba (0.14.2)
|
14
|
-
childprocess (~> 0.5.6)
|
15
|
-
contracts (~> 0.9)
|
16
|
-
cucumber (>= 1.3.19)
|
17
|
-
ffi (~> 1.9.10)
|
18
|
-
rspec-expectations (>= 2.99)
|
19
|
-
thor (~> 0.19)
|
20
|
-
builder (3.2.2)
|
21
|
-
childprocess (0.5.9)
|
22
|
-
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
coderay (1.1.1)
|
24
|
-
contracts (0.14.0)
|
25
|
-
cucumber (2.4.0)
|
26
|
-
builder (>= 2.1.2)
|
27
|
-
cucumber-core (~> 1.5.0)
|
28
|
-
cucumber-wire (~> 0.0.1)
|
29
|
-
diff-lcs (>= 1.1.3)
|
30
|
-
gherkin (~> 4.0)
|
31
|
-
multi_json (>= 1.7.5, < 2.0)
|
32
|
-
multi_test (>= 0.1.2)
|
33
|
-
cucumber-core (1.5.0)
|
34
|
-
gherkin (~> 4.0)
|
35
|
-
cucumber-wire (0.0.1)
|
36
|
-
diff-lcs (1.2.5)
|
37
|
-
ffi (1.9.14)
|
38
|
-
gherkin (4.0.0)
|
39
|
-
method_source (0.8.2)
|
40
|
-
multi_json (1.12.1)
|
41
|
-
multi_test (0.1.2)
|
42
|
-
pry (0.10.4)
|
43
|
-
coderay (~> 1.1.0)
|
44
|
-
method_source (~> 0.8.1)
|
45
|
-
slop (~> 3.4)
|
46
|
-
rspec (3.5.0)
|
47
|
-
rspec-core (~> 3.5.0)
|
48
|
-
rspec-expectations (~> 3.5.0)
|
49
|
-
rspec-mocks (~> 3.5.0)
|
50
|
-
rspec-core (3.5.4)
|
51
|
-
rspec-support (~> 3.5.0)
|
52
|
-
rspec-expectations (3.5.0)
|
53
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
54
|
-
rspec-support (~> 3.5.0)
|
55
|
-
rspec-mocks (3.5.0)
|
56
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
-
rspec-support (~> 3.5.0)
|
58
|
-
rspec-support (3.5.0)
|
59
|
-
slop (3.6.0)
|
60
10
|
thor (0.19.4)
|
61
11
|
|
62
12
|
PLATFORMS
|
63
13
|
ruby
|
64
14
|
|
65
15
|
DEPENDENCIES
|
66
|
-
aruba
|
67
16
|
automation_wizard!
|
68
17
|
|
69
18
|
BUNDLED WITH
|
data/automation_wizard.gemspec
CHANGED
@@ -19,9 +19,4 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
s.add_dependency 'thor', '~> 0.17', '>=0.17.0'
|
22
|
-
s.add_dependency 'cucumber', '~> 2.4', '>=2.4.0'
|
23
|
-
s.add_dependency 'rspec', '~> 3.5', '>=3.5.0'
|
24
|
-
s.add_dependency 'pry', '~> 0.10', '>=0.10.0'
|
25
|
-
|
26
|
-
s.add_development_dependency 'aruba'
|
27
22
|
end
|
data/email_instructions.md
CHANGED
@@ -6,4 +6,4 @@ testing using watir as the ruby library for automating tests. Watir interacts wi
|
|
6
6
|
Change directories into the newly created web_automation project folder. From there run `bundle install`
|
7
7
|
3. You'll need _chromedriver_ to help with the automation. If _chromedriver_ is not installed, use _Brew_ to install the driver. You can use `brew list` to list the installed packages on your computer.
|
8
8
|
If _chromedriver_ is not listed then install it with: `brew install chromedriver`
|
9
|
-
4. Follow the readme file in the
|
9
|
+
4. Follow the readme file in the generated project folder.
|
data/lib/automation_wizard.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
require
|
1
|
+
require 'automation_wizard/version'
|
2
2
|
require 'automation_wizard/cli'
|
@@ -1,20 +1,11 @@
|
|
1
|
-
<% if pageobject_driver.downcase == 'watir' -%>
|
2
|
-
require '
|
3
|
-
<% end %>
|
4
|
-
<% if pageobject_driver.downcase == 'selenium' -%>
|
5
|
-
require 'selenium-webdriver'
|
6
|
-
<% end %>
|
1
|
+
<% if pageobject_driver.downcase == 'watir' -%>require 'watir' <% end %>
|
2
|
+
<% if pageobject_driver.downcase == 'selenium' -%>require 'selenium-webdriver' <% end %>
|
7
3
|
|
8
4
|
Before do
|
9
|
-
<% if pageobject_driver.downcase == 'watir' -%>
|
10
|
-
|
11
|
-
<% end %>
|
12
|
-
<% if pageobject_driver.downcase == 'selenium' -%>
|
13
|
-
@browser = Selenium::WebDriver.for :chrome
|
14
|
-
<% end %>
|
5
|
+
<% if pageobject_driver.downcase == 'watir' -%> @browser = Watir::Browser.new :chrome <% end %>
|
6
|
+
<% if pageobject_driver.downcase == 'selenium' -%> @browser = Selenium::WebDriver.for :chrome <% end %>
|
15
7
|
end
|
16
8
|
|
17
|
-
|
18
9
|
After do
|
19
10
|
@browser.close
|
20
11
|
end
|
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: 0.1.
|
4
|
+
version: 0.1.3
|
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-01-
|
11
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -30,80 +30,6 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.17.0
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: cucumber
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.4'
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 2.4.0
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.4'
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 2.4.0
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: rspec
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.5'
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 3.5.0
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.5'
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 3.5.0
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: pry
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '0.10'
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.10.0
|
83
|
-
type: :runtime
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.10'
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 0.10.0
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: aruba
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0'
|
100
|
-
type: :development
|
101
|
-
prerelease: false
|
102
|
-
version_requirements: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - ">="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '0'
|
107
33
|
description: A collection of generators for project setup, applicant testing, and
|
108
34
|
onboarding.
|
109
35
|
email:
|