run_loop 1.2.1 → 1.2.2

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: 1acd994423eba90fe68a775efbbfdd8ea7ee4b00
4
- data.tar.gz: 740f3f0355de718ff91c4da34251cc1678344572
3
+ metadata.gz: 48987ab3216b9f32eca927721cdbfa4e81d5f4bd
4
+ data.tar.gz: 790af8c1087bf824cc75147fa1b636210b268674
5
5
  SHA512:
6
- metadata.gz: e828bde433861b5f6b247dee15f60e2a0c8674eae4644020597bc32ee7ce768c41b58e2d236ee469ac32930f72c11c10f2d81f4a627238d4c181c292177be5e0
7
- data.tar.gz: dd386d082b213174f74296dbacfb0756b82580d0bcd711f0500faf2e4d466063c2856f7260bcb3e3cdf0b605e8a43a7b28864ba6202d88bd9a3eefcd12e28d40
6
+ metadata.gz: 0a8aec93d2cb4922b59b116d4b7c478301ce8597e3ef359ccccc567f48052c616f81ea97b38bed46825e55b8589da516ead349f9c1b2fc44fcbe06d2fb18b629
7
+ data.tar.gz: 1997c6e2ac97f2c38be03468654c55dce4973d36e764bf211c7b8d3fd7d8813ca0452610b203e432779744d3c202d51fb0dc9f0324f8d77eca457b735063b15e
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '1.8'
33
+ version: 1.8.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: '1.8'
40
+ version: 1.8.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: retriable
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2.0
61
+ version: '1.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.2.0
68
+ version: '1.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: CFPropertyList
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -229,10 +229,8 @@ files:
229
229
  - lib/run_loop/xctools.rb
230
230
  - scripts/calabash.lldb.erb
231
231
  - scripts/calabash_script_uia.js
232
- - scripts/detect_externally_generated_alerts.js
233
232
  - scripts/json2-min.js
234
233
  - scripts/json2.js
235
- - scripts/logger.js
236
234
  - scripts/read-cmd.sh
237
235
  - scripts/run_dismiss_location.js
238
236
  - scripts/run_loop_basic.js
@@ -266,3 +264,4 @@ signing_key:
266
264
  specification_version: 4
267
265
  summary: Tools related to running Calabash iOS tests
268
266
  test_files: []
267
+ has_rdoc:
@@ -1,51 +0,0 @@
1
- #import "./logger.js";
2
-
3
- function findAlertViewText(alert) {
4
- if (!alert) {
5
- return false;
6
- }
7
- var txt = alert.name(),
8
- txts;
9
- if (txt == null) {
10
- txts = alert.staticTexts();
11
- if (txts != null && txts.length > 0) {
12
- txt = txts[0].name();
13
- }
14
- }
15
- return txt;
16
- }
17
-
18
- function isExternallyGeneratedAlert(alert) {
19
- var exps =
20
- [
21
- // Location Alerts
22
- ["OK", /vil bruge din aktuelle placering/],
23
- ["OK", /Would Like to Use Your Current Location/],
24
- ["Allow", /access your location/],
25
- ["Ja", /Darf (?:.)+ Ihren aktuellen Ort verwenden/],
26
- ["OK", /Location Accuracy/],
27
- ["OK", /запрашивает разрешение на использование Ващей текущей пгеопозиции/],
28
-
29
- // Notifications
30
- ["OK", /Would Like to Send You Notifications/],
31
-
32
- // Photos
33
- ["OK", /Would Like to Access Your Photos/],
34
-
35
- // Contacts
36
- ["OK", /Would Like to Access Your Contacts/]
37
- ],
38
- ans, exp,
39
- txt;
40
-
41
- txt = findAlertViewText(alert);
42
- Log.output({"output":"alert: "+txt}, true);
43
- for (var i = 0; i < exps.length; i++) {
44
- ans = exps[i][0];
45
- exp = exps[i][1];
46
- if (exp.test(txt)) {
47
- return ans;
48
- }
49
- }
50
- return false;
51
- }
data/scripts/logger.js DELETED
@@ -1,26 +0,0 @@
1
- var Log = (function () {
2
- var forceFlush = [],
3
- N = 16384,
4
- i = N;
5
- while (i--) {
6
- forceFlush[i] = "*";
7
- }
8
- forceFlush = forceFlush.join('');
9
-
10
- function log_json(object, flush)
11
- {
12
- UIALogger.logMessage("OUTPUT_JSON:\n"+JSON.stringify(object)+"\nEND_OUTPUT");
13
- if (flush) {
14
- UIALogger.logMessage(forceFlush);
15
- }
16
- }
17
-
18
- return {
19
- result: function (status, data, flush) {
20
- log_json({"status": status, "value": data, "index":_actualIndex}, flush)
21
- },
22
- output: function (msg, flush) {
23
- log_json({"output": msg,"last_index":_actualIndex}, flush);
24
- }
25
- };
26
- })();