calabash-android 0.2.0.pre8 → 0.2.0.pre9
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.
- data/CHANGES.txt +4 -1
- data/lib/calabash-android/operations.rb +3 -3
- data/lib/calabash-android/version.rb +2 -2
- metadata +3 -3
data/CHANGES.txt
CHANGED
|
@@ -182,9 +182,9 @@ module Operations
|
|
|
182
182
|
def http(path, data = {})
|
|
183
183
|
begin
|
|
184
184
|
http = Net::HTTP.new "127.0.0.1", @server_port
|
|
185
|
-
resp
|
|
186
|
-
|
|
187
|
-
rescue
|
|
185
|
+
resp = http.post(path, "command=#{data.to_json}", {})
|
|
186
|
+
resp.body
|
|
187
|
+
rescue
|
|
188
188
|
sleep 0.5
|
|
189
189
|
retry
|
|
190
190
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: calabash-android
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: -2975064380
|
|
5
5
|
prerelease: 6
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
9
|
- 0
|
|
10
10
|
- pre
|
|
11
|
-
-
|
|
12
|
-
version: 0.2.0.
|
|
11
|
+
- 9
|
|
12
|
+
version: 0.2.0.pre9
|
|
13
13
|
platform: ruby
|
|
14
14
|
authors:
|
|
15
15
|
- Jonas Maturana Larsen
|