pheme 5.0.7 → 5.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +26 -24
- 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: 21b8203e245d5cfea652d3f1ca42c8e72015119aa6b9538f80eaf2f9a2ca3551
|
4
|
+
data.tar.gz: d9b907056923cc4451125268a6cff61b13631cf65e62d55928ff70bef780182e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949ee186399b25b8c3d3620cd6f05419a1f38c3b1f597a168bbbe781cd0bd99dd316a8f62d4af1d7c705d5bb8734a7a27fc9867192033bd2371816cf881aee63
|
7
|
+
data.tar.gz: c5345f41c40b55dffedf136b4f64e22de89cc92de32834e9afc816333cd2fdbec38536f8a8a45f0ed8015595c50f01c1a8f85fc198f0a3ee02af71dceb9eb8c5
|
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,18 @@ 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.10 - 2022-08-12
|
8
|
+
### Changed
|
9
|
+
- Updated dependencies
|
10
|
+
|
11
|
+
## 5.0.9 - 2022-07-15
|
12
|
+
### Changed
|
13
|
+
- Updated dependencies
|
14
|
+
|
15
|
+
## 5.0.8 - 2022-06-20
|
16
|
+
### Changed
|
17
|
+
- Updated dependencies
|
18
|
+
|
7
19
|
## 5.0.7 - 2022-05-27
|
8
20
|
### Changed
|
9
21
|
- Updated rack
|
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.10)
|
5
5
|
activesupport (>= 4)
|
6
6
|
aws-sdk-sns (~> 1.1)
|
7
7
|
aws-sdk-sqs (~> 1.3)
|
@@ -11,15 +11,15 @@ 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.
|
22
|
-
aws-sdk-core (3.
|
21
|
+
aws-partitions (1.617.0)
|
22
|
+
aws-sdk-core (3.132.0)
|
23
23
|
aws-eventstream (~> 1, >= 1.0.2)
|
24
24
|
aws-partitions (~> 1, >= 1.525.0)
|
25
25
|
aws-sigv4 (~> 1.1)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
aws-sdk-sqs (1.51.1)
|
31
31
|
aws-sdk-core (~> 3, >= 3.127.0)
|
32
32
|
aws-sigv4 (~> 1.1)
|
33
|
-
aws-sigv4 (1.5.
|
33
|
+
aws-sigv4 (1.5.1)
|
34
34
|
aws-eventstream (~> 1, >= 1.0.2)
|
35
35
|
bundler-audit (0.9.1)
|
36
36
|
bundler (>= 1.2.0, < 3)
|
@@ -40,18 +40,19 @@ 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
|
-
parser (3.1.2.
|
49
|
+
parser (3.1.2.1)
|
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)
|
54
|
-
regexp_parser (2.
|
55
|
+
regexp_parser (2.5.0)
|
55
56
|
resource-struct (0.4.0)
|
56
57
|
rexml (3.2.5)
|
57
58
|
rspec (3.11.0)
|
@@ -74,26 +75,27 @@ 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.34.1)
|
79
|
+
json (~> 2.3)
|
78
80
|
parallel (~> 1.10)
|
79
|
-
parser (>= 3.1.
|
81
|
+
parser (>= 3.1.2.1)
|
80
82
|
rainbow (>= 2.2.2, < 4.0)
|
81
83
|
regexp_parser (>= 1.8, < 3.0)
|
82
84
|
rexml (>= 3.2.5, < 4.0)
|
83
|
-
rubocop-ast (>= 1.
|
85
|
+
rubocop-ast (>= 1.20.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.21.0)
|
87
89
|
parser (>= 3.1.1.0)
|
88
|
-
rubocop-performance (1.
|
90
|
+
rubocop-performance (1.14.3)
|
89
91
|
rubocop (>= 1.7.0, < 2.0)
|
90
92
|
rubocop-ast (>= 0.4.0)
|
91
|
-
rubocop-rails (2.
|
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.1)
|
107
109
|
thor (1.2.1)
|
108
|
-
tzinfo (2.0.
|
110
|
+
tzinfo (2.0.5)
|
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.16
|
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.10
|
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-08-12 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: []
|