google-pubsub-enhancer 0.4.2 → 0.5.0

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: 7547f7996df2c7effe62196325f9c3ce662930d4
4
- data.tar.gz: 2ce107a0c1c214629086fe1c83da8bb0889de0ea
3
+ metadata.gz: 598dded4b468b690d2bb999edcb90fd5268f168b
4
+ data.tar.gz: 0c51990f11c382f61b0930cc9fabaaaa303668fe
5
5
  SHA512:
6
- metadata.gz: 11502a8fdf9b17ab597cd167ec4489e6a7cd317c125542311e64ff3157e56c0030e412a3b995b065f8e05b55a8ba576582f8e58e19e91563d8721b58054b1173
7
- data.tar.gz: 733606dbaac9f47caa4ae611afa8fcc6506e9619a45203a7de91c0e80988c49d77a18b2a81326aa96c2d9143155cf72976baad1b0b0c778d8bd13c3c9c9f677f
6
+ metadata.gz: 9c924edc41dfb127cc14fa542c1e28ad6234d5ab8548fb15037abd0ccb3416239fe7c5b7eebb8626eee6fb63df6eb30d799930f5e92b14432bebeda110e8fa8b
7
+ data.tar.gz: 12a13974b8f4604ec7fe0c3d26a1f31612171be11cb5603cf2118115dab6b1babee62581c934ba46dfd1c8873d6713bffbd1ba7f0cb3a2a7b4b5bce96805a65f
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /tags
11
+ /spike
@@ -16,6 +16,9 @@ class GooglePubsubEnhancer::Middleware::Publisher
16
16
  publisher.publish(m)
17
17
  end
18
18
  end
19
+ rescue => ex
20
+ @logger.error("Retry publisher: #{ex}")
21
+ retry
19
22
  @app.call(env)
20
23
  end
21
24
 
@@ -1,3 +1,3 @@
1
1
  class GooglePubsubEnhancer
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-pubsub-enhancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bejczib
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler