xamarin-automators-calabash 0.0.6 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91e25fb186438959df2413bdf201070392d2df9e
4
- data.tar.gz: dfb9b7f0912bc89562558f6a295ab7c623b3d481
3
+ metadata.gz: d9467f728b97e0f6195c9ba54ba2c67005d8ccbf
4
+ data.tar.gz: e6cbb01f4fe393e7b7e0f24e4ed94ed316b814d4
5
5
  SHA512:
6
- metadata.gz: 21a0eccaae9284934d8cae456fc8a640b14ad0075f82b074fa35ab5c3708dc83290257a30a493ec6d8d6a50bb3d01a1109d31ef514886bb65d6e650eb881dcf9
7
- data.tar.gz: 965da4d99c5d9053274681e6636b24aa468ed730d83ba1e0fe1b8f8a079a966693927a8a92bddaa227fd22eb2a1454a06d4c10ffb4270a445985c9041129bd11
6
+ metadata.gz: be0d7d261466393851b267b60e36eefbba01e86e501abacf7f1e2d2a13c5b041e28b6b8f58157613335dc7a8d5ca7768cdce2401f861c00fb32e6f35ca450142
7
+ data.tar.gz: 94693699453690cf4c4c07fc74de8f9c392ce9b175065e553f7371672dd087d10299027f2c3d6d1d6044bb6b8ea05b04aa75d78672876b284331eebd70bd9ff7
@@ -1,3 +1,5 @@
1
+ require 'awesome_print'
2
+
1
3
  def print_tree(options={})
2
4
  print_tree_recurse("child * parent * index:0", (query "* index:0").first, 0)
3
5
  end
@@ -22,6 +24,18 @@ def colorize(text, color_code)
22
24
  "\e[#{color_code}m#{text}\e[0m"
23
25
  end
24
26
 
27
+ def yellow(text)
28
+ colorize(text, 33)
29
+ end
30
+
31
+ def blue(text)
32
+ colorize(text, 34)
33
+ end
34
+
35
+ def magenta(text)
36
+ colorize(text, 35)
37
+ end
38
+
25
39
  def cyan(text)
26
40
  colorize(text, 36)
27
41
  end
@@ -32,4 +46,12 @@ end
32
46
 
33
47
  def red(text)
34
48
  colorize(text, 31)
49
+ end
50
+
51
+ def diff(query, action)
52
+ items1 = query[]
53
+ action[]
54
+ items2 = query[]
55
+ added = items2 - items1
56
+ removed = items1 - items2
35
57
  end
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.0.6
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Roos