watircats 0.2.4 → 0.2.5

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: c8db0dd7100f49a4111d751dae08c83246a11e89
4
- data.tar.gz: 6f38d5995b960361f2ab8d20120c03700b0d29a8
3
+ metadata.gz: 57a1dd43180a57930ddd825b6dce478a341391cc
4
+ data.tar.gz: 8969b5cb231b77cd4b72275243f1e5820837a99a
5
5
  SHA512:
6
- metadata.gz: 3d05e999a2c93621e415865156f48fa59f736e70e79d7a7046c27d0a7f321ccb977fd958397d6eb56950ebed3037cb6db3d78383f9105f64bd12a70d976e2985
7
- data.tar.gz: 72dd10d1e5912dc34c6f130db57f986c0874ab06e90652fce138d0deb91c8cb64457ca58995e365c28ee232696fd169aecd8bb621e01ad3ea7a2fa1740264d18
6
+ metadata.gz: 91fc9ceeaa942d55c0ccab959b5e0b994ec683bfafc5f0d1e36a29b1e53d7e238dcb15a5e3ae39e901e7146f20812915362fda1bfec870f7a112e162caa866d3
7
+ data.tar.gz: 74bed3c3368d36875c741daa7849eba75757843919097245dc9887fdf5456140b8003c4e39ead79f5a47941e6c0b08a4f8cd0860cbc22d00c454326d58586973
data/Gemfile CHANGED
@@ -12,3 +12,5 @@ gem "psych"
12
12
  gem "awesome_print"
13
13
  gem "minitest"
14
14
  gem "autotest"
15
+
16
+ gem "pry", group: :development
@@ -1,36 +1,48 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
+ ZenTest (4.11.0)
5
+ autotest (4.4.6)
6
+ ZenTest (>= 4.4.1)
4
7
  awesome_print (1.2.0)
5
- childprocess (0.3.9)
8
+ childprocess (0.5.5)
6
9
  ffi (~> 1.0, >= 1.0.11)
7
- ffi (1.9.0)
8
- haml (4.0.3)
10
+ coderay (1.1.0)
11
+ ffi (1.9.6)
12
+ haml (4.0.5)
9
13
  tilt
10
- minitest (5.0.6)
11
- multi_json (1.8.2)
12
- psych (2.0.0)
13
- require_all (1.3.1)
14
- rubyzip (0.9.9)
15
- selenium-webdriver (2.35.1)
16
- childprocess (>= 0.2.5)
14
+ method_source (0.8.2)
15
+ minitest (5.4.2)
16
+ multi_json (1.10.1)
17
+ pry (0.10.1)
18
+ coderay (~> 1.1.0)
19
+ method_source (~> 0.8.1)
20
+ slop (~> 3.4)
21
+ psych (2.0.6)
22
+ require_all (1.3.2)
23
+ rubyzip (1.1.6)
24
+ selenium-webdriver (2.43.0)
25
+ childprocess (~> 0.5)
17
26
  multi_json (~> 1.0)
18
- rubyzip (< 1.0.0)
19
- websocket (~> 1.0.4)
20
- thor (0.18.1)
21
- tilt (1.4.1)
22
- watir-webdriver (0.6.4)
27
+ rubyzip (~> 1.0)
28
+ websocket (~> 1.0)
29
+ slop (3.6.0)
30
+ thor (0.19.1)
31
+ tilt (2.0.1)
32
+ watir-webdriver (0.6.11)
23
33
  selenium-webdriver (>= 2.18.0)
24
- websocket (1.0.7)
25
- xml-simple (1.1.2)
34
+ websocket (1.2.1)
35
+ xml-simple (1.1.4)
26
36
 
27
37
  PLATFORMS
28
38
  ruby
29
39
 
30
40
  DEPENDENCIES
41
+ autotest
31
42
  awesome_print
32
43
  haml
33
44
  minitest
45
+ pry
34
46
  psych
35
47
  require_all
36
48
  thor
@@ -32,7 +32,8 @@ module WatirCats
32
32
  [:custom_body_class_tests] => :string,
33
33
  [:proxy, '-p'] => :string,
34
34
  [:limited_path] => :string,
35
- [:avoided_path] => :string
35
+ [:avoided_path] => :string,
36
+ [:ff_path] => :string
36
37
  }
37
38
 
38
39
  # Description for the next-to-be-defined 'compare' task
@@ -41,7 +41,7 @@ module WatirCats
41
41
  # Retrieve the paths from the sitemap
42
42
  @paths = site_map.the_paths
43
43
  @time_stamp = Time.now.to_i.to_s
44
-
44
+
45
45
  process_paths
46
46
  @browser.quit
47
47
  end
@@ -126,8 +126,9 @@ module WatirCats
126
126
  end
127
127
 
128
128
  # Skip if a redirect matches the avoided path
129
- next if @browser.url.match( /#{WatirCats.config.avoided_path}/ )
130
-
129
+ if WatirCats.config.avoided_path
130
+ next if @browser.url.match( /#{WatirCats.config.avoided_path}/ )
131
+ end
131
132
  # For each width, resize the browser, take a screenshot
132
133
  widths.each do |width|
133
134
  resize_browser width
@@ -1,3 +1,3 @@
1
1
  module WatirCats
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watircats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Leaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :runtime
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.18'
34
34
  type: :runtime
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.18'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: watir-webdriver
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.6'
48
48
  type: :runtime
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: '0.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: xml-simple
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.1'
62
62
  type: :runtime
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: '1.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '4.0'
76
76
  type: :runtime
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: '4.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: psych
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.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'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '5.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: '5.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: autotest
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '4.4'
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
124
  version: '4.4'
125
125
  description: Responive screenshot and comparison tool using Watir-WebDriver.
@@ -130,7 +130,7 @@ executables:
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
- - .autotest
133
+ - ".autotest"
134
134
  - Gemfile
135
135
  - Gemfile.lock
136
136
  - LICENSE
@@ -166,12 +166,12 @@ require_paths:
166
166
  - lib
167
167
  required_ruby_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - '>='
169
+ - - ">="
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - '>='
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []