pushyd 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -4
- data/bin/pushyd +13 -7
- data/lib/pushyd.rb +4 -0
- data/lib/pushyd/proxy.rb +0 -2
- data/lib/pushyd/shouter.rb +0 -3
- data/pushyd.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca463949c5fa9f480b8e633fcc7e643c65b99b49
|
4
|
+
data.tar.gz: 41cc183c357febc1b7e6b0205b77780ac02e74de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d82de71f0db606d5bac58b41492e8516fade29b2129b9bc87cdfdfa23ea5a6f754e2503f56a6e2dda41249b5f60d22e9022692007800c5b3606e0857888291e1
|
7
|
+
data.tar.gz: 688aad1c187603bfa35e6a48f4f7ded4298518ec38255c63bb8cc9106206d1bde2aed7f806a83d8b3749139a6eaeec90e2ef7fcc4472ae0f2f5cfce39ab4f4f4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,13 +6,13 @@ pushyd
|
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/bmedici/pushyd/badges/coverage.svg)](https://codeclimate.com/github/bmedici/pushyd/coverage)
|
7
7
|
[ ![Codeship](https://codeship.com/projects/72fcb0f0-0fa7-0134-fb73-16f75abdb9e2/status?branch=master)](https://codeship.com/projects/156725)
|
8
8
|
|
9
|
-
|
9
|
+
A nice proxy listenning to a RabbitMQ bus, repeating selected messages in POST requests when filters match routing patterns
|
10
10
|
|
11
11
|
|
12
12
|
Known bugs
|
13
13
|
------------------------------------------------------------------------------------
|
14
14
|
|
15
|
-
|
15
|
+
* As this project is based on the Psyck YAML parser, configuration merge from "defaults" section and environment-specific section are broken. A sub-tree defined for a specific environment, will overwrite the corresponding subtree from "defaults". Please repeat whole sections from "defaults".
|
16
16
|
|
17
17
|
|
18
18
|
Contributing
|
@@ -42,10 +42,8 @@ So,
|
|
42
42
|
* add proper tests if adding a feature
|
43
43
|
* run the tests using `rake`
|
44
44
|
* check for RuboCop style guide violations
|
45
|
-
|
46
45
|
4. Commit your changes
|
47
46
|
5. Push to the branch (`git push origin my-new-feature`)
|
48
|
-
|
49
47
|
6. Create new Pull Request
|
50
48
|
|
51
49
|
|
data/bin/pushyd
CHANGED
@@ -35,13 +35,6 @@ begin
|
|
35
35
|
# Build Chamber-based configuration from Gemspec with initial context
|
36
36
|
Conf.prepare root: APP_ROOT, gemspec: "pushyd", env: cmd_env, config: cmd_config, log: cmd_logfile
|
37
37
|
|
38
|
-
# Display final configuration
|
39
|
-
puts "--- #{Conf.name} #{Conf.version}"
|
40
|
-
puts "Environment \t #{Conf.env}"
|
41
|
-
puts "Config files \t #{Conf.files}"
|
42
|
-
puts "Loging to file \t #{Conf[:log]}"
|
43
|
-
puts Conf.dump if cmd_dump
|
44
|
-
|
45
38
|
rescue OptionParser::InvalidOption => e
|
46
39
|
abort "EXITING: option parser: #{e.message}"
|
47
40
|
rescue PushyDaemon::ConfigParseError => e
|
@@ -50,6 +43,19 @@ rescue StandardError => e
|
|
50
43
|
abort "EXITING: Exception: #{e.message}"
|
51
44
|
end
|
52
45
|
|
46
|
+
# Display final configuration
|
47
|
+
puts "--- #{Conf.name} #{Conf.version}"
|
48
|
+
puts "YAML Parser \t #{YAML.name}"
|
49
|
+
puts "Environment \t #{Conf.env}"
|
50
|
+
puts "Config files \t #{Conf.files}"
|
51
|
+
puts "Loging to file \t #{Conf[:log]}"
|
52
|
+
|
53
|
+
|
54
|
+
# Quit if config dump requested
|
55
|
+
if cmd_dump
|
56
|
+
puts Conf.dump
|
57
|
+
exit(0)
|
58
|
+
|
53
59
|
|
54
60
|
# Run daemon
|
55
61
|
run_options = {
|
data/lib/pushyd.rb
CHANGED
data/lib/pushyd/proxy.rb
CHANGED
data/lib/pushyd/shouter.rb
CHANGED
data/pushyd.gemspec
CHANGED