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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWY4ZjM3NWE1ZmU3ZTE3OGUwMWMyYzQ1NTgyMTg2ZDUyOTUzOGU5YQ==
4
+ ZDgzZWIwNTkzZjg0ZTc4OWNjYmUzZWFmOTBkNGFhNDI4Mzg3Njk0YQ==
5
5
  data.tar.gz: !binary |-
6
- MzJlNzY3OWM0NTFjMzMxNzExZDFlMTc4NmEwNTEyODliNjBlNjM3Mw==
6
+ YTIzMzdkNmJhMGI0YTc4MTE0MzkxOTcwYTFmZmQ5NzViYjkxOGZjZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDU5M2RmZThmZDlmNjQ2NjIwNmZmZGUwMjU3YzNkODFmMGU5MGEwYTkwMjQ3
10
- MTY3NGE1YzIwNDllMTdmNmFkYmZjZmYxYTgzMzA4NjdmNDExMGZkZDI5MGQw
11
- ZjRmMjYzYzA1ZGQ1NTQyODA1NjkzYWQzODY1YTNiY2QzZGE1ODU=
9
+ MDk0YTcyZmQxOTllYmIwMjNkODA2ODkyY2M4Y2NlNDUzMDg3YTZhY2I3ODYy
10
+ MmNlZTMyOTEyMzhkYjk5MWNhNDg3YTE3OGMxZWE2Nzc3NDRmZTExNTcwOWE5
11
+ YjkyYzdjNjg2MTQxMTcwOTI4OTNhZGQ5ODFlMjQwMTM1ZWQzNDQ=
12
12
  data.tar.gz: !binary |-
13
- YzQwY2Q3MzdmYmJmNGY1MDBkNjc2ODExNzlkZDEyNjM3ZDQxMjY2YmVmOTg5
14
- NTg1OGU0YjM2YmU1YzU4YWMyMGMxYzViOTE2NmYwOTRlMjgwNjU1MDhlYTJm
15
- M2FjODk5MTRlZjIyY2E5OTcyNWQ1MTI4N2U3NWUyMTNkZmE0ZDA=
13
+ NTJlNjQwZDQ1ZmM5NmQzNGZjNGQ3MWI2MDhiZDQwZGE2NTExYzFmMWJkYmE0
14
+ Yzc3Yjk1ZmY0ODQxNGU1YTg4ZTM2MjIwOThkMzYxM2I3NWEyY2JhZTQ4MGQy
15
+ MzlmYjE5ZTUyM2M0OWE0YjllY2E4YjRiMzk0NmNkNzcyYzgyODA=
@@ -1,3 +1,3 @@
1
1
  module Idevice
2
- VERSION = "1.1.5.10"
2
+ VERSION = "1.1.6.0"
3
3
  end
@@ -27,7 +27,7 @@ describe Idevice::AFCClient do
27
27
  end
28
28
 
29
29
  before :each do
30
- @afc = Idevice::AFCClient.attach(idevice:shared_idevice)
30
+ @afc = Idevice::AFCClient.attach(idevice:shared_idevice, lockdown_client:shared_lockdown_client)
31
31
  end
32
32
 
33
33
  it "should attach" do
@@ -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:@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
@@ -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: shared_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
@@ -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
@@ -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.5.10
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-02-13 00:00:00.000000000 Z
11
+ date: 2014-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi