cello 0.0.34 → 0.0.35

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
  SHA1:
3
- metadata.gz: 7bf0d276e570695da53b079c27420f2fd1662bb1
4
- data.tar.gz: 7a586869a1cb6a4de2e9d0a6d9bff90215dd2f0d
3
+ metadata.gz: 0f275455f8d4d7400cd206050a8144aed5d2ca70
4
+ data.tar.gz: 6c14f617eb4b835d2f2aea361ccba2831a1cc050
5
5
  SHA512:
6
- metadata.gz: 37d861311c21e8a3ba9adaf683a9c4d779768dab25845573d7b34ba33146c6db06ecfbb4a4a35055ccae3d5bc999d3cc7d9389204fed0836a741955c1db034b5
7
- data.tar.gz: 3011d3dd3feadcfeecb8d647188aebe012d5fc88c8df0420444d9ee78a584c9ac278098994279821ef6fb73566189d5e92bae0ffb7bfaff58c7ed6891bd530ac
6
+ metadata.gz: b837a09102eb25034d181d5269f951f34f71c82befcd8678c3d57bbb532ff9b7cd3926e90e137cebc322fd5a75750bcf14f2c2c4589b860aef5e50c823ae196d
7
+ data.tar.gz: b226c4d6fd58fff9d0cb35af057764faf0693dbd74ea15b2df0747fe5ff585c9f3e79af8eb4b16fc84caf5700241c2f670eea8030e6c7e6e767a6364153d22fe
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  *.sw*
2
2
  boot.sh
3
- Gemfile.lock
4
3
  *.gem
5
4
  /coverage
6
5
  /testdir
@@ -1 +1 @@
1
- ruby-2.0.0-p247@cello
1
+ 2.0.0-p247
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
5
4
  - 2.1.0
data/Gemfile CHANGED
@@ -2,13 +2,14 @@ source "http://rubygems.org"
2
2
 
3
3
  gem 'pry'
4
4
  gem 'simplecov'
5
- gem 'watir-webdriver'
5
+ gem 'watir'
6
6
  gem 'cucumber'
7
7
  gem 'rake'
8
8
  gem 'headless'
9
9
  gem 'rspec'
10
- gem "nyan-cat-formatter"
11
- gem "sourcify", "~> 0.5.0"
10
+ gem 'rest-client'
11
+ gem 'nyan-cat-formatter'
12
+ gem 'sourcify', '~> 0.5.0'
12
13
  gem 'coveralls', require: false
13
14
 
14
15
  gemspec
@@ -0,0 +1,134 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cello (0.0.34)
5
+ cucumber (~> 2.0.0)
6
+ icecream (~> 0.0.14)
7
+ rspec (~> 3.3.0)
8
+ selenium-webdriver (~> 3.0.0)
9
+ sourcify (~> 0.5.0)
10
+ watir (~> 5.0.0)
11
+
12
+ GEM
13
+ remote: http://rubygems.org/
14
+ specs:
15
+ builder (3.2.2)
16
+ childprocess (0.5.9)
17
+ ffi (~> 1.0, >= 1.0.11)
18
+ coderay (1.1.1)
19
+ commonwatir (4.0.0)
20
+ coveralls (0.8.15)
21
+ json (>= 1.8, < 3)
22
+ simplecov (~> 0.12.0)
23
+ term-ansicolor (~> 1.3)
24
+ thor (~> 0.19.1)
25
+ tins (>= 1.6.0, < 2)
26
+ cucumber (2.0.2)
27
+ builder (>= 2.1.2)
28
+ cucumber-core (~> 1.2.0)
29
+ diff-lcs (>= 1.1.3)
30
+ gherkin (~> 2.12)
31
+ multi_json (>= 1.7.5, < 2.0)
32
+ multi_test (>= 0.1.2)
33
+ cucumber-core (1.2.0)
34
+ gherkin (~> 2.12.0)
35
+ diff-lcs (1.2.5)
36
+ docile (1.1.5)
37
+ domain_name (0.5.20160826)
38
+ unf (>= 0.0.5, < 1.0.0)
39
+ ffi (1.9.14)
40
+ file-tail (1.1.1)
41
+ tins (~> 1.0)
42
+ gherkin (2.12.2)
43
+ multi_json (~> 1.3)
44
+ headless (2.3.1)
45
+ http-cookie (1.0.3)
46
+ domain_name (~> 0.5)
47
+ icecream (0.0.16)
48
+ json (2.0.2)
49
+ method_source (0.8.2)
50
+ mime-types (3.1)
51
+ mime-types-data (~> 3.2015)
52
+ mime-types-data (3.2016.0521)
53
+ multi_json (1.12.1)
54
+ multi_test (0.1.2)
55
+ netrc (0.11.0)
56
+ nyan-cat-formatter (0.11)
57
+ rspec (>= 2.99, >= 2.14.2, < 4)
58
+ pry (0.10.4)
59
+ coderay (~> 1.1.0)
60
+ method_source (~> 0.8.1)
61
+ slop (~> 3.4)
62
+ rake (11.3.0)
63
+ rest-client (2.0.0)
64
+ http-cookie (>= 1.0.2, < 2.0)
65
+ mime-types (>= 1.16, < 4.0)
66
+ netrc (~> 0.8)
67
+ rspec (3.3.0)
68
+ rspec-core (~> 3.3.0)
69
+ rspec-expectations (~> 3.3.0)
70
+ rspec-mocks (~> 3.3.0)
71
+ rspec-core (3.3.2)
72
+ rspec-support (~> 3.3.0)
73
+ rspec-expectations (3.3.1)
74
+ diff-lcs (>= 1.2.0, < 2.0)
75
+ rspec-support (~> 3.3.0)
76
+ rspec-mocks (3.3.2)
77
+ diff-lcs (>= 1.2.0, < 2.0)
78
+ rspec-support (~> 3.3.0)
79
+ rspec-support (3.3.0)
80
+ ruby2ruby (2.3.1)
81
+ ruby_parser (~> 3.1)
82
+ sexp_processor (~> 4.0)
83
+ ruby_parser (3.8.3)
84
+ sexp_processor (~> 4.1)
85
+ rubyzip (1.2.0)
86
+ selenium-webdriver (3.0.0)
87
+ childprocess (~> 0.5)
88
+ rubyzip (~> 1.0)
89
+ websocket (~> 1.0)
90
+ sexp_processor (4.7.0)
91
+ simplecov (0.12.0)
92
+ docile (~> 1.1.0)
93
+ json (>= 1.8, < 3)
94
+ simplecov-html (~> 0.10.0)
95
+ simplecov-html (0.10.0)
96
+ slop (3.6.0)
97
+ sourcify (0.5.0)
98
+ file-tail (>= 1.0.5)
99
+ ruby2ruby (>= 1.2.5)
100
+ ruby_parser (>= 2.0.5)
101
+ sexp_processor (>= 3.0.5)
102
+ term-ansicolor (1.4.0)
103
+ tins (~> 1.0)
104
+ thor (0.19.1)
105
+ tins (1.12.0)
106
+ unf (0.1.4)
107
+ unf_ext
108
+ unf_ext (0.0.7.2)
109
+ watir (5.0.0)
110
+ commonwatir (~> 4)
111
+ watir-webdriver
112
+ watir-webdriver (0.9.3)
113
+ selenium-webdriver (>= 2.46.2)
114
+ websocket (1.2.3)
115
+
116
+ PLATFORMS
117
+ ruby
118
+
119
+ DEPENDENCIES
120
+ cello!
121
+ coveralls
122
+ cucumber
123
+ headless
124
+ nyan-cat-formatter
125
+ pry
126
+ rake
127
+ rest-client
128
+ rspec
129
+ simplecov
130
+ sourcify (~> 0.5.0)
131
+ watir
132
+
133
+ BUNDLED WITH
134
+ 1.11.2
data/README.md CHANGED
@@ -55,6 +55,8 @@ Developing
55
55
  ----------
