rubyneat_rabbitmq 0.0.1.notreadyforuse.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/.semver +5 -0
- data/.travis.yml +8 -0
- data/Gemfile +25 -0
- data/Gemfile.lock +180 -0
- data/LICENSE.txt +21 -0
- data/README.md +29 -0
- data/Rakefile +65 -0
- data/lib/rubyneat_rabbitmq.rb +7 -0
- data/rubyneat_rabbitmq.gemspec +100 -0
- data/spec/lib/rubyneat_rabbitmq/rubyneat_rabbitmq_spec.rb +8 -0
- data/spec/rubyneat_rabbitmq_spec.rb +28 -0
- data/spec/spec_helper.rb +29 -0
- metadata +287 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ce2fbb6c1ef7edbdc2a7e678da3a9e53d2166dc1
|
4
|
+
data.tar.gz: 35f507063878d8286ef59cf58d709d1fde15ca7d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5fe2b371e4e2dfff63b4e767b87176f7d3e6b85d3f1d3a589590111b6d312de19e8e5c50b8894e34b21017935ebaeb7835acf26bc8096921eb07c3e557673f85
|
7
|
+
data.tar.gz: fa9caa008206c49b3ab5946d34d13b3ec405137e193e154547867b97307a96afdb4e0f8f8b0c58abc5b6d6bcfb98fc1c944b05084b5a5561c8982ce56bb9c4ba
|
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/.semver
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'bunny', "~> 1.7"
|
4
|
+
|
5
|
+
#gem 'rubyneat'
|
6
|
+
# During the development
|
7
|
+
gem 'rubyneat', github: '~/development/ruby_proj/rubyneat', branch: 'hyper'
|
8
|
+
|
9
|
+
group :development do
|
10
|
+
gem "rspec", "~> 2"
|
11
|
+
gem "rdoc", "~> 3.12"
|
12
|
+
gem "bundler", "~> 1.0"
|
13
|
+
gem "jeweler", "~> 2.0.1"
|
14
|
+
gem "simplecov", ">= 0"
|
15
|
+
gem 'semver', '~> 1'
|
16
|
+
gem 'guard', '~> 2'
|
17
|
+
gem 'guard-rspec', '~> 4'
|
18
|
+
|
19
|
+
gem 'pry'
|
20
|
+
gem 'pry-doc'
|
21
|
+
gem 'pry-byebug'
|
22
|
+
gem 'pry-remote'
|
23
|
+
gem 'pry-rescue'
|
24
|
+
gem 'pry-stack_explorer'
|
25
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/~/development/ruby_proj/rubyneat.git
|
3
|
+
revision: f70293ccacfee5be4f0af31143eca986270a3a70
|
4
|
+
branch: hyper
|
5
|
+
specs:
|
6
|
+
rubyneat (0.5.2.hyper)
|
7
|
+
aquarium (~> 0)
|
8
|
+
awesome_print (~> 1)
|
9
|
+
bond (~> 0)
|
10
|
+
deep_dive (~> 0)
|
11
|
+
distribution (~> 0)
|
12
|
+
k-tree (~> 0)
|
13
|
+
queue_ding
|
14
|
+
rb-readline (~> 0)
|
15
|
+
statistics2 (~> 0)
|
16
|
+
thor (~> 0)
|
17
|
+
|
18
|
+
GEM
|
19
|
+
remote: http://rubygems.org/
|
20
|
+
specs:
|
21
|
+
addressable (2.3.8)
|
22
|
+
amq-protocol (1.9.2)
|
23
|
+
aquarium (0.5.1)
|
24
|
+
awesome_print (1.6.1)
|
25
|
+
binding_of_caller (0.7.2)
|
26
|
+
debug_inspector (>= 0.0.1)
|
27
|
+
bond (0.5.1)
|
28
|
+
builder (3.2.2)
|
29
|
+
bunny (1.7.0)
|
30
|
+
amq-protocol (>= 1.9.2)
|
31
|
+
byebug (4.0.5)
|
32
|
+
columnize (= 0.9.0)
|
33
|
+
celluloid (0.16.0)
|
34
|
+
timers (~> 4.0.0)
|
35
|
+
coderay (1.1.0)
|
36
|
+
columnize (0.9.0)
|
37
|
+
debug_inspector (0.0.2)
|
38
|
+
deep_dive (0.2.4)
|
39
|
+
descendants_tracker (0.0.4)
|
40
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
41
|
+
diff-lcs (1.2.5)
|
42
|
+
distribution (0.7.3)
|
43
|
+
docile (1.1.5)
|
44
|
+
faraday (0.9.1)
|
45
|
+
multipart-post (>= 1.2, < 3)
|
46
|
+
ffi (1.9.8)
|
47
|
+
formatador (0.2.5)
|
48
|
+
git (1.2.9.1)
|
49
|
+
github_api (0.12.3)
|
50
|
+
addressable (~> 2.3)
|
51
|
+
descendants_tracker (~> 0.0.4)
|
52
|
+
faraday (~> 0.8, < 0.10)
|
53
|
+
hashie (>= 3.3)
|
54
|
+
multi_json (>= 1.7.5, < 2.0)
|
55
|
+
nokogiri (~> 1.6.3)
|
56
|
+
oauth2
|
57
|
+
guard (2.12.6)
|
58
|
+
formatador (>= 0.2.4)
|
59
|
+
listen (~> 2.7)
|
60
|
+
lumberjack (~> 1.0)
|
61
|
+
nenv (~> 0.1)
|
62
|
+
notiffany (~> 0.0)
|
63
|
+
pry (>= 0.9.12)
|
64
|
+
shellany (~> 0.0)
|
65
|
+
thor (>= 0.18.1)
|
66
|
+
guard-compat (1.2.1)
|
67
|
+
guard-rspec (4.5.2)
|
68
|
+
guard (~> 2.1)
|
69
|
+
guard-compat (~> 1.1)
|
70
|
+
rspec (>= 2.99.0, < 4.0)
|
71
|
+
hashie (3.4.2)
|
72
|
+
highline (1.7.2)
|
73
|
+
hitimes (1.2.2)
|
74
|
+
interception (0.5)
|
75
|
+
jeweler (2.0.1)
|
76
|
+
builder
|
77
|
+
bundler (>= 1.0)
|
78
|
+
git (>= 1.2.5)
|
79
|
+
github_api
|
80
|
+
highline (>= 1.6.15)
|
81
|
+
nokogiri (>= 1.5.10)
|
82
|
+
rake
|
83
|
+
rdoc
|
84
|
+
json (1.8.3)
|
85
|
+
jwt (1.5.0)
|
86
|
+
k-tree (0.0.3)
|
87
|
+
listen (2.10.1)
|
88
|
+
celluloid (~> 0.16.0)
|
89
|
+
rb-fsevent (>= 0.9.3)
|
90
|
+
rb-inotify (>= 0.9)
|
91
|
+
lumberjack (1.0.9)
|
92
|
+
method_source (0.8.2)
|
93
|
+
mini_portile (0.6.2)
|
94
|
+
multi_json (1.11.1)
|
95
|
+
multi_xml (0.5.5)
|
96
|
+
multipart-post (2.0.0)
|
97
|
+
nenv (0.2.0)
|
98
|
+
nokogiri (1.6.6.2)
|
99
|
+
mini_portile (~> 0.6.0)
|
100
|
+
notiffany (0.0.6)
|
101
|
+
nenv (~> 0.1)
|
102
|
+
shellany (~> 0.0)
|
103
|
+
oauth2 (1.0.0)
|
104
|
+
faraday (>= 0.8, < 0.10)
|
105
|
+
jwt (~> 1.0)
|
106
|
+
multi_json (~> 1.3)
|
107
|
+
multi_xml (~> 0.5)
|
108
|
+
rack (~> 1.2)
|
109
|
+
pry (0.10.1)
|
110
|
+
coderay (~> 1.1.0)
|
111
|
+
method_source (~> 0.8.1)
|
112
|
+
slop (~> 3.4)
|
113
|
+
pry-byebug (3.1.0)
|
114
|
+
byebug (~> 4.0)
|
115
|
+
pry (~> 0.10)
|
116
|
+
pry-doc (0.8.0)
|
117
|
+
pry (~> 0.9)
|
118
|
+
yard (~> 0.8)
|
119
|
+
pry-remote (0.1.8)
|
120
|
+
pry (~> 0.9)
|
121
|
+
slop (~> 3.0)
|
122
|
+
pry-rescue (1.4.2)
|
123
|
+
interception (>= 0.5)
|
124
|
+
pry
|
125
|
+
pry-stack_explorer (0.4.9.2)
|
126
|
+
binding_of_caller (>= 0.7)
|
127
|
+
pry (>= 0.9.11)
|
128
|
+
queue_ding (0.1.1)
|
129
|
+
aquarium (~> 0)
|
130
|
+
rack (1.6.4)
|
131
|
+
rake (10.4.2)
|
132
|
+
rb-fsevent (0.9.5)
|
133
|
+
rb-inotify (0.9.5)
|
134
|
+
ffi (>= 0.5.0)
|
135
|
+
rb-readline (0.5.3)
|
136
|
+
rdoc (3.12.2)
|
137
|
+
json (~> 1.4)
|
138
|
+
rspec (2.99.0)
|
139
|
+
rspec-core (~> 2.99.0)
|
140
|
+
rspec-expectations (~> 2.99.0)
|
141
|
+
rspec-mocks (~> 2.99.0)
|
142
|
+
rspec-core (2.99.2)
|
143
|
+
rspec-expectations (2.99.2)
|
144
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
145
|
+
rspec-mocks (2.99.4)
|
146
|
+
semver (1.0.1)
|
147
|
+
shellany (0.0.1)
|
148
|
+
simplecov (0.10.0)
|
149
|
+
docile (~> 1.1.0)
|
150
|
+
json (~> 1.8)
|
151
|
+
simplecov-html (~> 0.10.0)
|
152
|
+
simplecov-html (0.10.0)
|
153
|
+
slop (3.6.0)
|
154
|
+
statistics2 (0.54)
|
155
|
+
thor (0.19.1)
|
156
|
+
thread_safe (0.3.5)
|
157
|
+
timers (4.0.1)
|
158
|
+
hitimes
|
159
|
+
yard (0.8.7.6)
|
160
|
+
|
161
|
+
PLATFORMS
|
162
|
+
ruby
|
163
|
+
|
164
|
+
DEPENDENCIES
|
165
|
+
bundler (~> 1.0)
|
166
|
+
bunny (~> 1.7)
|
167
|
+
guard (~> 2)
|
168
|
+
guard-rspec (~> 4)
|
169
|
+
jeweler (~> 2.0.1)
|
170
|
+
pry
|
171
|
+
pry-byebug
|
172
|
+
pry-doc
|
173
|
+
pry-remote
|
174
|
+
pry-rescue
|
175
|
+
pry-stack_explorer
|
176
|
+
rdoc (~> 3.12)
|
177
|
+
rspec (~> 2)
|
178
|
+
rubyneat!
|
179
|
+
semver (~> 1)
|
180
|
+
simplecov
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) 2015 Fred Mitchell
|
2
|
+
|
3
|
+
Released under the MIT License.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# rubyneat_rabbitmq -- RabbitMQ plugin for RubyNEAT
|
2
|
+
|
3
|
+
[![Join the chat at https://gitter.im/flajann2/rubyneat_rabbitmq](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/flajann2/rubyneat_rabbitmq?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
|
+
|
5
|
+
To allow RubyNEAT to extend the phenotypes and evaluations in a distributed
|
6
|
+
and language-neutral manner, this plugin exists. Phenotype DSL is sent in
|
7
|
+
a JSON format through RabbitMQ and the evaluation results are returned via
|
8
|
+
the same. You may now set up worker queues on any number of servers to do
|
9
|
+
the evaluation and return the results.
|
10
|
+
|
11
|
+
## Gem Version
|
12
|
+
[![Gem Version](https://badge.fury.io/rb/rubyneat_rabbitmq.png)](http://badge.fury.io/rb/rubyneat_rabbitmq)
|
13
|
+
[![Travis CI](https://travis-ci.org/flajann2/rubyneat_rabbitmq.svg?branch=master)](https://travis-ci.org/flajann2/rubyneat_rabbitmq)
|
14
|
+
|
15
|
+
## Contributing to rubyneat_rabbitmq
|
16
|
+
|
17
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
18
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
19
|
+
* Fork the project.
|
20
|
+
* Start a feature/bugfix branch.
|
21
|
+
* Commit and push until you are happy with your contribution.
|
22
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
23
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
24
|
+
|
25
|
+
## Copyright
|
26
|
+
|
27
|
+
Copyright (c) 2015 Fred Mitchell. See LICENSE.txt for
|
28
|
+
further details.
|
29
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
require 'semver'
|
6
|
+
|
7
|
+
def s_version
|
8
|
+
SemVer.find.format "%M.%m.%p%s"
|
9
|
+
end
|
10
|
+
|
11
|
+
begin
|
12
|
+
Bundler.setup(:default, :development)
|
13
|
+
rescue Bundler::BundlerError => e
|
14
|
+
$stderr.puts e.message
|
15
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
16
|
+
exit e.status_code
|
17
|
+
end
|
18
|
+
require 'rake'
|
19
|
+
|
20
|
+
require 'jeweler'
|
21
|
+
Jeweler::Tasks.new do |gem|
|
22
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
23
|
+
gem.name = "rubyneat_rabbitmq"
|
24
|
+
gem.homepage = "http://github.com/flajann2/rubyneat_rabbitmq"
|
25
|
+
gem.license = "MIT"
|
26
|
+
gem.summary = %Q{RabbitMQ Extension for RubyNEAT}
|
27
|
+
gem.version = s_version
|
28
|
+
gem.required_ruby_version = '>= 2.0'
|
29
|
+
|
30
|
+
gem.description = %Q{
|
31
|
+
To allow RubyNEAT to extend the phenotypes and evaluations in a distributed
|
32
|
+
and language-neutral manner, this plugin exists. Phenotype DSL is sent in
|
33
|
+
a JSON format through RabbitMQ and the evaluation results are returned via
|
34
|
+
the same. You may now set up worker queues on any number of servers to do
|
35
|
+
the evaluation and return the results.
|
36
|
+
}
|
37
|
+
gem.email = "fred.mitchell@gmx.de"
|
38
|
+
gem.authors = ["Fred Mitchell"]
|
39
|
+
# dependencies defined in Gemfile
|
40
|
+
end
|
41
|
+
Jeweler::RubygemsDotOrgTasks.new
|
42
|
+
|
43
|
+
require 'rspec/core'
|
44
|
+
require 'rspec/core/rake_task'
|
45
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
46
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
47
|
+
end
|
48
|
+
|
49
|
+
desc "Code coverage detail"
|
50
|
+
task :simplecov do
|
51
|
+
ENV['COVERAGE'] = "true"
|
52
|
+
Rake::Task['spec'].execute
|
53
|
+
end
|
54
|
+
|
55
|
+
task :default => :spec
|
56
|
+
|
57
|
+
require 'rdoc/task'
|
58
|
+
Rake::RDocTask.new do |rdoc|
|
59
|
+
version = s_version
|
60
|
+
|
61
|
+
rdoc.rdoc_dir = 'rdoc'
|
62
|
+
rdoc.title = "rubyneat_rabbitmq #{version}"
|
63
|
+
rdoc.rdoc_files.include('README*')
|
64
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
65
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: rubyneat_rabbitmq 0.0.1.notreadyforuse.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "rubyneat_rabbitmq"
|
9
|
+
s.version = "0.0.1.notreadyforuse.0"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Fred Mitchell"]
|
14
|
+
s.date = "2015-06-21"
|
15
|
+
s.description = "\n To allow RubyNEAT to extend the phenotypes and evaluations in a distributed\n and language-neutral manner, this plugin exists. Phenotype DSL is sent in\n a JSON format through RabbitMQ and the evaluation results are returned via\n the same. You may now set up worker queues on any number of servers to do \n the evaluation and return the results.\n "
|
16
|
+
s.email = "fred.mitchell@gmx.de"
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.md"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".rspec",
|
24
|
+
".semver",
|
25
|
+
".travis.yml",
|
26
|
+
"Gemfile",
|
27
|
+
"Gemfile.lock",
|
28
|
+
"LICENSE.txt",
|
29
|
+
"README.md",
|
30
|
+
"Rakefile",
|
31
|
+
"lib/rubyneat_rabbitmq.rb",
|
32
|
+
"rubyneat_rabbitmq.gemspec",
|
33
|
+
"spec/lib/rubyneat_rabbitmq/rubyneat_rabbitmq_spec.rb",
|
34
|
+
"spec/rubyneat_rabbitmq_spec.rb",
|
35
|
+
"spec/spec_helper.rb"
|
36
|
+
]
|
37
|
+
s.homepage = "http://github.com/flajann2/rubyneat_rabbitmq"
|
38
|
+
s.licenses = ["MIT"]
|
39
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.0")
|
40
|
+
s.rubygems_version = "2.4.5"
|
41
|
+
s.summary = "RabbitMQ Extension for RubyNEAT"
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
s.specification_version = 4
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
+
s.add_runtime_dependency(%q<bunny>, ["~> 1.7"])
|
48
|
+
s.add_runtime_dependency(%q<rubyneat>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<rspec>, ["~> 2"])
|
50
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
51
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
52
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
|
53
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<semver>, ["~> 1"])
|
55
|
+
s.add_development_dependency(%q<guard>, ["~> 2"])
|
56
|
+
s.add_development_dependency(%q<guard-rspec>, ["~> 4"])
|
57
|
+
s.add_development_dependency(%q<pry>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<pry-doc>, [">= 0"])
|
59
|
+
s.add_development_dependency(%q<pry-byebug>, [">= 0"])
|
60
|
+
s.add_development_dependency(%q<pry-remote>, [">= 0"])
|
61
|
+
s.add_development_dependency(%q<pry-rescue>, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<pry-stack_explorer>, [">= 0"])
|
63
|
+
else
|
64
|
+
s.add_dependency(%q<bunny>, ["~> 1.7"])
|
65
|
+
s.add_dependency(%q<rubyneat>, [">= 0"])
|
66
|
+
s.add_dependency(%q<rspec>, ["~> 2"])
|
67
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
68
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
69
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
70
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
71
|
+
s.add_dependency(%q<semver>, ["~> 1"])
|
72
|
+
s.add_dependency(%q<guard>, ["~> 2"])
|
73
|
+
s.add_dependency(%q<guard-rspec>, ["~> 4"])
|
74
|
+
s.add_dependency(%q<pry>, [">= 0"])
|
75
|
+
s.add_dependency(%q<pry-doc>, [">= 0"])
|
76
|
+
s.add_dependency(%q<pry-byebug>, [">= 0"])
|
77
|
+
s.add_dependency(%q<pry-remote>, [">= 0"])
|
78
|
+
s.add_dependency(%q<pry-rescue>, [">= 0"])
|
79
|
+
s.add_dependency(%q<pry-stack_explorer>, [">= 0"])
|
80
|
+
end
|
81
|
+
else
|
82
|
+
s.add_dependency(%q<bunny>, ["~> 1.7"])
|
83
|
+
s.add_dependency(%q<rubyneat>, [">= 0"])
|
84
|
+
s.add_dependency(%q<rspec>, ["~> 2"])
|
85
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
86
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
87
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
88
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
89
|
+
s.add_dependency(%q<semver>, ["~> 1"])
|
90
|
+
s.add_dependency(%q<guard>, ["~> 2"])
|
91
|
+
s.add_dependency(%q<guard-rspec>, ["~> 4"])
|
92
|
+
s.add_dependency(%q<pry>, [">= 0"])
|
93
|
+
s.add_dependency(%q<pry-doc>, [">= 0"])
|
94
|
+
s.add_dependency(%q<pry-byebug>, [">= 0"])
|
95
|
+
s.add_dependency(%q<pry-remote>, [">= 0"])
|
96
|
+
s.add_dependency(%q<pry-rescue>, [">= 0"])
|
97
|
+
s.add_dependency(%q<pry-stack_explorer>, [">= 0"])
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
require 'rubyneat_rabbitmq'
|
3
|
+
|
4
|
+
describe NEAT::Rabbit do
|
5
|
+
it 'RabbitMQ installed and running' do
|
6
|
+
Bunny::VERSION.should == '1.7.0'
|
7
|
+
|
8
|
+
TMESSAGE = 'Test Message should be received!!!!!'
|
9
|
+
gotmessage = nil
|
10
|
+
conn = Bunny.new
|
11
|
+
conn.start
|
12
|
+
|
13
|
+
ch = conn.create_channel
|
14
|
+
q = ch.queue("rubyneat.rspec.test", :auto_delete => true)
|
15
|
+
x = ch.default_exchange
|
16
|
+
|
17
|
+
q.subscribe do |delivery_info, metadata, payload|
|
18
|
+
gotmessage = payload
|
19
|
+
end
|
20
|
+
|
21
|
+
x.publish(TMESSAGE, :routing_key => q.name)
|
22
|
+
sleep 0.5
|
23
|
+
gotmessage.should_not be_nil
|
24
|
+
gotmessage.should == TMESSAGE
|
25
|
+
|
26
|
+
conn.close
|
27
|
+
end
|
28
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_profile 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
17
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
18
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
19
|
+
|
20
|
+
require 'rspec'
|
21
|
+
require 'rubyneat_rabbitmq'
|
22
|
+
|
23
|
+
# Requires supporting files with custom matchers and macros, etc,
|
24
|
+
# in ./support/ and its subdirectories.
|
25
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
26
|
+
|
27
|
+
RSpec.configure do |config|
|
28
|
+
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,287 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubyneat_rabbitmq
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.notreadyforuse.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fred Mitchell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bunny
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubyneat
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.12'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jeweler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.0.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.0.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: semver
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard-rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '4'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-doc
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry-byebug
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: pry-remote
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: pry-rescue
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pry-stack_explorer
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
description: "\n To allow RubyNEAT to extend the phenotypes and evaluations in a
|
238
|
+
distributed\n and language-neutral manner, this plugin exists. Phenotype DSL is
|
239
|
+
sent in\n a JSON format through RabbitMQ and the evaluation results are returned
|
240
|
+
via\n the same. You may now set up worker queues on any number of servers to do
|
241
|
+
\n the evaluation and return the results.\n "
|
242
|
+
email: fred.mitchell@gmx.de
|
243
|
+
executables: []
|
244
|
+
extensions: []
|
245
|
+
extra_rdoc_files:
|
246
|
+
- LICENSE.txt
|
247
|
+
- README.md
|
248
|
+
files:
|
249
|
+
- ".document"
|
250
|
+
- ".rspec"
|
251
|
+
- ".semver"
|
252
|
+
- ".travis.yml"
|
253
|
+
- Gemfile
|
254
|
+
- Gemfile.lock
|
255
|
+
- LICENSE.txt
|
256
|
+
- README.md
|
257
|
+
- Rakefile
|
258
|
+
- lib/rubyneat_rabbitmq.rb
|
259
|
+
- rubyneat_rabbitmq.gemspec
|
260
|
+
- spec/lib/rubyneat_rabbitmq/rubyneat_rabbitmq_spec.rb
|
261
|
+
- spec/rubyneat_rabbitmq_spec.rb
|
262
|
+
- spec/spec_helper.rb
|
263
|
+
homepage: http://github.com/flajann2/rubyneat_rabbitmq
|
264
|
+
licenses:
|
265
|
+
- MIT
|
266
|
+
metadata: {}
|
267
|
+
post_install_message:
|
268
|
+
rdoc_options: []
|
269
|
+
require_paths:
|
270
|
+
- lib
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - ">="
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '2.0'
|
276
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - ">"
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: 1.3.1
|
281
|
+
requirements: []
|
282
|
+
rubyforge_project:
|
283
|
+
rubygems_version: 2.4.5
|
284
|
+
signing_key:
|
285
|
+
specification_version: 4
|
286
|
+
summary: RabbitMQ Extension for RubyNEAT
|
287
|
+
test_files: []
|