superbolt 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/lib/superbolt/version.rb +1 -1
- data/lib/tasks/superbolt.rake +9 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61758167d98c500804a53d4110e9152949b0a40b
|
4
|
+
data.tar.gz: c77f72a052043d052079fcd4fdab0da3d7eda619
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6919e902c479d9869dd873ecb40d236325f6f03dffdc8ebb3a700b13210f461626f2e8c2b2b961990e30177d35451ebaf7a6028e689d75412b49c53fb9b6034b
|
7
|
+
data.tar.gz: 6e9ff902fd92c760eed94fd6471259de78534208f0f29bfad7c6e5c1e2e5ffe675582be6f7c3490193af5d16bd8cbb045e7512aaa7a38fe5fd3c6e1180c5fa98
|
data/Gemfile
CHANGED
data/lib/superbolt/version.rb
CHANGED
data/lib/tasks/superbolt.rake
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
# assumes an environment task that sets up your app environment
|
2
2
|
desc "worker that reads the queue and sends messages through the router as configured"
|
3
3
|
task :superbolt => :environment do
|
4
|
-
|
5
|
-
Superbolt::
|
4
|
+
begin
|
5
|
+
Superbolt::App.new(Superbolt.app_name, {}).run do |message, logger|
|
6
|
+
Superbolt::Router.new(message, logger).perform
|
7
|
+
end
|
8
|
+
# Rescue SignalException so that we don't spam error handlers like Airbrake
|
9
|
+
# with SIGTERM errors every time a task is killed (Heroku dyno restarts, etc.)
|
10
|
+
rescue SignalException => e
|
11
|
+
Rails.logger.info(e.message)
|
6
12
|
end
|
7
|
-
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- socialchorus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.4.
|
188
|
+
rubygems_version: 2.4.8
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Superbolt is a gem that makes SOA intra-app communication easy, via RabbitMQ
|