gridium 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/page.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5afb000b28c6a5271c7adc72058da0149f08f0c6
|
4
|
+
data.tar.gz: bacae083805b6a0627a61c9fbf4a24d5ec6eb792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dcfab74f168f8953be2218760e86a9e63d028f3dc6503497f38746f1ebacb364ec7214042ca7e7ae1f4b0bc9d819efc925de3885e22a027d0468fc5b61a8695
|
7
|
+
data.tar.gz: 20f2b1fd5b94478555ab99e315bda70d2b8d7075dc488f7897c8a420b687a0670318990456eb1ce26e32449aee9bff164d92c55a2d636c2fd5c2f11e52f74cd8
|
data/lib/page.rb
CHANGED
@@ -96,7 +96,8 @@ module Gridium
|
|
96
96
|
end
|
97
97
|
|
98
98
|
def all(by, locator)
|
99
|
-
|
99
|
+
root = Element.new("root", :tag_name, "html")
|
100
|
+
root.find_elements(by, locator)
|
100
101
|
end
|
101
102
|
|
102
103
|
def find(by, locator)
|
@@ -104,7 +105,7 @@ module Gridium
|
|
104
105
|
end
|
105
106
|
|
106
107
|
def first(by, locator)
|
107
|
-
|
108
|
+
all(by, locator).first
|
108
109
|
end
|
109
110
|
|
110
111
|
def click_on(text)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gridium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Urban
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|