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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5538787ae4effae010bb8945665a50e62475742
4
- data.tar.gz: def383a9340e518b5474ee2683a296523605a2df
3
+ metadata.gz: 61758167d98c500804a53d4110e9152949b0a40b
4
+ data.tar.gz: c77f72a052043d052079fcd4fdab0da3d7eda619
5
5
  SHA512:
6
- metadata.gz: a9d58771dec607c6388428b5178ea5d611d045b2372bf5dbbfbcbb25651afda4331e0cfcedd32c2d36b299e56ca1e4a9bdaad9b6e87d2cb59f561f57431535a4
7
- data.tar.gz: 9d53728ce7cd8b8efa63f4e9ad709560658bf95cee5c76e60179a3de36e0686c90ada4425ca490e1646021141e146664af9f365d33a71ec2f11810066eb9bdb8
6
+ metadata.gz: 6919e902c479d9869dd873ecb40d236325f6f03dffdc8ebb3a700b13210f461626f2e8c2b2b961990e30177d35451ebaf7a6028e689d75412b49c53fb9b6034b
7
+ data.tar.gz: 6e9ff902fd92c760eed94fd6471259de78534208f0f29bfad7c6e5c1e2e5ffe675582be6f7c3490193af5d16bd8cbb045e7512aaa7a38fe5fd3c6e1180c5fa98
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ ruby '2.0.0'
4
+
3
5
  # Specify your gem's dependencies in superbolt.gemspec
4
6
  gemspec
@@ -1,3 +1,3 @@
1
1
  module Superbolt
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
@@ -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
- Superbolt::App.new(Superbolt.app_name, {}).run do |message, logger|
5
- Superbolt::Router.new(message, logger).perform
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.3
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-07-08 00:00:00.000000000 Z
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.6
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