pwwka 0.17.0 → 0.18.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
  SHA256:
3
- metadata.gz: e9a3dc1069389bc19bef4c75f90900dd4580a739fb96865edbaa06a829700ad8
4
- data.tar.gz: 4463babd7364e8084ebe87bdb57cccc1fdcc1262a435d3cf9540bdd77ef6a58b
3
+ metadata.gz: b139453f92c1d63b9c1480164bb5a31e88761621fb27f7614343b5d0b71f4638
4
+ data.tar.gz: d253aa29930a718c890f026b83b51c0ed919f8b60b87bb8c4d02ce78128cb76d
5
5
  SHA512:
6
- metadata.gz: ddbba8fb8943d7ab931abd2fd38bd8840c30acd43404c51772e4aa0fe3d416afb197aa61dbd2d047d5701669630ec39bbcd41780fcbf5a070c301cbdd2c828ea
7
- data.tar.gz: 1cba823b9fdccb53cfcbd2bc90e0a909fb428cfd9a763f02696466ccd187f10c8df4d9c6de1c3e2d31e6a7aa3a73e3cfe6b80c17099c25ed43c986b9a6d47aa6
6
+ metadata.gz: 91c2138ab501dc84f508a040bd802d973949d8e49a1167f9f5353a2eaa208fd13530e7623be641418e898cfcb0809d228d95df3dfb0840db3ed32548d8d1a0f5
7
+ data.tar.gz: 6746ec10356e0988b7fd8af41c226fd71fc7d2fecf20c9c75d8ca7d56025cf82ad619dc6081f6258773851f960245c0e47e1cfd2a5aae707ed5db6d62d2bc698
@@ -3,9 +3,9 @@
3
3
  ---
4
4
  version: 2
5
5
  jobs:
6
- ruby-2.5.1-rails-5.2:
6
+ ruby-2.5.3-rails-5.2:
7
7
  docker:
8
- - image: circleci/ruby:2.5.1
8
+ - image: circleci/ruby:2.5.3
9
9
  environment:
10
10
  BUNDLE_GEMFILE: Gemfile.rails-5.2
11
11
  - image: redis:2.8.12
@@ -26,9 +26,9 @@ jobs:
26
26
  when: on_fail
27
27
  - store_test_results:
28
28
  path: "/tmp/test-results"
29
- ruby-2.4.4-rails-5.2:
29
+ ruby-2.4.5-rails-5.2:
30
30
  docker:
31
- - image: circleci/ruby:2.4.4
31
+ - image: circleci/ruby:2.4.5
32
32
  environment:
33
33
  BUNDLE_GEMFILE: Gemfile.rails-5.2
34
34
  - image: redis:2.8.12
@@ -49,9 +49,9 @@ jobs:
49
49
  when: on_fail
50
50
  - store_test_results:
51
51
  path: "/tmp/test-results"
52
- ruby-2.5.1-rails-5.1:
52
+ ruby-2.5.3-rails-5.1:
53
53
  docker:
54
- - image: circleci/ruby:2.5.1
54
+ - image: circleci/ruby:2.5.3
55
55
  environment:
56
56
  BUNDLE_GEMFILE: Gemfile.rails-5.1
57
57
  - image: redis:2.8.12
@@ -72,9 +72,9 @@ jobs:
72
72
  when: on_fail
73
73
  - store_test_results:
74
74
  path: "/tmp/test-results"
75
- ruby-2.4.4-rails-5.1:
75
+ ruby-2.4.5-rails-5.1:
76
76
  docker:
77
- - image: circleci/ruby:2.4.4
77
+ - image: circleci/ruby:2.4.5
78
78
  environment:
79
79
  BUNDLE_GEMFILE: Gemfile.rails-5.1
80
80
  - image: redis:2.8.12
@@ -99,13 +99,13 @@ workflows:
99
99
  version: 2
100
100
  on-commit:
101
101
  jobs:
102
- - ruby-2.5.1-rails-5.2:
102
+ - ruby-2.5.3-rails-5.2:
103
103
  context: org-global
104
- - ruby-2.4.4-rails-5.2:
104
+ - ruby-2.4.5-rails-5.2:
105
105
  context: org-global
106
- - ruby-2.5.1-rails-5.1:
106
+ - ruby-2.5.3-rails-5.1:
107
107
  context: org-global
108
- - ruby-2.4.4-rails-5.1:
108
+ - ruby-2.4.5-rails-5.1:
109
109
  context: org-global
110
110
  scheduled:
111
111
  triggers:
@@ -116,11 +116,11 @@ workflows:
116
116
  only:
117
117
  - master
118
118
  jobs:
119
- - ruby-2.5.1-rails-5.2:
119
+ - ruby-2.5.3-rails-5.2:
120
120
  context: org-global
121
- - ruby-2.4.4-rails-5.2:
121
+ - ruby-2.4.5-rails-5.2:
122
122
  context: org-global
123
- - ruby-2.5.1-rails-5.1:
123
+ - ruby-2.5.3-rails-5.1:
124
124
  context: org-global
125
- - ruby-2.4.4-rails-5.1:
125
+ - ruby-2.4.5-rails-5.1:
126
126
  context: org-global
@@ -63,7 +63,7 @@ module Pwwka
63
63
  true
64
64
  rescue => e
65
65
 
66
- logf "ERROR Transmitting Message on %{routing_key} -> %{payload}", routing_key: routing_key, payload: payload, at: :error
66
+ logf "ERROR Transmitting Message on %{routing_key} -> %{payload} : %{error}", routing_key: routing_key, payload: payload, error: e, at: :error
67
67
 
68
68
  case on_error
69
69
 
@@ -1,3 +1,3 @@
1
1
  module Pwwka
2
- VERSION = '0.17.0'
2
+ VERSION = '0.18.0'
3
3
  end
@@ -50,6 +50,7 @@ RSpec.configure do |config|
50
50
  end
51
51
  end
52
52
  example.run
53
+ Pwwka.configuration.receive_raw_payload = false
53
54
  end
54
55
  config.order = :random
55
56
  config.filter_run_excluding :legacy
@@ -244,6 +244,7 @@ describe Pwwka::Transmitter do
244
244
  rescue => ex
245
245
  end
246
246
  expect(logger).to have_received(:error).with(/ERROR Transmitting Message on #{routing_key} ->/)
247
+ expect(logger).to have_received(:error).with(/OH NOES/)
247
248
  end
248
249
  context "on_error: :ignore" do
249
250
  it "ignores the error" do
@@ -300,6 +301,7 @@ describe Pwwka::Transmitter do
300
301
  rescue => ex
301
302
  end
302
303
  expect(logger).to have_received(:error).with(/ERROR Transmitting Message on #{routing_key} ->/)
304
+ expect(logger).to have_received(:error).with(/OH NOES/)
303
305
  end
304
306
  it "ignores the error" do
305
307
  expect {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwwka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stitch Fix Engineering
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2018-08-30 00:00:00.000000000 Z
18
+ date: 2018-12-05 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bunny