pheme 5.2.13 → 5.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +28 -28
- data/lib/pheme/topic_publisher.rb +2 -1
- data/lib/pheme/version.rb +1 -1
- data/spec/topic_publisher_spec.rb +27 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fb69436830ceb6a48bac5d53b99b7129b659597a528650786d9363f2afaf7f9
|
4
|
+
data.tar.gz: 99f7306b0aed6bbd2a6b7a69e9bdb100ac098590ccc2f3dbdd9ea7ad5e178aaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c31f58ea0c1847125ece096afc493f794e817b8b420281c9e949361e29b7882af549e8c951671653db0fcae8f921264ef3d189683fcc1ddcadaeb03e90476bf
|
7
|
+
data.tar.gz: 908f2f97ad9df0c145694ad36ce80d1831b88c8d082cefc6ea66ce41a9a98e2e0cc16c9b32e2a7e2e0e2e1f5cd5ff4c375967e01bba719c1bd50b88b07006483
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 5.2.15 - 2024-02-23
|
8
|
+
### Changed
|
9
|
+
- Updated dependencies
|
10
|
+
|
11
|
+
## 5.2.14 - 2024-02-05
|
12
|
+
### Changed
|
13
|
+
- Do not log message body when publishing. Message bodies may have PII like email addresses in them.
|
14
|
+
|
7
15
|
## 5.2.13 - 2024-01-26
|
8
16
|
### Changed
|
9
17
|
- Updated dependencies
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pheme (5.2.
|
4
|
+
pheme (5.2.15)
|
5
5
|
activesupport (>= 4)
|
6
6
|
aws-sdk-sns (~> 1.1)
|
7
7
|
aws-sdk-sqs (~> 1.3)
|
@@ -11,7 +11,7 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (7.1.3)
|
14
|
+
activesupport (7.1.3.2)
|
15
15
|
base64
|
16
16
|
bigdecimal
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -25,17 +25,17 @@ GEM
|
|
25
25
|
public_suffix (>= 2.0.2, < 6.0)
|
26
26
|
ast (2.4.2)
|
27
27
|
aws-eventstream (1.3.0)
|
28
|
-
aws-partitions (1.
|
29
|
-
aws-sdk-core (3.
|
28
|
+
aws-partitions (1.894.0)
|
29
|
+
aws-sdk-core (3.191.3)
|
30
30
|
aws-eventstream (~> 1, >= 1.3.0)
|
31
31
|
aws-partitions (~> 1, >= 1.651.0)
|
32
32
|
aws-sigv4 (~> 1.8)
|
33
33
|
jmespath (~> 1, >= 1.6.1)
|
34
|
-
aws-sdk-sns (1.
|
35
|
-
aws-sdk-core (~> 3, >= 3.
|
34
|
+
aws-sdk-sns (1.72.0)
|
35
|
+
aws-sdk-core (~> 3, >= 3.191.0)
|
36
36
|
aws-sigv4 (~> 1.1)
|
37
|
-
aws-sdk-sqs (1.
|
38
|
-
aws-sdk-core (~> 3, >= 3.
|
37
|
+
aws-sdk-sqs (1.70.0)
|
38
|
+
aws-sdk-core (~> 3, >= 3.191.0)
|
39
39
|
aws-sigv4 (~> 1.1)
|
40
40
|
aws-sigv4 (1.8.0)
|
41
41
|
aws-eventstream (~> 1, >= 1.0.2)
|
@@ -46,7 +46,7 @@ GEM
|
|
46
46
|
thor (~> 1.0)
|
47
47
|
concurrent-ruby (1.2.3)
|
48
48
|
connection_pool (2.4.1)
|
49
|
-
diff-lcs (1.5.
|
49
|
+
diff-lcs (1.5.1)
|
50
50
|
docile (1.4.0)
|
51
51
|
drb (2.2.0)
|
52
52
|
ruby2_keywords
|
@@ -59,7 +59,7 @@ GEM
|
|
59
59
|
json (2.7.1)
|
60
60
|
language_server-protocol (3.17.0.3)
|
61
61
|
lint_roller (1.1.0)
|
62
|
-
minitest (5.
|
62
|
+
minitest (5.22.2)
|
63
63
|
mutex_m (0.2.0)
|
64
64
|
parallel (1.24.0)
|
65
65
|
parser (3.3.0.5)
|
@@ -67,38 +67,38 @@ GEM
|
|
67
67
|
racc
|
68
68
|
public_suffix (5.0.4)
|
69
69
|
racc (1.7.3)
|
70
|
-
rack (3.0.
|
70
|
+
rack (3.0.9.1)
|
71
71
|
rainbow (3.1.1)
|
72
72
|
rake (13.1.0)
|
73
73
|
rchardet (1.8.0)
|
74
74
|
regexp_parser (2.9.0)
|
75
75
|
resource-struct (0.4.0)
|
76
76
|
rexml (3.2.6)
|
77
|
-
rspec (3.
|
78
|
-
rspec-core (~> 3.
|
79
|
-
rspec-expectations (~> 3.
|
80
|
-
rspec-mocks (~> 3.
|
77
|
+
rspec (3.13.0)
|
78
|
+
rspec-core (~> 3.13.0)
|
79
|
+
rspec-expectations (~> 3.13.0)
|
80
|
+
rspec-mocks (~> 3.13.0)
|
81
81
|
rspec-collection_matchers (1.2.1)
|
82
82
|
rspec-expectations (>= 2.99.0.beta1)
|
83
|
-
rspec-core (3.
|
84
|
-
rspec-support (~> 3.
|
85
|
-
rspec-expectations (3.
|
83
|
+
rspec-core (3.13.0)
|
84
|
+
rspec-support (~> 3.13.0)
|
85
|
+
rspec-expectations (3.13.0)
|
86
86
|
diff-lcs (>= 1.2.0, < 2.0)
|
87
|
-
rspec-support (~> 3.
|
87
|
+
rspec-support (~> 3.13.0)
|
88
88
|
rspec-its (1.3.0)
|
89
89
|
rspec-core (>= 3.0.0)
|
90
90
|
rspec-expectations (>= 3.0.0)
|
91
|
-
rspec-mocks (3.
|
91
|
+
rspec-mocks (3.13.0)
|
92
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
-
rspec-support (~> 3.
|
94
|
-
rspec-support (3.
|
93
|
+
rspec-support (~> 3.13.0)
|
94
|
+
rspec-support (3.13.0)
|
95
95
|
rspec_junit_formatter (0.6.0)
|
96
96
|
rspec-core (>= 2, < 4, != 2.12.0)
|
97
|
-
rubocop (1.
|
97
|
+
rubocop (1.60.2)
|
98
98
|
json (~> 2.3)
|
99
99
|
language_server-protocol (>= 3.17.0)
|
100
100
|
parallel (~> 1.10)
|
101
|
-
parser (>= 3.
|
101
|
+
parser (>= 3.3.0.2)
|
102
102
|
rainbow (>= 2.2.2, < 4.0)
|
103
103
|
regexp_parser (>= 1.8, < 3.0)
|
104
104
|
rexml (>= 3.2.5, < 4.0)
|
@@ -133,11 +133,11 @@ GEM
|
|
133
133
|
simplecov_json_formatter (~> 0.1)
|
134
134
|
simplecov-html (0.12.3)
|
135
135
|
simplecov_json_formatter (0.1.4)
|
136
|
-
smarter_csv (1.10.
|
137
|
-
standard (1.
|
136
|
+
smarter_csv (1.10.2)
|
137
|
+
standard (1.34.0)
|
138
138
|
language_server-protocol (~> 3.17.0.2)
|
139
139
|
lint_roller (~> 1.0)
|
140
|
-
rubocop (~> 1.
|
140
|
+
rubocop (~> 1.60)
|
141
141
|
standard-custom (~> 1.0.0)
|
142
142
|
standard-performance (~> 1.3)
|
143
143
|
standard-custom (1.0.2)
|
@@ -153,7 +153,7 @@ GEM
|
|
153
153
|
tzinfo (2.0.6)
|
154
154
|
concurrent-ruby (~> 1.0)
|
155
155
|
unicode-display_width (2.5.0)
|
156
|
-
ws-style (7.4.
|
156
|
+
ws-style (7.4.3)
|
157
157
|
rubocop-rspec (>= 2.2.0)
|
158
158
|
rubocop-vendor (>= 0.11)
|
159
159
|
standard (>= 1.30.1)
|
data/lib/pheme/version.rb
CHANGED
@@ -47,6 +47,15 @@ describe Pheme::TopicPublisher do
|
|
47
47
|
message_deduplication_id: nil,
|
48
48
|
message_group_id: nil,
|
49
49
|
})
|
50
|
+
expect(Pheme.logger).to(
|
51
|
+
receive(:info).with(
|
52
|
+
{
|
53
|
+
message: "ExamplePublisher publishing message to arn:aws:sns:whatever",
|
54
|
+
publisher: "ExamplePublisher",
|
55
|
+
topic_arn: "arn:aws:sns:whatever",
|
56
|
+
}.to_json,
|
57
|
+
).twice,
|
58
|
+
)
|
50
59
|
subject.publish_events
|
51
60
|
end
|
52
61
|
|
@@ -64,6 +73,15 @@ describe Pheme::TopicPublisher do
|
|
64
73
|
message_deduplication_id: nil,
|
65
74
|
message_group_id: nil,
|
66
75
|
})
|
76
|
+
expect(Pheme.logger).to(
|
77
|
+
receive(:info).with(
|
78
|
+
{
|
79
|
+
message: "Pheme::TopicPublisher publishing message to #{topic_arn}",
|
80
|
+
publisher: "Pheme::TopicPublisher",
|
81
|
+
topic_arn: topic_arn,
|
82
|
+
}.to_json,
|
83
|
+
),
|
84
|
+
)
|
67
85
|
subject.publish(message)
|
68
86
|
end
|
69
87
|
|
@@ -78,6 +96,15 @@ describe Pheme::TopicPublisher do
|
|
78
96
|
message_deduplication_id: nil,
|
79
97
|
message_group_id: nil,
|
80
98
|
})
|
99
|
+
expect(Pheme.logger).to(
|
100
|
+
receive(:info).with(
|
101
|
+
{
|
102
|
+
message: "Pheme::TopicPublisher publishing message to #{topic_arn}",
|
103
|
+
publisher: "Pheme::TopicPublisher",
|
104
|
+
topic_arn: topic_arn,
|
105
|
+
}.to_json,
|
106
|
+
),
|
107
|
+
)
|
81
108
|
subject.publish(message, sns_client: sns_client)
|
82
109
|
end
|
83
110
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pheme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|