xamarin-automators-calabash 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xamarin-automators-calabash.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937a48078b47858580c635a2e5d7a6012be28835
|
4
|
+
data.tar.gz: 9fb63072c0f6674d7092f844e8b7adb626c390cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eb4fe93deb96c386aa66d0b718f0c5286b800c34f794e5f7ec31d97acc2ee82064e1ce93f914a9dea22967fb87912dbda53587c664f9bb6533177df2e2836e5
|
7
|
+
data.tar.gz: 494860226dc2ebf14a9badba730c5cd21156c950ed088812f1996b22e22666efad444fd5d7f64d91152a9b54db94a2af7422dc5d07545be69a4ef98f4bfe9d2d
|
@@ -44,10 +44,8 @@ def print_tree_recurse(query, node, indent, show_class)
|
|
44
44
|
indent.times { print " " }
|
45
45
|
print "id: #{green(node["id"])} " unless node["id"].nil?
|
46
46
|
print "text: #{cyan(node["text"])} " unless node["text"].nil?
|
47
|
-
if show_class
|
47
|
+
if show_class or (node["id"].nil? and node["text"].nil?)
|
48
48
|
print "class: #{yellow(node["class"].split(/[$.]/).last)}"
|
49
|
-
else
|
50
|
-
print "--" if (node["id"].nil? and node["text"].nil?)
|
51
49
|
end
|
52
50
|
print "\n"
|
53
51
|
children = query("#{query} child *")
|