idb 2.5.2 → 2.5.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16a8ab94ca898727cde9f73f5418a64ed7d0934e
4
- data.tar.gz: a7e75920f031af1e2680a80d97b6952681b90afc
3
+ metadata.gz: 7952b764838e1a08e598d4c7854add2d2443bfdb
4
+ data.tar.gz: 9619eb87157d088c5606272a36264c2d54d94e48
5
5
  SHA512:
6
- metadata.gz: 1e03c6710e0fd30c56d2b7ac63b87072dbb3b80d441a81216544e5f86d26ed6c9501bb3761b15cd6938aca0cae7a118f4410b195f8f70ac86caf9c6002c1f2cf
7
- data.tar.gz: 5db92198e2b3c82ea8125a20c3b25f8ddb667106bfbc64f6e72108e65c0e3b772e486fc4639284ef2e634de480d93be66ca8643e432c24206badb6023134bf0f
6
+ metadata.gz: 813563e42418b6109619a903dd9d65b7ae9202adf9e617305e074f63b533487e71a4c446b6a16421be093c3850acadcefb6d2f61953d6f145ddebd8e00e026e8
7
+ data.tar.gz: 2d73d067a552749267ab942402fab250b7da6ced08cfc0a0cdf1b7da4f9e5a919f745a4180d2ba0c352f59f1ab27ca61f91041ca9927b99e4a5eb3bc3501df9f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- idb (2.5.2)
4
+ idb (2.5.3)
5
5
  awesome_print
6
6
  coderay
7
7
  ffi
data/README.md CHANGED
@@ -49,7 +49,7 @@ See the basic [manual and walk-through](//github.com/dmayer/idb/wiki/Manual-and-
49
49
 
50
50
  ## FAQ
51
51
 
52
- ### Q: After staring idb, the menu bar does not appear
52
+ ### Q: After starting idb, the menu bar does not appear
53
53
  A: This seems to be a bug when using ruby 2.1 on OS X. I have no idea why this is happening, but switching to a different application and the back to idb fixes it. Any pointers on how to fix this are greatly appreciated!
54
54
 
55
55
 
data/lib/idb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Idb
2
- VERSION = "2.5.2"
2
+ VERSION = "2.5.3"
3
3
  end
data/lib/lib/device.rb CHANGED
@@ -59,28 +59,26 @@ module Idb
59
59
  $log.debug "opening tool port #{@tool_port} for internal ssh connection"
60
60
  @usbmuxd.proxy @tool_port, $settings['ssh_port']
61
61
 
62
+ end
62
63
 
64
+ @apps_dir_ios_pre8 = '/private/var/mobile/Applications'
65
+ @apps_dir_ios_8 = '/private/var/mobile/Containers/Bundle/Application'
66
+ @data_dir_ios_8 = '/private/var/mobile/Containers/Data/Application'
63
67
 
64
- @apps_dir_ios_pre8 = '/private/var/mobile/Applications'
65
- @apps_dir_ios_8 = '/private/var/mobile/Containers/Bundle/Application'
66
- @data_dir_ios_8 = '/private/var/mobile/Containers/Data/Application'
67
-
68
- if @ops.directory? @apps_dir_ios_pre8
69
- @ios_version = 7 # 7 or earlier
70
- @apps_dir = @apps_dir_ios_pre8
71
- @data_dir = @apps_dir_ios_pre8
72
-
73
- elsif @ops.directory? @apps_dir_ios_8
74
- @ios_version = 8
75
- @apps_dir = @apps_dir_ios_8
76
- @data_dir = @data_dir_ios_8
77
68
 
78
- else
79
- $log.error "Unsupported iOS Version."
80
- raise
81
- end
69
+ if @ops.directory? @apps_dir_ios_8
70
+ @ios_version = 8
71
+ @apps_dir = @apps_dir_ios_8
72
+ @data_dir = @data_dir_ios_8
82
73
 
74
+ elsif @ops.directory? @apps_dir_ios_pre8
75
+ @ios_version = 7 # 7 or earlier
76
+ @apps_dir = @apps_dir_ios_pre8
77
+ @data_dir = @apps_dir_ios_pre8
83
78
 
79
+ else
80
+ $log.error "Unsupported iOS Version."
81
+ raise
84
82
  end
85
83
 
86
84
  start_port_forwarding
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.2
4
+ version: 2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel A. Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-06 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler