Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dim committed Feb 5, 2014
1 parent 6391cf2 commit c714245
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
fluq (0.8.0)
fluq (0.8.1)
celluloid-io (~> 0.15.0)
multi_json
timed_lru
Expand All @@ -21,7 +21,7 @@ GEM
term-ansicolor
thor
diff-lcs (1.2.5)
docile (1.1.2)
docile (1.1.3)
jrjackson (0.2.6)
mime-types (2.1)
msgpack (0.5.8)
Expand All @@ -38,9 +38,9 @@ GEM
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.7)
rspec-expectations (2.14.4)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.4)
rspec-mocks (2.14.5)
rubysl-logger (2.0.0)
rubysl-singleton (2.0.0)
simplecov (0.8.2)
Expand All @@ -53,7 +53,7 @@ GEM
thor (0.18.1)
timed_lru (0.3.1)
timers (1.1.0)
tins (0.13.1)
tins (0.13.2)
yard (0.8.7.3)

PLATFORMS
Expand Down
4 changes: 2 additions & 2 deletions lib/fluq/input.rb
@@ -1,6 +1,6 @@
module FluQ::Input
end

%w'base socket'.each do |name|
%w'base noop socket'.each do |name|
require "fluq/input/#{name}"
end
end
9 changes: 9 additions & 0 deletions lib/fluq/input/noop.rb
@@ -0,0 +1,9 @@
class FluQ::Input::Noop < FluQ::Input::Base

# Start the server
def run
super
loop { sleep(1e9) }
end

end
2 changes: 1 addition & 1 deletion lib/fluq/version.rb
@@ -1,3 +1,3 @@
module FluQ
VERSION = "0.8.0"
VERSION = "0.8.1"
end
12 changes: 12 additions & 0 deletions spec/fluq/input/noop_spec.rb
@@ -0,0 +1,12 @@
require 'spec_helper'

describe FluQ::Input::Noop do

subject { described_class.new "my-feed", [FluQ::Handler::Test] }
it { should be_a(FluQ::Input::Base) }
its(:wrapped_object) { should be_instance_of(described_class) }

its(:name) { should == "noop" }
its(:description) { should == "noop" }

end

0 comments on commit c714245

Please sign in to comment.