run_loop 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/run_loop/device_agent/ios_device_manager.rb +2 -0
- data/lib/run_loop/http/retriable_client.rb +1 -1
- data/lib/run_loop/version.rb +1 -1
- data/lib/run_loop/xcuitest.rb +18 -13
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b316a06cf985b491968df24cc5429e6855c5e737
|
4
|
+
data.tar.gz: f6f68df19929b16d31b94513ab733d5ede50b756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5fc64bd3a6f4b489fd220c5c9b6c4038bcce9f0968ea79b387743c93457b9578dbf7aa30f0e4a82677c978f624267dce2cb4e15051cb678b6b83fb0b1156a02
|
7
|
+
data.tar.gz: 256321052a99af4d86ba23482eeed0092ed6d61b46b3abbe1b85d58b8558ff9fbe6bbd5d68616281fc8a861dcb3e1e0cdcef65937f964cb43d0aa22ca5736799
|
@@ -74,6 +74,8 @@ but binary does not exist at that path.
|
|
74
74
|
# Simulator cannot be running for this version.
|
75
75
|
CoreSimulator.quit_simulator
|
76
76
|
|
77
|
+
CoreSimulator.wait_for_simulator_state(device, "Shutdown")
|
78
|
+
|
77
79
|
# TODO: run-loop is responsible for detecting an outdated CBX-Runner
|
78
80
|
# application and installing a new one. However, iOSDeviceManager
|
79
81
|
# fails if simulator is already running.
|
@@ -113,7 +113,7 @@ module RunLoop
|
|
113
113
|
interval = options.fetch(:interval, @interval)
|
114
114
|
header = options.fetch(:header, HEADER)
|
115
115
|
|
116
|
-
RunLoop.log_debug("HTTP: #{@server.endpoint + request.route} #{options}")
|
116
|
+
RunLoop.log_debug("HTTP: #{request_method} #{@server.endpoint + request.route} #{options}")
|
117
117
|
|
118
118
|
start_time = Time.now
|
119
119
|
last_error = nil
|
data/lib/run_loop/version.rb
CHANGED
data/lib/run_loop/xcuitest.rb
CHANGED
@@ -425,18 +425,23 @@ Sending request to perform '#{gesture}' with:
|
|
425
425
|
|
426
426
|
# @!visibility private
|
427
427
|
def session_delete
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
428
|
+
# https://xamarin.atlassian.net/browse/TCFW-255
|
429
|
+
# httpclient is unable to send a valid DELETE
|
430
|
+
args = ["curl", "-X", "DELETE", %Q[#{url}#{versioned_route("session")}]]
|
431
|
+
run_shell_command(args)
|
432
|
+
|
433
|
+
# options = ping_options
|
434
|
+
# request = request("session")
|
435
|
+
# client = client(options)
|
436
|
+
# begin
|
437
|
+
# response = client.delete(request)
|
438
|
+
# body = expect_200_response(response)
|
439
|
+
# RunLoop.log_debug("CBX-Runner says, #{body}")
|
440
|
+
# body
|
441
|
+
# rescue => e
|
442
|
+
# RunLoop.log_debug("CBX-Runner session delete error: #{e}")
|
443
|
+
# nil
|
444
|
+
# end
|
440
445
|
end
|
441
446
|
|
442
447
|
# @!visibility private
|
@@ -541,7 +546,7 @@ Server replied with:
|
|
541
546
|
]
|
542
547
|
else
|
543
548
|
raise RunLoop::XCUITest::HTTPError,
|
544
|
-
|
549
|
+
%Q[Expected JSON response with no error, but found
|
545
550
|
|
546
551
|
#{body["error"]}
|
547
552
|
|
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: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -100,20 +100,6 @@ dependencies:
|
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '2.6'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: dnssd
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - '='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '2.0'
|
110
|
-
type: :runtime
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - '='
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '2.0'
|
117
103
|
- !ruby/object:Gem::Dependency
|
118
104
|
name: i18n
|
119
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,6 +120,20 @@ dependencies:
|
|
134
120
|
- - "<"
|
135
121
|
- !ruby/object:Gem::Version
|
136
122
|
version: '1.0'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: dnssd
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - '='
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '2.0'
|
130
|
+
type: :runtime
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - '='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '2.0'
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: rspec_junit_formatter
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|