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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b06a91e9f854a99c1d2f7def4bfe61b5fd48cff4
4
- data.tar.gz: 11ac7d37968d14fece7f1fe0576007f994999bbd
3
+ metadata.gz: 937a48078b47858580c635a2e5d7a6012be28835
4
+ data.tar.gz: 9fb63072c0f6674d7092f844e8b7adb626c390cc
5
5
  SHA512:
6
- metadata.gz: 56bc0d4ad465eb465c4b4157becb6334a76eefa7b6345a2a7d7b3f5c04fac50e368ead7dc9e9792119edd241018574d948375d2e35ead942bf3b71c8ea07a9b6
7
- data.tar.gz: 3e1046a8104056a0de29684480c2871deedee21c75e8c06743bd1e4e00b705121e99d819613b521581d3306e0136bbcb12608062cd726f7f85ce9f6e38843fc4
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 *")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xamarin-automators-calabash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Roos