Permalink
Browse files

Merge branch 'release/1.1.1'

  • Loading branch information...
2 parents cc6c6db + 7b29bd7 commit c24f51998dffae47c2ccdbdd0c574438f2c4c25c @benlangfeld benlangfeld committed Feb 7, 2014
View
@@ -1,10 +1,14 @@
language: ruby
rvm:
- - 1.9.2
- 1.9.3
- 2.0.0
- - rbx-19mode
+ - 2.1.0
- jruby-19mode
+ - rbx-2.1.1
- ruby-head
+matrix:
+ allow_failures:
+ - rvm: rbx-2.1.1
+ - rvm: ruby-head
notifications:
irc: "irc.freenode.org#adhearsion"
View
@@ -1,5 +1,8 @@
# develop
+# 1.1.1
+ * CS: Remove explicit dependency on json, since we only support Ruby > 1.9 and JSON support is bundled.
+
# 1.1.0
* Feature: Allow specifying an event mask (other than 'ALL') when connecting
* CS: Minor performance improvements from removing repeated regex compilation
View
@@ -14,9 +14,8 @@ stream = RubyFS::Stream.new '127.0.0.1', 8021, 'ClueCon', lambda { |e| p e }
stream.run
-stream.api 'originate sofia/mydomain.com/ext@yourvsp.com 1000' do |response|
- puts "Originate response was #{response.inspect}"
-end
+response = stream.api 'originate sofia/mydomain.com/ext@yourvsp.com 1000'
+puts "Originate response was #{response.inspect}"
```
## Links
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
%w{
logger
celluloid/io
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'ruby_fs/response'
module RubyFS
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'ruby_fs/response'
module RubyFS
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module RubyFS
class Lexer
ContentLengthPattern = /Content-length:\s*(\d+)/i
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module RubyFS
class Response
attr_reader :headers, :content
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'json'
require 'ruby_fs/lexer'
@@ -39,7 +41,7 @@ def run
loop { receive_data @socket.readpartial(4096) }
rescue EOFError, IOError, Errno::ECONNREFUSED => e
logger.info "Client socket closed due to (#{e.class}) #{e.message}!"
- terminate
+ async.terminate
end
#
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
module RubyFS
- VERSION = "1.1.0"
+ VERSION = "1.1.1"
end
View
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_runtime_dependency %q<celluloid-io>, ["~> 0.13"]
- s.add_runtime_dependency %q<json>
s.add_development_dependency %q<bundler>, ["~> 1.0"]
s.add_development_dependency %q<rspec>, ["~> 2.5"]
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
module RubyFS
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
module RubyFS
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
module RubyFS
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'spec_helper'
require 'timeout'
View
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'ruby_fs'
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
MockServer = Class.new
class ServerMock

0 comments on commit c24f519

Please sign in to comment.