idevice 1.1.5.10 → 1.1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/idevice/version.rb +1 -1
- data/spec/afc_devicespec.rb +1 -1
- data/spec/diagnostics_relay_devicespec.rb +1 -5
- data/spec/file_relay_devicespec.rb +1 -1
- data/spec/heartbeat_devicespec.rb +1 -1
- data/spec/image_mounter_devicespec.rb +1 -1
- data/spec/installation_proxy_devicespec.rb +1 -1
- data/spec/lockdown_devicespec.rb +2 -2
- data/spec/misagent_devicespec.rb +1 -1
- data/spec/mobilebackup2_devicespec.rb +1 -1
- data/spec/mobilebackup_devicespec.rb +1 -1
- data/spec/mobilesync_devicespec.rb +1 -1
- data/spec/notification_proxy_devicespec.rb +1 -1
- data/spec/restore_devicespec.rb +1 -1
- data/spec/sbservices_devicespec.rb +1 -1
- data/spec/screenshotr_devicespec.rb +1 -1
- data/spec/spec_helper.rb +4 -0
- data/spec/webinspector_devicespec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDgzZWIwNTkzZjg0ZTc4OWNjYmUzZWFmOTBkNGFhNDI4Mzg3Njk0YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTIzMzdkNmJhMGI0YTc4MTE0MzkxOTcwYTFmZmQ5NzViYjkxOGZjZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDk0YTcyZmQxOTllYmIwMjNkODA2ODkyY2M4Y2NlNDUzMDg3YTZhY2I3ODYy
|
10
|
+
MmNlZTMyOTEyMzhkYjk5MWNhNDg3YTE3OGMxZWE2Nzc3NDRmZTExNTcwOWE5
|
11
|
+
YjkyYzdjNjg2MTQxMTcwOTI4OTNhZGQ5ODFlMjQwMTM1ZWQzNDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTJlNjQwZDQ1ZmM5NmQzNGZjNGQ3MWI2MDhiZDQwZGE2NTExYzFmMWJkYmE0
|
14
|
+
Yzc3Yjk1ZmY0ODQxNGU1YTg4ZTM2MjIwOThkMzYxM2I3NWEyY2JhZTQ4MGQy
|
15
|
+
MzlmYjE5ZTUyM2M0OWE0YjllY2E4YjRiMzk0NmNkNzcyYzgyODA=
|
data/lib/idevice/version.rb
CHANGED
data/spec/afc_devicespec.rb
CHANGED
@@ -21,12 +21,8 @@
|
|
21
21
|
require_relative 'spec_helper'
|
22
22
|
|
23
23
|
describe Idevice::DiagnosticsRelayClient do
|
24
|
-
before :all do
|
25
|
-
@idevice = shared_idevice
|
26
|
-
end
|
27
|
-
|
28
24
|
before :each do
|
29
|
-
@drc = Idevice::DiagnosticsRelayClient.attach(idevice
|
25
|
+
@drc = Idevice::DiagnosticsRelayClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
30
26
|
end
|
31
27
|
|
32
28
|
after :each do
|
@@ -22,7 +22,7 @@ require 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::FileRelayClient do
|
24
24
|
before :each do
|
25
|
-
@frc = Idevice::FileRelayClient.attach(idevice:shared_idevice)
|
25
|
+
@frc = Idevice::FileRelayClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::HeartbeatClient do
|
24
24
|
before :all do
|
25
|
-
@hb = Idevice::HeartbeatClient.attach(idevice:shared_idevice)
|
25
|
+
@hb = Idevice::HeartbeatClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::ImageMounterClient do
|
24
24
|
before :each do
|
25
|
-
@imgmounter = Idevice::ImageMounterClient.attach(idevice:shared_idevice)
|
25
|
+
@imgmounter = Idevice::ImageMounterClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
after :each do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::InstProxyClient do
|
24
24
|
before :each do
|
25
|
-
@instproxy = Idevice::InstProxyClient.attach(idevice:shared_idevice)
|
25
|
+
@instproxy = Idevice::InstProxyClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
data/spec/lockdown_devicespec.rb
CHANGED
@@ -35,11 +35,11 @@ describe Idevice::LockdownClient do
|
|
35
35
|
|
36
36
|
context "an attached client" do
|
37
37
|
before :each do
|
38
|
-
@lockdown = Idevice::LockdownClient.attach(idevice:
|
38
|
+
@lockdown = Idevice::LockdownClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
39
39
|
end
|
40
40
|
|
41
41
|
after :each do
|
42
|
-
@lockdown.goodbye
|
42
|
+
@lockdown.goodbye if @lockdown
|
43
43
|
end
|
44
44
|
|
45
45
|
it "should attach" do
|
data/spec/misagent_devicespec.rb
CHANGED
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::MisAgentClient do
|
24
24
|
before :each do
|
25
|
-
@mis = Idevice::MisAgentClient.attach(idevice:shared_idevice)
|
25
|
+
@mis = Idevice::MisAgentClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::MobileBackup2Client do
|
24
24
|
before :each do
|
25
|
-
@mb2 = Idevice::MobileBackup2Client.attach(idevice:shared_idevice)
|
25
|
+
@mb2 = Idevice::MobileBackup2Client.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
after :each do
|
@@ -24,7 +24,7 @@ if ENV["TEST_MOBILEBACKUP1"]
|
|
24
24
|
|
25
25
|
describe Idevice::MobileBackupClient do
|
26
26
|
before :each do
|
27
|
-
@mb = Idevice::MobileBackupClient.attach(idevice:shared_idevice)
|
27
|
+
@mb = Idevice::MobileBackupClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
28
28
|
end
|
29
29
|
|
30
30
|
after :each do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::MobileSyncClient do
|
24
24
|
before :each do
|
25
|
-
@sync = Idevice::MobileSyncClient.attach(idevice:shared_idevice)
|
25
|
+
@sync = Idevice::MobileSyncClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
after :each do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::NotificationProxyClient do
|
24
24
|
before :each do
|
25
|
-
@sync = Idevice::NPClient.attach(idevice:shared_idevice)
|
25
|
+
@sync = Idevice::NPClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
after :each do
|
data/spec/restore_devicespec.rb
CHANGED
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::RestoreClient do
|
24
24
|
before :each do
|
25
|
-
@rc = Idevice::RestoreClient.attach(idevice:shared_idevice)
|
25
|
+
@rc = Idevice::RestoreClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
before :each do
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::SBSClient do
|
24
24
|
before :each do
|
25
|
-
@sbs = Idevice::SBSClient.attach(idevice:shared_idevice)
|
25
|
+
@sbs = Idevice::SBSClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
@@ -23,7 +23,7 @@ require_relative 'spec_helper'
|
|
23
23
|
describe Idevice::ScreenShotrClient do
|
24
24
|
before :each do
|
25
25
|
pending "needs developer disk mounted" unless ENV["DEVTESTS"]
|
26
|
-
@ss = Idevice::ScreenShotrClient.attach(idevice:shared_idevice)
|
26
|
+
@ss = Idevice::ScreenShotrClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
27
27
|
end
|
28
28
|
|
29
29
|
it "should attach" do
|
data/spec/spec_helper.rb
CHANGED
@@ -52,6 +52,10 @@ RSpec.configure do |config|
|
|
52
52
|
$shared_idevice ||= Idevice::Idevice.attach
|
53
53
|
end
|
54
54
|
|
55
|
+
def shared_lockdown_client
|
56
|
+
$shared_ldcli ||= Idevice::LockdownClient.attach(idevice:shared_idevice())
|
57
|
+
end
|
58
|
+
|
55
59
|
def shell_pipe(data, cmd)
|
56
60
|
ret=nil
|
57
61
|
Open3.popen3(cmd) do |w,r,e|
|
@@ -22,7 +22,7 @@ require_relative 'spec_helper'
|
|
22
22
|
|
23
23
|
describe Idevice::WebInspectorClient do
|
24
24
|
before :each do
|
25
|
-
@wic = Idevice::WebInspectorClient.attach(idevice:shared_idevice)
|
25
|
+
@wic = Idevice::WebInspectorClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should attach" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idevice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Monti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|