pickles 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d6e22f2f6fd14229c296df173b4854762edef1
|
4
|
+
data.tar.gz: 51d569bc63640d7d5161c93d7015e6c26beeb32c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed654f8c2c9f98b0000a762c24211bdecd6edeb71eb3adeff68ba854095d674dc88231ca6c407ed59984d8ceb2cb0dd11fc92c74a931fc3866551d4bca54775
|
7
|
+
data.tar.gz: fc52d31e3d0a68c27ae9ac138a27a1421ddf7c90c63c43c438f836e8711630b12a21597f657b5e38b910e582a848516379b6e831c6af56a4b67284296ec2fd41
|
@@ -29,13 +29,13 @@ class Pickles::Config
|
|
29
29
|
def css_node_map=(map)
|
30
30
|
raise(ArgumentError, "Node map must be a hash") unless map.is_a?(Hash)
|
31
31
|
|
32
|
-
@css_node_map = map.
|
32
|
+
@css_node_map = map.stringify_keys
|
33
33
|
end
|
34
34
|
|
35
35
|
def xpath_node_map=(map)
|
36
36
|
raise(ArgumentError, "Node map must be a hash") unless map.is_a?(Hash)
|
37
37
|
|
38
|
-
@xpath_node_map = map.
|
38
|
+
@xpath_node_map = map.stringify_keys
|
39
39
|
end
|
40
40
|
|
41
41
|
def fill_tag_steps_map=(map)
|
@@ -41,7 +41,7 @@ module NodeFinders
|
|
41
41
|
el_alias, index = Locator::Index.execute(el_alias.to_s)
|
42
42
|
end
|
43
43
|
|
44
|
-
el_alias = el_alias.
|
44
|
+
el_alias = el_alias.to_s
|
45
45
|
|
46
46
|
if xpath = Pickles.config.xpath_node_map[el_alias]
|
47
47
|
xpath = xpath.respond_to?(:call) ? xpath.call(locator) : xpath
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pickles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|