56
56
  To develop `cello`, you are going to need [Bundler][1]
57
57
 
58
+ You need to have phantomjs installed to run the tests: http://phantomjs.org/
59
+
58
60
  $ git clone git@github.com:camiloribeiro/cello.git
59
61
  $ cd cello
60
62
  $ bundle install
@@ -29,7 +29,8 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_dependency 'cucumber', '~> 2.0.0'
31
31
  s.add_dependency 'rspec', '~> 3.3.0'
32
- s.add_dependency 'watir-webdriver', '~> 0.7.0'
32
+ s.add_dependency 'watir', '~> 5.0.0'
33
+ s.add_dependency 'selenium-webdriver', '~> 3.0.0'
33
34
  s.add_dependency 'sourcify', '~> 0.5.0'
34
35
  s.add_dependency 'icecream', '~> 0.0.14'
35
36
 
@@ -6,7 +6,7 @@ Feature: Radio
6
6
  Scenario: See whitch option of a radio collection is setted
7
7
  Given I am on a page that has a radio group with the follow opitions:
8
8
  | cucumber |
9
- | watir-webdriver |
9
+ | watir |
10
10
  | selenium-webdriver |
11
11
  | ruby |
12
12
  And the option "Ruby" is setted
@@ -15,7 +15,7 @@ Feature: Radio
15
15
  Scenario: See if a radio option is not setted
16
16
  Given I am on a page that has a radio group with the follow opitions:
17
17
  | cucumber |
18
- | watir-webdriver |
18
+ | watir |
19
19
  | selenium-webdriver |
20
20
  | ruby |
21
21
  And the option "Ruby" is setted
@@ -24,7 +24,7 @@ Feature: Radio
24
24
  Scenario: See if a radio option is not setted (Counter Proof)
25
25
  Given I am on a page that has a radio group with the follow opitions:
26
26
  | cucumber |
27
- | watir-webdriver |
27
+ | watir |
28
28
  | selenium-webdriver |
29
29
  | ruby |
30
30
  And the option "Cucumber" is setted
@@ -33,7 +33,7 @@ Feature: Radio
33
33
  Scenario: See if a radio option is setted
34
34
  Given I am on a page that has a radio group with the follow opitions:
35
35
  | cucumber |
36
- | watir-webdriver |
36
+ | watir |
37
37
  | selenium-webdriver |
38
38
  | ruby |
39
39
  And the option "Ruby" is setted
@@ -42,7 +42,7 @@ Feature: Radio
42
42
  Scenario: See if a radio option is setted (counter proof)
43
43
  Given I am on a page that has a radio group with the follow opitions:
44
44
  | cucumber |
45
- | watir-webdriver |
45
+ | watir |
46
46
  | selenium-webdriver |
47
47
  | ruby |
48
48
  Then I should fail when ask if the option "Ruby" is setted
@@ -50,7 +50,7 @@ Feature: Radio
50
50
  Scenario: See if the radio collection has some option setted
51
51
  Given I am on a page that has a radio group with the follow opitions:
52
52
  | cucumber |
53
- | watir-webdriver |
53
+ | watir |
54
54
  | selenium-webdriver |
55
55
  | ruby |
56
56
  And the option "Ruby" is setted
@@ -59,7 +59,7 @@ Feature: Radio
59
59
  Scenario: See if the radio collection has some option setted
60
60
  Given I am on a page that has a radio group with the follow opitions:
61
61
  | cucumber |
62
- | watir-webdriver |
62
+ | watir |
63
63
  | selenium-webdriver |
64
64
  | ruby |
65
65
  Then I should fail when ask if there is some options setted
@@ -67,7 +67,7 @@ Feature: Radio
67
67
  Scenario: Select an radio option
68
68
  Given I am on a page that has a radio group with the follow opitions:
69
69
  | cucumber |
70
- | watir-webdriver |
70
+ | watir |
71
71
  | selenium-webdriver |
