Skip to content

Commit

Permalink
Vendored ruote-amqp gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Dennis committed May 7, 2010
1 parent 14e3705 commit 44d653e
Show file tree
Hide file tree
Showing 26 changed files with 1,314 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/.gitignore
@@ -0,0 +1,6 @@
*.swp
work/
logs/
pkg/
.yardoc
doc/
116 changes: 116 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/.specification
@@ -0,0 +1,116 @@
--- !ruby/object:Gem::Specification
name: ruote-amqp
version: !ruby/object:Gem::Version
version: 2.1.10
platform: ruby
authors:
- kenneth.kalmer@gmail.com
autorequire:
bindir: bin
cert_chain: []

date: 2010-05-05 00:00:00 -07:00
default_executable:
dependencies:
- !ruby/object:Gem::Dependency
name: amqp
type: :runtime
version_requirement:
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: 0.6.7
version:
- !ruby/object:Gem::Dependency
name: ruote
type: :runtime
version_requirement:
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: 2.1.10
version:
- !ruby/object:Gem::Dependency
name: rspec
type: :development
version_requirement:
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: "0"
version:
description:
email: kenneth.kalmer@gmail.com
executables: []

extensions: []

extra_rdoc_files:
- History.txt
- Manifest.txt
- PostInstall.txt
- README.rdoc
- TODO.txt
files:
- .gitignore
- History.txt
- Manifest.txt
- PostInstall.txt
- README.rdoc
- Rakefile
- TODO.txt
- lib/ruote-amqp.rb
- lib/ruote-amqp/launchitem_listener.rb
- lib/ruote-amqp/participant.rb
- lib/ruote-amqp/workitem_listener.rb
- lib/spec/ruote.rb
- lib/spec/ruote_example_group.rb
- lib/spec/ruote_helpers.rb
- lib/spec/ruote_matchers.rb
- ruote-amqp.gemspec
- script/console
- script/destroy
- script/generate
- spec/launchitem_listener_spec.rb
- spec/participant_spec.rb
- spec/ruote_amqp_spec.rb
- spec/spec.opts
- spec/spec_helper.rb
- spec/workitem_listener_spec.rb
has_rdoc: true
homepage: http://github.com/kennethkalmer/ruote-amqp
licenses: []

post_install_message:
rdoc_options:
- --charset=UTF-8
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: "0"
version:
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: "0"
version:
requirements: []

rubyforge_project:
rubygems_version: 1.3.5
signing_key:
specification_version: 3
summary: AMQP participant/listener pair for ruote 2.1
test_files:
- spec/launchitem_listener_spec.rb
- spec/participant_spec.rb
- spec/ruote_amqp_spec.rb
- spec/spec_helper.rb
- spec/workitem_listener_spec.rb
22 changes: 22 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/History.txt
@@ -0,0 +1,22 @@
=== 2.0.0 (WIP)

