idevice 1.1.5.0 → 1.1.5.1

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.
@@ -128,6 +128,7 @@ module Idevice
128
128
 
129
129
  DEFAULT_RECV_TIMEOUT = 0
130
130
  DEFAULT_RECV_CHUNKSZ = 8192
131
+
131
132
  # blocking read - optionally yields to a block with each chunk read
132
133
  def receive_all(timeout=nil, chunksz=nil)
133
134
  timeout ||= DEFAULT_RECV_TIMEOUT
@@ -120,11 +120,10 @@ module Idevice
120
120
  return true
121
121
  end
122
122
 
123
- private
124
- def _cb(&blk)
125
- if blk
126
- lambda {|op, status, junk| blk.call(op, status.to_ruby) }
127
- end
123
+ private
124
+ def _cb
125
+ @_cb_procblk = Proc.new {|op, status, junk| yield(op, status.to_ruby) }
126
+ return @_cb_procblk
128
127
  end
129
128
  end
130
129
 
@@ -122,9 +122,8 @@ module Idevice
122
122
 
123
123
  private
124
124
  def _cb
125
- lambda do |notification, junk|
126
- yield(notification)
127
- end
125
+ @_cb_procblk = Proc.new {|notification, junk| yield(notification) }
126
+ return @_cb_procblk
128
127
  end
129
128
  end
130
129
 
@@ -1,3 +1,3 @@
1
1
  module Idevice
2
- VERSION = "1.1.5.0"
2
+ VERSION = "1.1.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idevice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5.0
4
+ version: 1.1.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-03 00:00:00.000000000 Z
12
+ date: 2013-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  segments:
192
192
  - 0
193
- hash: -2031219263689271253
193
+ hash: 1179436659693123887
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements:
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  segments:
201
201
  - 0
202
- hash: -2031219263689271253
202
+ hash: 1179436659693123887
203
203
  requirements: []
204
204
  rubyforge_project:
205
205
  rubygems_version: 1.8.25