run_loop 0.0.3 → 0.0.4

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.
@@ -1,3 +1,3 @@
1
1
  module RunLoop
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/scripts/run_loop.js CHANGED
@@ -59,8 +59,8 @@ var Log = (function () {
59
59
  };
60
60
  })();
61
61
 
62
- var target = null,
63
- host = null;
62
+ var target = UIATarget.localTarget(),
63
+ host = target.host();
64
64
 
65
65
  var expectedIndex = 0,//expected index of next command
66
66
  actualIndex,//actual index of next command by reading commandPath
@@ -72,8 +72,6 @@ var expectedIndex = 0,//expected index of next command
72
72
 
73
73
  while (true)
74
74
  {
75
- target = UIATarget.localTarget();
76
- host = target.host();
77
75
  target.delay(0.2);
78
76
  try
79
77
  {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
12
+ date: 2012-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -84,4 +84,3 @@ signing_key:
84
84
  specification_version: 3
85
85
  summary: Tools related to running Calabash iOS tests
86
86
  test_files: []
87
- has_rdoc: