Alter the interface presented by Connectors::Socket

We now provide a queue-like reader as well as a queue-lke writer.
Additional read queues can still be registered.
This commit is contained in:
Nick Thomas
2011-11-13 12:00:15 +00:00
parent 1688e55459
commit 6dc5c832f8
3 changed files with 19 additions and 20 deletions

View File

@@ -14,10 +14,8 @@ spec = Gem::Specification.new do |s|
s.description = "Library that interfaces with running QEMU processes over QMP"
s.author = 'Nicholas Thomas'
s.email = 'nick@lupine.me.uk'
# s.executables = ['your_executable_here']
s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,lib,spec,test}/**/*")
s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,lib,test}/**/*")
s.require_path = "lib"
s.bindir = "bin"
end
Rake::GemPackageTask.new(spec) do |p|
@@ -52,7 +50,7 @@ SCHEMA_OUTPUT = File.join(
)
namespace :dev do
desc "Download the QMP schema filelinux-x86_64/pty netbeans"
desc "Download the QMP schema file"
task :fetch_schema do
`wget '#{SCHEMA_LOC}' -O '#{SCHEMA_OUTPUT}'`
end