rtp 0.1.1 → 0.1.2

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/History.rdoc CHANGED
@@ -1,3 +1,11 @@
1
+ === 0.1.2 / 2012-11-20
2
+
3
+ ==== Bug Fixes:
4
+
5
+ * Undid changes from 0.1.1 and removed claims for JRuby and Rubinius support.
6
+ The changes from 0.1.1 were incomplete for actually supporting those rubies
7
+ and I don't want to spend the time right now learning how to fix that correctly.
8
+
1
9
  === 0.1.1 / 2012-11-20
2
10
 
3
11
  ==== Bug Fixes:
data/README.rdoc CHANGED
@@ -84,8 +84,6 @@ you can simply do so within the block.
84
84
  * (Tested) Rubies
85
85
  * 1.9.2
86
86
  * 1.9.3
87
- * JRuby 1.9 mode
88
- * Rubinius 1.9 mode
89
87
  * RubyGems:
90
88
  * bindata
91
89
  * log_switch
data/lib/rtp/receiver.rb CHANGED
@@ -230,7 +230,7 @@ module RTP
230
230
 
231
231
  Thread.start(socket) do
232
232
  loop do
233
- msg = socket.recv(MAX_BYTES_TO_RECEIVE)
233
+ msg = socket.recvmsg(MAX_BYTES_TO_RECEIVE)
234
234
  data = msg.first
235
235
  log "Received data at size: #{data.size}"
236
236
 
data/lib/rtp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RTP
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -293,7 +293,7 @@ describe RTP::Receiver do
293
293
  end
294
294
 
295
295
  let(:socket) do
296
- double "Socket", recv: message
296
+ double "Socket", recvmsg: message
297
297
  end
298
298
 
299
299
  it "starts a new Thread and returns that" do
@@ -305,7 +305,7 @@ describe RTP::Receiver do
305
305
  Thread.stub(:start).and_yield
306
306
  subject.stub(:loop).and_yield
307
307
 
308
- socket.should_receive(:recv).with(1500).and_return message
308
+ socket.should_receive(:recvmsg).with(1500).and_return message
309
309
 
310
310
  subject.send(:start_listener, socket)
311
311
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: