xamarin-automators-calabash 0.1.6 → 0.1.8

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: c77e00f95f9e3e4400957387dab965cdea0260d8
4
- data.tar.gz: 981669929456226e1eb2dccb0ec8464606471b58
3
+ metadata.gz: 54e2ffb7b231ec6f3e8e4e444cdfcc36deb7efc7
4
+ data.tar.gz: e02f95c90e1a7df1dc1753bdae1e0446d746af48
5
5
  SHA512:
6
- metadata.gz: a5b695e4cba04c7c69c65b357a2e819fde7e6498b9f4069b317f6a15557b015f8deb198a74b300897eaeee9402b17352c8df39125569474e8b7a2787b32bb1ea
7
- data.tar.gz: 1770ea36df57d1aab884cdbfa657f43f490611053c53f599af4d55907482477728171d30cf63685abeeb486bb1e54058e3fb505cd711fad942d07c7bc706ef91
6
+ metadata.gz: c0a803ef3cbf6cd3203ec92108470071a07db5c1e399451c07c13b18402c5b2610657bf0d12d0f8b6101f5e881127428c37550fd13e39271bd49413e10626842
7
+ data.tar.gz: 6df04630411d81d65de475182a4f2e3d308b84243fa4da7132e416144fcbc98614711cc89f240dd4e2c2069d718a289496d8dce93214027230b8496d8211db89
@@ -24,7 +24,14 @@ def get_roots
24
24
  return roots
25
25
  end
26
26
 
27
- def print_tree(show_class=false, show_index=false)
27
+ def print_tree(options={})
28
+ default_options = {
29
+ :show_class => false,
30
+ :show_index => false
31
+ }
32
+ options = default_options.merge(options)
33
+ show_class = options[:show_class]
34
+ show_index = options[:show_index]
28
35
  puts "Finding roots..."
29
36
  @roots = get_roots
30
37
  @count = 1
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.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Roos