watir_drops 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/watir_drops/page_object.rb +4 -2
- data/watir_drops.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36c020abc7c078237e3e6a209d142db544b5e4f2
|
|
4
|
+
data.tar.gz: 58da3f3f9d0570f2f7724bcc0f18804dc11cead4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e50f636c26827d0e1571d6b6353ab0b5552a3f2013c99c5a2400e036869008730a2134f380bf1a9c1ae5edcf7c09163b9770b96f46f488f11ea0b3921beb720f
|
|
7
|
+
data.tar.gz: 3bc3588c64388e2d8d3248a700398b3ea53fb3a650c350d6647a0a85a102dcc29f839c4f867e5bac72b02b911633f2dc2bf2828f1a02401fc782b4e06b3314f8
|
data/CHANGES.md
CHANGED
|
@@ -127,8 +127,10 @@ module WatirDrops
|
|
|
127
127
|
message = "Can not verify page without any requirements set"
|
|
128
128
|
raise exception, message unless page_verifiable?
|
|
129
129
|
|
|
130
|
-
if self.class.require_url
|
|
131
|
-
|
|
130
|
+
if self.class.require_url
|
|
131
|
+
expected = page_url.gsub("#{URI.parse(page_url).scheme}://", '').chomp('/')
|
|
132
|
+
actual = browser.url.gsub("#{URI.parse(browser.url).scheme}://", '').chomp('/')
|
|
133
|
+
return false unless expected == actual
|
|
132
134
|
end
|
|
133
135
|
|
|
134
136
|
if self.respond_to?(:page_title) && browser.title != page_title
|
data/watir_drops.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: watir_drops
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Titus Fortner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: watir
|
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
149
|
version: '0'
|
|
150
150
|
requirements: []
|
|
151
151
|
rubyforge_project:
|
|
152
|
-
rubygems_version: 2.6.
|
|
152
|
+
rubygems_version: 2.6.11
|
|
153
153
|
signing_key:
|
|
154
154
|
specification_version: 4
|
|
155
155
|
summary: Page Object Framework for use with Watir
|