lazyman 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -0
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lazyman.gemspec +112 -0
- metadata +62 -17
data/Gemfile
CHANGED
@@ -5,6 +5,11 @@ source "http://ruby.taobao.org"
|
|
5
5
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
|
+
gem "rspec"
|
9
|
+
gem "page-object"
|
10
|
+
gem "watir-webdriver"
|
11
|
+
gem "active_support"
|
12
|
+
|
8
13
|
group :development do
|
9
14
|
gem "rdoc", "~> 3.12"
|
10
15
|
gem "bundler", "~> 1.0.0"
|
data/Rakefile
CHANGED
@@ -20,6 +20,7 @@ Jeweler::Tasks.new do |gem|
|
|
20
20
|
gem.summary = %Q{A simple web automation test framework}
|
21
21
|
gem.description = %Q{A test framework using watir-webdriver rspec and page-object}
|
22
22
|
gem.email = "nbkhic@qq.com"
|
23
|
+
gem.homepage = 'https://github.com/easonhan007/lazyman'
|
23
24
|
gem.authors = ["easonhan"]
|
24
25
|
# dependencies defined in Gemfile
|
25
26
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lazyman.gemspec
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "lazyman"
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["easonhan"]
|
12
|
+
s.date = "2013-04-06"
|
13
|
+
s.description = "A test framework using watir-webdriver rspec and page-object"
|
14
|
+
s.email = "nbkhic@qq.com"
|
15
|
+
s.executables = ["lazyman"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/lazyman",
|
29
|
+
"lazyman.gemspec",
|
30
|
+
"lib/lazyman.rb",
|
31
|
+
"lib/lazyman/cli.rb",
|
32
|
+
"lib/lazyman/errors.rb",
|
33
|
+
"lib/lazyman/generators/lazyman/.rspec",
|
34
|
+
"lib/lazyman/generators/lazyman/app/cases/examples/baidu_example_spec.rb",
|
35
|
+
"lib/lazyman/generators/lazyman/app/cases/shared/.empty_directory",
|
36
|
+
"lib/lazyman/generators/lazyman/app/cases/spec_helper.rb.tt",
|
37
|
+
"lib/lazyman/generators/lazyman/app/matchers/.empty_directory",
|
38
|
+
"lib/lazyman/generators/lazyman/app/pages/%app_name%_navigator.rb.tt",
|
39
|
+
"lib/lazyman/generators/lazyman/app/pages/%app_name%_page.rb.tt",
|
40
|
+
"lib/lazyman/generators/lazyman/app/pages/baidu/baidu_page.rb.tt",
|
41
|
+
"lib/lazyman/generators/lazyman/app/pages/baidu/search_result_page.rb.tt",
|
42
|
+
"lib/lazyman/generators/lazyman/app/pages/components/.empty_directory",
|
43
|
+
"lib/lazyman/generators/lazyman/app/reports/.empty_directory",
|
44
|
+
"lib/lazyman/generators/lazyman/config/config.yml",
|
45
|
+
"lib/lazyman/lazy_config.rb",
|
46
|
+
"lib/lazyman/lazy_initializer.rb",
|
47
|
+
"lib/lazyman/lazy_navigator.rb",
|
48
|
+
"lib/lazyman/lazy_page.rb",
|
49
|
+
"spec/app/pages/components/footer.rb",
|
50
|
+
"spec/app/pages/components/sub/sub_footer.rb",
|
51
|
+
"spec/app/pages/module1/module1_page.rb",
|
52
|
+
"spec/app/pages/module1/sub_test_page.rb",
|
53
|
+
"spec/app/pages/test_navigator.rb",
|
54
|
+
"spec/app/pages/test_page.rb",
|
55
|
+
"spec/config/config.yml",
|
56
|
+
"spec/config/wrong_config.yml",
|
57
|
+
"spec/lazy_config_spec.rb",
|
58
|
+
"spec/lazy_initializer_spec.rb",
|
59
|
+
"spec/lazy_navigator_spec.rb",
|
60
|
+
"spec/pages/components/footer.rb",
|
61
|
+
"spec/pages/test_page.rb",
|
62
|
+
"spec/spec_helper.rb"
|
63
|
+
]
|
64
|
+
s.homepage = "https://github.com/easonhan007/lazyman"
|
65
|
+
s.licenses = ["MIT"]
|
66
|
+
s.require_paths = ["lib"]
|
67
|
+
s.rubygems_version = "1.8.16"
|
68
|
+
s.summary = "A simple web automation test framework"
|
69
|
+
|
70
|
+
if s.respond_to? :specification_version then
|
71
|
+
s.specification_version = 3
|
72
|
+
|
73
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
74
|
+
s.add_runtime_dependency(%q<rspec>, [">= 0"])
|
75
|
+
s.add_runtime_dependency(%q<page-object>, [">= 0"])
|
76
|
+
s.add_runtime_dependency(%q<watir-webdriver>, [">= 0"])
|
77
|
+
s.add_runtime_dependency(%q<active_support>, [">= 0"])
|
78
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
79
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
80
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
81
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
82
|
+
s.add_development_dependency(%q<page-object>, [">= 0"])
|
83
|
+
s.add_development_dependency(%q<watir-webdriver>, [">= 0"])
|
84
|
+
s.add_development_dependency(%q<active_support>, [">= 0"])
|
85
|
+
else
|
86
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
87
|
+
s.add_dependency(%q<page-object>, [">= 0"])
|
88
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
89
|
+
s.add_dependency(%q<active_support>, [">= 0"])
|
90
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
91
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
92
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
93
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
94
|
+
s.add_dependency(%q<page-object>, [">= 0"])
|
95
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
96
|
+
s.add_dependency(%q<active_support>, [">= 0"])
|
97
|
+
end
|
98
|
+
else
|
99
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
100
|
+
s.add_dependency(%q<page-object>, [">= 0"])
|
101
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
102
|
+
s.add_dependency(%q<active_support>, [">= 0"])
|
103
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
104
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
105
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
106
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
107
|
+
s.add_dependency(%q<page-object>, [">= 0"])
|
108
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0"])
|
109
|
+
s.add_dependency(%q<active_support>, [">= 0"])
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazyman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,9 +11,53 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-04-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &23455464 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *23455464
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: page-object
|
27
|
+
requirement: &23455176 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *23455176
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: watir-webdriver
|
38
|
+
requirement: &23454888 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *23454888
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: active_support
|
49
|
+
requirement: &23454600 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *23454600
|
14
58
|
- !ruby/object:Gem::Dependency
|
15
59
|
name: rdoc
|
16
|
-
requirement: &
|
60
|
+
requirement: &23454312 !ruby/object:Gem::Requirement
|
17
61
|
none: false
|
18
62
|
requirements:
|
19
63
|
- - ~>
|
@@ -21,10 +65,10 @@ dependencies:
|
|
21
65
|
version: '3.12'
|
22
66
|
type: :development
|
23
67
|
prerelease: false
|
24
|
-
version_requirements: *
|
68
|
+
version_requirements: *23454312
|
25
69
|
- !ruby/object:Gem::Dependency
|
26
70
|
name: bundler
|
27
|
-
requirement: &
|
71
|
+
requirement: &23454024 !ruby/object:Gem::Requirement
|
28
72
|
none: false
|
29
73
|
requirements:
|
30
74
|
- - ~>
|
@@ -32,10 +76,10 @@ dependencies:
|
|
32
76
|
version: 1.0.0
|
33
77
|
type: :development
|
34
78
|
prerelease: false
|
35
|
-
version_requirements: *
|
79
|
+
version_requirements: *23454024
|
36
80
|
- !ruby/object:Gem::Dependency
|
37
81
|
name: jeweler
|
38
|
-
requirement: &
|
82
|
+
requirement: &23453724 !ruby/object:Gem::Requirement
|
39
83
|
none: false
|
40
84
|
requirements:
|
41
85
|
- - ~>
|
@@ -43,10 +87,10 @@ dependencies:
|
|
43
87
|
version: 1.8.4
|
44
88
|
type: :development
|
45
89
|
prerelease: false
|
46
|
-
version_requirements: *
|
90
|
+
version_requirements: *23453724
|
47
91
|
- !ruby/object:Gem::Dependency
|
48
92
|
name: rspec
|
49
|
-
requirement: &
|
93
|
+
requirement: &23453424 !ruby/object:Gem::Requirement
|
50
94
|
none: false
|
51
95
|
requirements:
|
52
96
|
- - ! '>='
|
@@ -54,10 +98,10 @@ dependencies:
|
|
54
98
|
version: '0'
|
55
99
|
type: :development
|
56
100
|
prerelease: false
|
57
|
-
version_requirements: *
|
101
|
+
version_requirements: *23453424
|
58
102
|
- !ruby/object:Gem::Dependency
|
59
103
|
name: page-object
|
60
|
-
requirement: &
|
104
|
+
requirement: &23453100 !ruby/object:Gem::Requirement
|
61
105
|
none: false
|
62
106
|
requirements:
|
63
107
|
- - ! '>='
|
@@ -65,10 +109,10 @@ dependencies:
|
|
65
109
|
version: '0'
|
66
110
|
type: :development
|
67
111
|
prerelease: false
|
68
|
-
version_requirements: *
|
112
|
+
version_requirements: *23453100
|
69
113
|
- !ruby/object:Gem::Dependency
|
70
114
|
name: watir-webdriver
|
71
|
-
requirement: &
|
115
|
+
requirement: &23452812 !ruby/object:Gem::Requirement
|
72
116
|
none: false
|
73
117
|
requirements:
|
74
118
|
- - ! '>='
|
@@ -76,10 +120,10 @@ dependencies:
|
|
76
120
|
version: '0'
|
77
121
|
type: :development
|
78
122
|
prerelease: false
|
79
|
-
version_requirements: *
|
123
|
+
version_requirements: *23452812
|
80
124
|
- !ruby/object:Gem::Dependency
|
81
125
|
name: active_support
|
82
|
-
requirement: &
|
126
|
+
requirement: &23452512 !ruby/object:Gem::Requirement
|
83
127
|
none: false
|
84
128
|
requirements:
|
85
129
|
- - ! '>='
|
@@ -87,7 +131,7 @@ dependencies:
|
|
87
131
|
version: '0'
|
88
132
|
type: :development
|
89
133
|
prerelease: false
|
90
|
-
version_requirements: *
|
134
|
+
version_requirements: *23452512
|
91
135
|
description: A test framework using watir-webdriver rspec and page-object
|
92
136
|
email: nbkhic@qq.com
|
93
137
|
executables:
|
@@ -105,6 +149,7 @@ files:
|
|
105
149
|
- Rakefile
|
106
150
|
- VERSION
|
107
151
|
- bin/lazyman
|
152
|
+
- lazyman.gemspec
|
108
153
|
- lib/lazyman.rb
|
109
154
|
- lib/lazyman/cli.rb
|
110
155
|
- lib/lazyman/errors.rb
|
@@ -138,7 +183,7 @@ files:
|
|
138
183
|
- spec/pages/components/footer.rb
|
139
184
|
- spec/pages/test_page.rb
|
140
185
|
- spec/spec_helper.rb
|
141
|
-
homepage:
|
186
|
+
homepage: https://github.com/easonhan007/lazyman
|
142
187
|
licenses:
|
143
188
|
- MIT
|
144
189
|
post_install_message:
|
@@ -153,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
198
|
version: '0'
|
154
199
|
segments:
|
155
200
|
- 0
|
156
|
-
hash:
|
201
|
+
hash: 154184751
|
157
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
203
|
none: false
|
159
204
|
requirements:
|