72
72
  | ruby |
73
73
  And the option "Ruby" is setted
@@ -77,7 +77,7 @@ Feature: Radio
77
77
  Scenario: Select an radio option
78
78
  Given I am on a page that has a radio group with the follow opitions:
79
79
  | cucumber |
80
- | watir-webdriver |
80
+ | watir |
81
81
  | selenium-webdriver |
82
82
  | ruby |
83
83
  And the option "Ruby" is setted
@@ -2,8 +2,7 @@ require File.join(File.dirname(__FILE__), './cello/version')
2
2
  require 'bundler/setup'
3
3
 
4
4
  #common dependencies
5
- require 'selenium-webdriver'
6
- require 'watir-webdriver'
5
+ require 'watir'
7
6
  require 'cucumber'
8
7
 
9
8
  #Modules
@@ -1,5 +1,5 @@
1
1
  require "rubygems"
2
- require "watir-webdriver"
2
+ require "watir"
3
3
 
4
4
  module Cello
5
5
  module PageObjects
@@ -1,5 +1,5 @@
1
1
  require "rubygems"
2
- require "watir-webdriver"
2
+ require "watir"
3
3
 
4
4
  module Cello
5
5
  module PageObjects
@@ -1,3 +1,3 @@
1
1
  module Cello
2
- VERSION = "0.0.34"
2
+ VERSION = "0.0.35"
3
3
  end
metadata CHANGED
@@ -1,153 +1,167 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-09 00:00:00.000000000 Z
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 10.4.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 10.4.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: headless
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nyan-cat-formatter
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: cucumber
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 2.0.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 2.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 3.3.0
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
110
  version: 3.3.0
111
111
  - !ruby/object:Gem::Dependency
112
- name: watir-webdriver
112
+ name: watir
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.7.0
117
+ version: 5.0.0
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: 0.7.0
124
+ version: 5.0.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: selenium-webdriver
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 3.0.0
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 3.0.0
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: sourcify
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - ~>
143
+ - - "~>"
130
144
  - !ruby/object:Gem::Version
131
145
  version: 0.5.0
132
146
  type: :runtime
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - ~>
150
+ - - "~>"
137
151
  - !ruby/object:Gem::Version
138
152
  version: 0.5.0
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: icecream
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - ~>
157
+ - - "~>"
144
158
  - !ruby/object:Gem::Version
145
159
  version: 0.0.14
146
160
  type: :runtime
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - ~>
164
+ - - "~>"
151
165
  - !ruby/object:Gem::Version
152
166
  version: 0.0.14
153
167
  description: Cello is a framework that allows automate acceptance tests using page-object
@@ -158,11 +172,12 @@ executables:
158
172
  extensions: []
159
173
  extra_rdoc_files: []
160
174
  files:
161
- - .gitignore
162
- - .rspec
163
- - .ruby-version
164
- - .travis.yml
175
+ - ".gitignore"
176
+ - ".rspec"
177
+ - ".ruby-version"
178
+ - ".travis.yml"
165
179
  - Gemfile
180
+ - Gemfile.lock
166
181
  - LICENCE
167
182
  - README.md
168
183
  - Rakefile
@@ -258,17 +273,17 @@ require_paths:
258
273
  - lib
259
274
  required_ruby_version: !ruby/object:Gem::Requirement
260
275
  requirements:
261
- - - '>='
276
+ - - ">="
262
277
  - !ruby/object:Gem::Version
263
278
  version: '0'
264
279
  required_rubygems_version: !ruby/object:Gem::Requirement
265
280
  requirements:
266
- - - '>='
281
+ - - ">="
267
282
  - !ruby/object:Gem::Version
268
283
  version: '0'
269
284
  requirements: []
270
285
  rubyforge_project: cello
271
- rubygems_version: 2.4.4
286
+ rubygems_version: 2.4.6
272
287
  signing_key:
273
288
  specification_version: 4
274
289
  summary: Fast and simple Page-Object with BDD