* Compatible with ruote 2.0
* Thanks to John Mettraux (http://github.com/jmettraux/ruote-amqp)
* Thanks to Jason & Jordan (http://github.com/asm/ruote-amqp)
* Thanks to Charles Magid (http://github.com/ChasManRors/ruote-amqp)

=== 0.9.21.1 2009-08-03

* Switch to using persistent AMQP messages by default

=== 0.9.21 2009-07-13

* Depend on ruote-0.9.21 for flexible JSON backends
* Support for default queues
* Support for mapping participant names to queue names
* Plenty of RDOC fixed

=== 0.9.20 2009-07-13

* 1 major enhancement:
* Initial release
24 changes: 24 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/Manifest.txt
@@ -0,0 +1,24 @@
History.txt
Manifest.txt
PostInstall.txt
README.rdoc
Rakefile
TODO.txt
lib/ruote-amqp.rb
lib/ruote-amqp/launchitem_listener.rb
lib/ruote-amqp/workitem_listener.rb
lib/ruote-amqp/participant.rb
lib/spec/ruote.rb
lib/spec/ruote_example_group.rb
lib/spec/ruote_helpers.rb
lib/spec/ruote_matchers.rb
script/console
script/destroy
script/generate
spec/launchitem_listener_spec.rb
spec/workitem_listener_spec.rb
spec/participant_spec.rb
spec/ruote_amqp_spec.rb
spec/spec.opts
spec/spec_helper.rb
tasks/rspec.rake
12 changes: 12 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/PostInstall.txt
@@ -0,0 +1,12 @@

For more information on ruote-amqp, see http://github.com/kennethkalmer/ruote-amqp

Please note that this gem requires access to an AMQP broker and a good
understanding of AMQP and remote participants in general.

Join us in #ruote on Freenode or on the openwfe-users Google Group to discuss
it's uses.

You might also want to look at daemon-kit for help with writing external
participants that communicate with ruote via AMQP.

91 changes: 91 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/README.rdoc
@@ -0,0 +1,91 @@
= ruote-amqp

* http://github.com/kennethkalmer/ruote-amqp
* http://rdoc.info/projects/kennethkalmer/ruote-amqp
* http://ruote.rubyforge.org

== DESCRIPTION:

ruote-amqp provides an AMQP participant/listener pair that allows you to
distribute workitems out to AMQP consumers for processing, as well as launching
processes over AMQP.

To learn more about remote participants in ruote please see
http://ruote.rubyforge.org/part_implementations.html

== FEATURES/PROBLEMS:

* Flexible participant for sending workitems
* Flexible listener for receiving replies
* Flexible launch item listener for launching processes over AMQP
* Fully evented (thanks to the amqp gem)

== SYNOPSIS:

Please review the rdoc in RuoteAMQP::Participant and Ruote::AMQP::Listener

== REQUIREMENTS:

* ruote[http://ruote.rubyforge.org] 2.1.4 or later
* amqp[http://github.com/tmm1/amqp] 0.6.6 or later
* rufus-json[http://github.com/jmettraux/rufus-json] 0.1.0 or later
* rabbitmq[http://www.rabbitmq.com/] 1.6.0 or later

== INSTALL:

Please be sure to have read the requirements section above

* sudo gem install ruote-amqp

== TESTS:

To run the tests you need the following requirements met, or the testing environment
will fail horribly.

=== RabbitMQ vhost

The tests use dedicated vhost on a running AMQP broker. To configure RabbitMQ
you can run the following commands:

# rabbitmqctl add_vhost ruote-test
# rabbitmqctl add_user ruote ruote
# rabbitmqctl set_permissions -p ruote-test ruote '.*' '.*' '.*'

If you need to change the AMQP configuration used by the tests, edit the
+spec/spec_helper.rb+ file.

== DAEMON-KIT:

Although the RuoteAMQP gem will work perfectly well with any AMQP consumer,
it is recommended that you use daemon-kit[http://github.com/kennethkalmer/daemon-kit]
to write your remote participants.

daemon-kit offers plenty of convenience for remote participants and includes
a code generator for ruote remote participants.

DaemonKit doesn't currently support ruote 2.1, support is forthcoming.

== LICENSE:

(The MIT License)

Copyright (c) 2010 Kenneth Kalmer

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51 changes: 51 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/Rakefile
@@ -0,0 +1,51 @@
require 'rubygems'
require 'rake'

require 'lib/ruote-amqp'

begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'ruote-amqp'
gemspec.version = RuoteAMQP::VERSION
gemspec.summary = 'AMQP participant/listener pair for ruote 2.1'
gemspec.email = 'kenneth.kalmer@gmail.com'
gemspec.homepage = 'http://github.com/kennethkalmer/ruote-amqp'
gemspec.authors = ['kenneth.kalmer@gmail.com']
gemspec.extra_rdoc_files.include '*.txt'

gemspec.add_dependency 'amqp', '>= 0.6.7'
gemspec.add_dependency 'ruote', '>= 2.1.10'
# ruote depends on rufus-json

gemspec.add_development_dependency 'rspec'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with 'gem install jeweler'"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end

task :spec #=> :check_dependencies

task :default => :spec

begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end
4 changes: 4 additions & 0 deletions vendor/gems/ruote-amqp-2.1.10/TODO.txt
@@ -0,0 +1,4 @@
ruote-amqp TODO
===============

[ ] Launch processes over AMQP

0 comments on commit 44d653e

Please sign in to comment.