pheme 5.0.8 → 5.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +18 -16
- data/lib/pheme/configuration.rb +2 -2
- data/lib/pheme/version.rb +1 -1
- data/pheme.gemspec +10 -11
- metadata +3 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e507c0868b2b69e58eaee58f49109930121db4ceb4cfb755e08f203e5959fd97
|
|
4
|
+
data.tar.gz: f81d3112e4192959f76846006a13dfcec28b7089324dbc6e8810e41009fd2936
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da448d76eb15e0453f4f67f111c583df6123234c03f6a3ad724849f0868f13c117d4aacaf6f6de0d1dc0724b2054194e21631607cdc4e5e7341eea1ff016fef5
|
|
7
|
+
data.tar.gz: 542ff7bd1f6dca93c53b9373c08588c7bfd8dd5b53bf0dd84df84f42df674cb6577f527fc8bf55cbbd873f369c2be463b11d93fed25ed646b0aeb5ff431006ff
|
data/.github/workflows/main.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.7.
|
|
1
|
+
2.7.6
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ 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.0.9 - 2022-07-15
|
|
8
|
+
### Changed
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
7
11
|
## 5.0.8 - 2022-06-20
|
|
8
12
|
### Changed
|
|
9
13
|
- Updated dependencies
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pheme (5.0.
|
|
4
|
+
pheme (5.0.9)
|
|
5
5
|
activesupport (>= 4)
|
|
6
6
|
aws-sdk-sns (~> 1.1)
|
|
7
7
|
aws-sdk-sqs (~> 1.3)
|
|
@@ -11,14 +11,14 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
activesupport (7.0.3)
|
|
14
|
+
activesupport (7.0.3.1)
|
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
16
16
|
i18n (>= 1.6, < 2)
|
|
17
17
|
minitest (>= 5.1)
|
|
18
18
|
tzinfo (~> 2.0)
|
|
19
19
|
ast (2.4.2)
|
|
20
20
|
aws-eventstream (1.2.0)
|
|
21
|
-
aws-partitions (1.
|
|
21
|
+
aws-partitions (1.606.0)
|
|
22
22
|
aws-sdk-core (3.131.2)
|
|
23
23
|
aws-eventstream (~> 1, >= 1.0.2)
|
|
24
24
|
aws-partitions (~> 1, >= 1.525.0)
|
|
@@ -40,14 +40,15 @@ GEM
|
|
|
40
40
|
docile (1.4.0)
|
|
41
41
|
git (1.11.0)
|
|
42
42
|
rchardet (~> 1.8)
|
|
43
|
-
i18n (1.
|
|
43
|
+
i18n (1.12.0)
|
|
44
44
|
concurrent-ruby (~> 1.0)
|
|
45
45
|
jmespath (1.6.1)
|
|
46
|
-
|
|
46
|
+
json (2.6.2)
|
|
47
|
+
minitest (5.16.2)
|
|
47
48
|
parallel (1.22.1)
|
|
48
49
|
parser (3.1.2.0)
|
|
49
50
|
ast (~> 2.4.1)
|
|
50
|
-
rack (2.2.
|
|
51
|
+
rack (2.2.4)
|
|
51
52
|
rainbow (3.1.1)
|
|
52
53
|
rake (13.0.6)
|
|
53
54
|
rchardet (1.8.0)
|
|
@@ -74,7 +75,8 @@ GEM
|
|
|
74
75
|
rspec-support (3.11.0)
|
|
75
76
|
rspec_junit_formatter (0.5.1)
|
|
76
77
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
77
|
-
rubocop (1.
|
|
78
|
+
rubocop (1.31.2)
|
|
79
|
+
json (~> 2.3)
|
|
78
80
|
parallel (~> 1.10)
|
|
79
81
|
parser (>= 3.1.0.0)
|
|
80
82
|
rainbow (>= 2.2.2, < 4.0)
|
|
@@ -83,17 +85,17 @@ GEM
|
|
|
83
85
|
rubocop-ast (>= 1.18.0, < 2.0)
|
|
84
86
|
ruby-progressbar (~> 1.7)
|
|
85
87
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
86
|
-
rubocop-ast (1.
|
|
88
|
+
rubocop-ast (1.19.1)
|
|
87
89
|
parser (>= 3.1.1.0)
|
|
88
90
|
rubocop-performance (1.14.2)
|
|
89
91
|
rubocop (>= 1.7.0, < 2.0)
|
|
90
92
|
rubocop-ast (>= 0.4.0)
|
|
91
|
-
rubocop-rails (2.15.
|
|
93
|
+
rubocop-rails (2.15.2)
|
|
92
94
|
activesupport (>= 4.2.0)
|
|
93
95
|
rack (>= 1.1)
|
|
94
96
|
rubocop (>= 1.7.0, < 2.0)
|
|
95
|
-
rubocop-rspec (2.
|
|
96
|
-
rubocop (~> 1.
|
|
97
|
+
rubocop-rspec (2.12.1)
|
|
98
|
+
rubocop (~> 1.31)
|
|
97
99
|
rubocop-vendor (0.8.10)
|
|
98
100
|
rubocop (>= 0.53.0)
|
|
99
101
|
ruby-progressbar (1.11.0)
|
|
@@ -103,13 +105,13 @@ GEM
|
|
|
103
105
|
simplecov_json_formatter (~> 0.1)
|
|
104
106
|
simplecov-html (0.12.3)
|
|
105
107
|
simplecov_json_formatter (0.1.4)
|
|
106
|
-
smarter_csv (1.
|
|
108
|
+
smarter_csv (1.7.0)
|
|
107
109
|
thor (1.2.1)
|
|
108
110
|
tzinfo (2.0.4)
|
|
109
111
|
concurrent-ruby (~> 1.0)
|
|
110
|
-
unicode-display_width (2.
|
|
111
|
-
ws-style (6.13.
|
|
112
|
-
rubocop (>= 1.
|
|
112
|
+
unicode-display_width (2.2.0)
|
|
113
|
+
ws-style (6.13.25)
|
|
114
|
+
rubocop (>= 1.30)
|
|
113
115
|
rubocop-performance (>= 1.10.2)
|
|
114
116
|
rubocop-rails (>= 2.9.1)
|
|
115
117
|
rubocop-rspec (>= 2.2.0)
|
|
@@ -132,4 +134,4 @@ DEPENDENCIES
|
|
|
132
134
|
ws-style
|
|
133
135
|
|
|
134
136
|
BUNDLED WITH
|
|
135
|
-
2.3.
|
|
137
|
+
2.3.14
|
data/lib/pheme/configuration.rb
CHANGED
|
@@ -30,8 +30,8 @@ module Pheme
|
|
|
30
30
|
ATTRIBUTES.each do |attribute|
|
|
31
31
|
raise "Invalid or missing configuration for #{attribute}" if send(attribute).blank?
|
|
32
32
|
end
|
|
33
|
-
raise "sns_client must be a Aws::SNS::Client"
|
|
34
|
-
raise "sns_client must be a Aws::SQS::Client"
|
|
33
|
+
raise "sns_client must be a Aws::SNS::Client" unless sns_client.is_a?(Aws::SNS::Client)
|
|
34
|
+
raise "sns_client must be a Aws::SQS::Client" unless sqs_client.is_a?(Aws::SQS::Client)
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
end
|
data/lib/pheme/version.rb
CHANGED
data/pheme.gemspec
CHANGED
|
@@ -6,19 +6,18 @@ require 'pheme/version'
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless s.respond_to?(:metadata)
|
|
8
8
|
|
|
9
|
-
s.name
|
|
10
|
-
s.version
|
|
11
|
-
s.authors
|
|
12
|
-
s.email
|
|
13
|
-
s.description
|
|
14
|
-
s.summary
|
|
15
|
-
s.homepage
|
|
9
|
+
s.name = 'pheme'
|
|
10
|
+
s.version = Pheme::VERSION
|
|
11
|
+
s.authors = ['Peter Graham']
|
|
12
|
+
s.email = ['peter@wealthsimple.com']
|
|
13
|
+
s.description = 'Ruby AWS SNS publisher + SQS poller & message handler'
|
|
14
|
+
s.summary = 'Ruby SNS publisher + SQS poller & message handler'
|
|
15
|
+
s.homepage = 'https://github.com/wealthsimple/pheme'
|
|
16
16
|
|
|
17
|
-
s.files
|
|
18
|
-
s.executables
|
|
19
|
-
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
17
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
|
18
|
+
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
|
20
19
|
s.require_paths = ['lib']
|
|
21
|
-
s.license
|
|
20
|
+
s.license = 'MIT'
|
|
22
21
|
|
|
23
22
|
s.required_ruby_version = '>= 2.7.3'
|
|
24
23
|
|
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.0.
|
|
4
|
+
version: 5.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Graham
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -282,21 +282,4 @@ rubygems_version: 3.1.6
|
|
|
282
282
|
signing_key:
|
|
283
283
|
specification_version: 4
|
|
284
284
|
summary: Ruby SNS publisher + SQS poller & message handler
|
|
285
|
-
test_files:
|
|
286
|
-
- spec/configuration_spec.rb
|
|
287
|
-
- spec/logger_spec.rb
|
|
288
|
-
- spec/message_handler_spec.rb
|
|
289
|
-
- spec/message_type/aws_event_spec.rb
|
|
290
|
-
- spec/message_type/sns_message_spec.rb
|
|
291
|
-
- spec/queue_poller_spec.rb
|
|
292
|
-
- spec/rollbar_spec.rb
|
|
293
|
-
- spec/spec_helper.rb
|
|
294
|
-
- spec/support/example_aws_event_queue_poller.rb
|
|
295
|
-
- spec/support/example_message_handler.rb
|
|
296
|
-
- spec/support/example_publisher.rb
|
|
297
|
-
- spec/support/example_queue_poller.rb
|
|
298
|
-
- spec/support/example_queue_poller_with_inlined_handler.rb
|
|
299
|
-
- spec/support/example_queue_poller_with_message_handler.rb
|
|
300
|
-
- spec/support/example_with_arn_publisher.rb
|
|
301
|
-
- spec/topic_publisher_spec.rb
|
|
302
|
-
- spec/version_spec.rb
|
|
285
|
+
test_files: []
|