dafiti-rabbit-hutch 0.1.4 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{rabbithutchservice.rb → lib/rabbithutchservice.rb} +1 -1
- metadata +3 -14
- data/.gitignore +0 -56
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -68
- data/configs/.config.yml.swp +0 -0
- data/configs/config.yaml +0 -17
- data/configs/config.yml +0 -17
- data/configs/config2.yaml +0 -51
- data/configs/config_old.yaml +0 -28
- data/configs/configtemplate.yaml +0 -32
- data/configs/webconfig.ru +0 -4
- data/dev_web.sh +0 -1
- data/rabbithutch.gemspec +0 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2785455395752f9d4b464ea0e22afb47c5d68d93f58467dadd6e372ab7d7107c
|
4
|
+
data.tar.gz: 1b4ea9a77762aaa8a36791336f30f3808da91da8f8945d1b8f347f6a0e0fb00d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 580df330bb83f5ea847357a32d519ac8c136bf3f1373ce269dee9727486af1ce99f12365daae04e6c08706c3b68d9c7482491c6eadad7cb7d5fc3bdaf4d9dd2d
|
7
|
+
data.tar.gz: 42f59b65f800822e67eb09d06306c97c2dcf80555bb0bc50d0b8e33b86f888bc257bf3155568b38955cfb15c30363c0273f05d923c16f292f9ab5a201df5f047
|
@@ -6,7 +6,7 @@ def start_service
|
|
6
6
|
begin
|
7
7
|
puts "-------------------------"
|
8
8
|
puts "Starting RabbitHutch #1"
|
9
|
-
Daemons.run(File.dirname(__FILE__) + '/
|
9
|
+
Daemons.run(File.dirname(__FILE__) + '/rabbithutch.rb')
|
10
10
|
rescue SystemExit=>e
|
11
11
|
puts e.inspect
|
12
12
|
rescue Exception=>e
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dafiti-rabbit-hutch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luiz Bartolomeu
|
@@ -244,22 +244,11 @@ extra_rdoc_files:
|
|
244
244
|
- LICENSE.txt
|
245
245
|
- README.md
|
246
246
|
files:
|
247
|
-
- ".gitignore"
|
248
|
-
- Gemfile
|
249
|
-
- Gemfile.lock
|
250
247
|
- LICENSE.txt
|
251
248
|
- README.md
|
252
249
|
- bin/rabbithutch
|
253
250
|
- bin/rabbithutchweb
|
254
251
|
- config.yaml
|
255
|
-
- configs/.config.yml.swp
|
256
|
-
- configs/config.yaml
|
257
|
-
- configs/config.yml
|
258
|
-
- configs/config2.yaml
|
259
|
-
- configs/config_old.yaml
|
260
|
-
- configs/configtemplate.yaml
|
261
|
-
- configs/webconfig.ru
|
262
|
-
- dev_web.sh
|
263
252
|
- lib/configurator.rb
|
264
253
|
- lib/consumer.rb
|
265
254
|
- lib/consumers/console_consumer.rb
|
@@ -268,9 +257,8 @@ files:
|
|
268
257
|
- lib/logger.rb
|
269
258
|
- lib/rabbithutch.rb
|
270
259
|
- lib/rabbithutchmgr.rb
|
260
|
+
- lib/rabbithutchservice.rb
|
271
261
|
- lib/worker.rb
|
272
|
-
- rabbithutch.gemspec
|
273
|
-
- rabbithutchservice.rb
|
274
262
|
- web/public/assets/css/bootstrap-responsive.css
|
275
263
|
- web/public/assets/css/bootstrap-responsive.min.css
|
276
264
|
- web/public/assets/css/bootstrap.css
|
@@ -295,6 +283,7 @@ rdoc_options:
|
|
295
283
|
- "--exclude spec/testfiles"
|
296
284
|
require_paths:
|
297
285
|
- lib
|
286
|
+
- web
|
298
287
|
required_ruby_version: !ruby/object:Gem::Requirement
|
299
288
|
requirements:
|
300
289
|
- - ">="
|
data/.gitignore
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
/.config
|
4
|
-
/coverage/
|
5
|
-
/InstalledFiles
|
6
|
-
/pkg/
|
7
|
-
/spec/reports/
|
8
|
-
/spec/examples.txt
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
# Used by dotenv library to load environment variables.
|
14
|
-
# .env
|
15
|
-
|
16
|
-
# Ignore Byebug command history file.
|
17
|
-
.byebug_history
|
18
|
-
|
19
|
-
## Specific to RubyMotion:
|
20
|
-
.dat*
|
21
|
-
.repl_history
|
22
|
-
build/
|
23
|
-
*.bridgesupport
|
24
|
-
build-iPhoneOS/
|
25
|
-
build-iPhoneSimulator/
|
26
|
-
|
27
|
-
## Specific to RubyMotion (use of CocoaPods):
|
28
|
-
#
|
29
|
-
# We recommend against adding the Pods directory to your .gitignore. However
|
30
|
-
# you should judge for yourself, the pros and cons are mentioned at:
|
31
|
-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
32
|
-
#
|
33
|
-
# vendor/Pods/
|
34
|
-
|
35
|
-
## Documentation cache and generated files:
|
36
|
-
/.yardoc/
|
37
|
-
/_yardoc/
|
38
|
-
/doc/
|
39
|
-
/rdoc/
|
40
|
-
|
41
|
-
## Environment normalization:
|
42
|
-
/.bundle/
|
43
|
-
/vendor/bundle
|
44
|
-
/lib/bundler/man/
|
45
|
-
|
46
|
-
# for a library or gem, you might want to ignore these files since the code is
|
47
|
-
# intended to run in multiple environments; otherwise, check them in:
|
48
|
-
# Gemfile.lock
|
49
|
-
# .ruby-version
|
50
|
-
# .ruby-gemset
|
51
|
-
|
52
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
53
|
-
.rvmrc
|
54
|
-
|
55
|
-
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
56
|
-
# .rubocop-https?--*
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
rabbithutch (0.1.6)
|
5
|
-
amqp
|
6
|
-
bson_ext
|
7
|
-
daemons
|
8
|
-
eventmachine
|
9
|
-
haml
|
10
|
-
log4r
|
11
|
-
logger
|
12
|
-
mongo
|
13
|
-
mongo_ext
|
14
|
-
mq
|
15
|
-
mustache
|
16
|
-
shotgun
|
17
|
-
sinatra
|
18
|
-
thin
|
19
|
-
thor
|
20
|
-
yard
|
21
|
-
|
22
|
-
GEM
|
23
|
-
remote: https://rubygems.org/
|
24
|
-
specs:
|
25
|
-
amq-client (0.9.10)
|
26
|
-
amq-protocol (>= 0.9.4)
|
27
|
-
eventmachine
|
28
|
-
amq-protocol (1.0.1)
|
29
|
-
amqp (0.9.8)
|
30
|
-
amq-client (~> 0.9.5)
|
31
|
-
amq-protocol (>= 0.9.4)
|
32
|
-
eventmachine
|
33
|
-
bson (1.8.2)
|
34
|
-
bson_ext (1.8.1)
|
35
|
-
bson (~> 1.8.1)
|
36
|
-
daemons (1.1.9)
|
37
|
-
eventmachine (1.0.0)
|
38
|
-
haml (3.1.7)
|
39
|
-
log4r (1.1.10)
|
40
|
-
logger (1.2.8)
|
41
|
-
mongo (1.8.1)
|
42
|
-
bson (~> 1.8.1)
|
43
|
-
mongo_ext (0.19.3)
|
44
|
-
mq (0.1.3)
|
45
|
-
mustache (0.99.4)
|
46
|
-
rack (1.4.4)
|
47
|
-
rack-protection (1.3.2)
|
48
|
-
rack
|
49
|
-
shotgun (0.9)
|
50
|
-
rack (>= 1.0)
|
51
|
-
sinatra (1.3.3)
|
52
|
-
rack (~> 1.3, >= 1.3.6)
|
53
|
-
rack-protection (~> 1.2)
|
54
|
-
tilt (~> 1.3, >= 1.3.3)
|
55
|
-
thin (1.5.0)
|
56
|
-
daemons (>= 1.0.9)
|
57
|
-
eventmachine (>= 0.12.6)
|
58
|
-
rack (>= 1.0.0)
|
59
|
-
thor (0.16.0)
|
60
|
-
tilt (1.3.3)
|
61
|
-
yard (0.8.3)
|
62
|
-
|
63
|
-
PLATFORMS
|
64
|
-
ruby
|
65
|
-
x86-mingw32
|
66
|
-
|
67
|
-
DEPENDENCIES
|
68
|
-
rabbithutch!
|
data/configs/.config.yml.swp
DELETED
Binary file
|
data/configs/config.yaml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
application:
|
2
|
-
exchangename: amq.rabbitmq.trace
|
3
|
-
queuename: amq.gen-YxeA_wZnR8TsrqlRPEwNNQ
|
4
|
-
|
5
|
-
rabbitmq:
|
6
|
-
hosts:
|
7
|
-
- displayname: local1
|
8
|
-
enabled: true
|
9
|
-
hostname: localhost
|
10
|
-
username: admin
|
11
|
-
password: admin
|
12
|
-
|
13
|
-
|
14
|
-
consumers_config:
|
15
|
-
consumers:
|
16
|
-
- name: console_consumer
|
17
|
-
|
data/configs/config.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
application:
|
2
|
-
exchangename: amq.rabbitmq.trace
|
3
|
-
queuename: amq.gen-YxeA_wZnR8TsrqlRPEwNNQ
|
4
|
-
|
5
|
-
rabbitmq:
|
6
|
-
hosts:
|
7
|
-
- displayname: local1
|
8
|
-
enabled: true
|
9
|
-
hostname: localhost:15672
|
10
|
-
username: admin
|
11
|
-
password: admin
|
12
|
-
|
13
|
-
|
14
|
-
consumers_config:
|
15
|
-
consumers:
|
16
|
-
- name: console_consumer
|
17
|
-
|
data/configs/config2.yaml
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
application:
|
3
|
-
exchangename: amq.rabbitmq.trace
|
4
|
-
queuename: rabbithutch
|
5
|
-
rabbitmq:
|
6
|
-
hosts:
|
7
|
-
- id: 1
|
8
|
-
displayname: dev01dd
|
9
|
-
enabled: 'on'
|
10
|
-
hostname: 127.0.0.1dd
|
11
|
-
username: admind
|
12
|
-
password: admin
|
13
|
-
- id: 2
|
14
|
-
displayname: dev02e
|
15
|
-
enabled:
|
16
|
-
hostname: 127.0.0.23
|
17
|
-
username: admin
|
18
|
-
password:
|
19
|
-
- id: 3
|
20
|
-
displayname: QA
|
21
|
-
enabled: false
|
22
|
-
hostname: 127.0.0.3
|
23
|
-
username: admin
|
24
|
-
password: admin
|
25
|
-
- id: 4
|
26
|
-
displayname: STAGING
|
27
|
-
enabled: false
|
28
|
-
hostname: 127.0.0.4
|
29
|
-
username: admin
|
30
|
-
password: admin
|
31
|
-
- id: '7'
|
32
|
-
displayname: dev01dd
|
33
|
-
enabled: 'on'
|
34
|
-
hostname: ee
|
35
|
-
username: eee
|
36
|
-
password: eee
|
37
|
-
consumers_config:
|
38
|
-
consumers:
|
39
|
-
- name: console_consumer
|
40
|
-
enabled: true
|
41
|
-
- name: mongo_consumer
|
42
|
-
enabled: true
|
43
|
-
hostname: 127.0.0.1
|
44
|
-
username: admin
|
45
|
-
password: admin
|
46
|
-
database_prefix: rhutch_
|
47
|
-
port: 27017
|
48
|
-
- name: log4r_consumer
|
49
|
-
enabled: true
|
50
|
-
log_location: /tmp
|
51
|
-
log_prefix: rhutch_
|
data/configs/config_old.yaml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
application:
|
2
|
-
exchangename: amq.rabbitmq.trace
|
3
|
-
queuename: rabbithutch
|
4
|
-
|
5
|
-
rabbitmq:
|
6
|
-
hosts:
|
7
|
-
- id: 1
|
8
|
-
displayname: dev01
|
9
|
-
enabled: true
|
10
|
-
hostname: 127.0.0.1
|
11
|
-
username: admin
|
12
|
-
password: admin
|
13
|
-
|
14
|
-
consumers_config:
|
15
|
-
consumers:
|
16
|
-
- name: console_consumer
|
17
|
-
enabled: true
|
18
|
-
- name: mongo_consumer
|
19
|
-
enabled: true
|
20
|
-
hostname: 127.0.0.1
|
21
|
-
username: admin
|
22
|
-
password: admin
|
23
|
-
database_prefix: rhutch_
|
24
|
-
port: 27017
|
25
|
-
- name: log4r_consumer
|
26
|
-
enabled: true
|
27
|
-
log_location: /tmp
|
28
|
-
log_prefix: rhutch_
|
data/configs/configtemplate.yaml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
application:
|
2
|
-
exchangename: amq.rabbitmq.trace
|
3
|
-
queuename: rabbithutch
|
4
|
-
|
5
|
-
rabbitmq:
|
6
|
-
hosts:
|
7
|
-
- displayname: localserver
|
8
|
-
enabled: true
|
9
|
-
hostname: 127.0.0.1
|
10
|
-
username: admin
|
11
|
-
password: admin
|
12
|
-
- displayname: anotherserver
|
13
|
-
enabled: false
|
14
|
-
hostname: 127.0.0.2
|
15
|
-
username: admin
|
16
|
-
password: admin
|
17
|
-
|
18
|
-
consumers_config:
|
19
|
-
consumers:
|
20
|
-
- name: console_consumer
|
21
|
-
enabled: true
|
22
|
-
- name: mongo_consumer
|
23
|
-
enabled: true
|
24
|
-
hostname: 127.0.0.1
|
25
|
-
username: admin
|
26
|
-
password: admin
|
27
|
-
database_prefix: rhutch_
|
28
|
-
port: 27017
|
29
|
-
- name: log4r_consumer
|
30
|
-
enabled: true
|
31
|
-
log_location: /tmp
|
32
|
-
log_prefix: rhutch_
|
data/configs/webconfig.ru
DELETED
data/dev_web.sh
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
shotgun ./web/rabbithutchweb.rb
|
data/rabbithutch.gemspec
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
lib = File.expand_path('/lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
5
|
-
Gem::Specification.new do |gem|
|
6
|
-
gem.name = 'dafiti-rabbit-hutch'
|
7
|
-
gem.version = '0.1.4'
|
8
|
-
gem.licenses = ['MIT']
|
9
|
-
gem.summary = "Logger for rabbitMQ!"
|
10
|
-
gem.description = "Logger for rabbitMQ!"
|
11
|
-
gem.authors = ["Luiz Bartolomeu"]
|
12
|
-
gem.email = 'luizbart@gmail.com'
|
13
|
-
#gem.files = ["lib/example.rb"]
|
14
|
-
gem.homepage = 'https://rubygems.org/gems/example'
|
15
|
-
gem.metadata = { "source_code_uri" => "https://github.com/ext-luiz-filho/rabbit-hutch" }
|
16
|
-
gem.extra_rdoc_files = ["LICENSE.txt","README.md" ]
|
17
|
-
gem.files = `git ls-files`.split($/)
|
18
|
-
#gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
19
|
-
#gem.executable = ['rabbithutch', 'bin/rabbithutch']
|
20
|
-
gem.executables = ['rabbithutch', 'rabbithutchweb']
|
21
|
-
gem.require_paths = ["lib"]
|
22
|
-
|
23
|
-
gem.rdoc_options << '--exclude spec/testfiles'
|
24
|
-
|
25
|
-
gem.add_dependency "amqp"
|
26
|
-
gem.add_dependency "bson_ext"
|
27
|
-
gem.add_dependency "daemons"
|
28
|
-
gem.add_dependency "eventmachine"
|
29
|
-
gem.add_dependency "logger"
|
30
|
-
gem.add_dependency "log4r"
|
31
|
-
gem.add_dependency "mustache"
|
32
|
-
gem.add_dependency "mq"
|
33
|
-
gem.add_dependency "mongo"
|
34
|
-
gem.add_dependency "mongo_ext"
|
35
|
-
gem.add_dependency "thor"
|
36
|
-
gem.add_dependency "yard"
|
37
|
-
|
38
|
-
gem.add_dependency "haml"
|
39
|
-
gem.add_dependency "sinatra"
|
40
|
-
gem.add_dependency "thin"
|
41
|
-
gem.add_dependency "shotgun"
|
42
|
-
|
43
|
-
end
|