pheme 5.2.11 → 5.2.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e25e149dc2f64f121a33a3d923b86c75bcaf3ceb87ddd5ffda9dc68c863c88c1
4
- data.tar.gz: 8db469aa1a3ab3d28b841da410a056354dd1ed84b1a2f5eab86d510710b39ba9
3
+ metadata.gz: e2e854425b97f612081bf9bbb142d289933e30b7f1c10c67eb882a7073715f79
4
+ data.tar.gz: ed00822519b70b24cff69a6f241f465869fb7bfc217f7b8bfc470f2aca4f198f
5
5
  SHA512:
6
- metadata.gz: 9eb47baaf5837fceb39e3633b16e02c6342821366c6c6239de9e45bbfb44881fae010afc3142d639f1becd15ad60534a691e769df2a93b0b2d818d7bc4307985
7
- data.tar.gz: 478438ba49933e7de6af3b86297c0fc148013fc34e37f035e81942d8aecc25f4fd89df1d02e5bcbc8c5858c1d99f9b941f007474688efc8e52ed6422c685009c
6
+ metadata.gz: 7f6ae0647ba7a252ee9c2cdffc4c847dc0a18598aeba5e5bf484cada65a0f783db2075bd7f0532e7f7a32ae8b9b5d30a8eddf1bd57df20b0a4acf4ecac466bc0
7
+ data.tar.gz: 3d55b80ced75f5a490fa12218b480b5bef899ca457242990d37ba2ff3bcefbef4b68e373b2fdc0e4bafdaa55c66718c274219ae14942de640c62ec3226e1a6e1
data/.rubocop_todo.yml CHANGED
@@ -1,38 +1,15 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2021-01-07 16:23:09 UTC using RuboCop version 1.6.1.
3
+ # on 2024-01-02 17:53:08 UTC using RuboCop version 1.59.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 19
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
12
- # URISchemes: http, https
13
- Layout/LineLength:
14
- Max: 147
15
-
16
9
  # Offense count: 2
17
- # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
10
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
18
11
  Metrics/AbcSize:
19
- Max: 22
20
-
21
- # Offense count: 1
22
- # Configuration parameters: IgnoredMethods.
23
- Metrics/CyclomaticComplexity:
24
- Max: 10
25
-
26
- # Offense count: 3
27
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
28
- # IgnoredMethods: extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended, extended
29
- Metrics/MethodLength:
30
- Max: 28
31
-
32
- # Offense count: 1
33
- # Configuration parameters: IgnoredMethods.
34
- Metrics/PerceivedComplexity:
35
- Max: 11
12
+ Max: 20
36
13
 
37
14
  # Offense count: 9
38
15
  # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
@@ -66,14 +43,9 @@ RSpec/VerifiedDoubles:
66
43
  - 'spec/queue_poller_spec.rb'
67
44
 
68
45
  # Offense count: 2
69
- # Configuration parameters: MinBodyLength.
70
- Style/GuardClause:
71
- Exclude:
72
- - 'lib/pheme/queue_poller.rb'
73
-
74
- # Offense count: 2
75
- # Cop supports --auto-correct.
76
- Style/IfUnlessModifier:
46
+ # This cop supports unsafe autocorrection (--autocorrect-all).
47
+ # Configuration parameters: EnforcedStyle.
48
+ # SupportedStyles: strict, flexible
49
+ Rails/TimeZone:
77
50
  Exclude:
78
51
  - 'lib/pheme/queue_poller.rb'
79
- - 'pheme.gemspec'
data/CHANGELOG.md CHANGED
@@ -4,23 +4,31 @@ 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.10 - 2023-12-01
7
+ ## 5.2.13 - 2024-01-26
8
8
  ### Changed
9
9
  - Updated dependencies
10
10
 
11
- ## 5.2.9 - 2023-11-30
11
+ ## 5.2.12 - 2023-01-02
12
+ ### Changed
13
+ - Updated dependencies
14
+
15
+ ## 5.2.11 - 2023-12-01
16
+ ### Changed
17
+ - Updated dependencies
18
+
19
+ ## 5.2.10 - 2023-11-30
12
20
  ### Changed
13
21
  - Support all currently supported versions of Ruby
14
22
 
15
- ## 5.2.8 - 2023-11-06
23
+ ## 5.2.9 - 2023-11-06
16
24
  ### Changed
17
25
  - Updated dependencies
18
26
 
19
- ## 5.2.7 - 2023-10-13
27
+ ## 5.2.8 - 2023-10-13
20
28
  ### Changed
21
29
  - Updated dependencies
22
30
 
23
- ## 5.2.6 - 2023-09-08
31
+ ## 5.2.7 - 2023-09-08
24
32
  ### Added
25
33
  - Updated dependencies & fixed rubocop issues
26
34
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pheme (5.2.11)
4
+ pheme (5.2.13)
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.2)
14
+ activesupport (7.1.3)
15
15
  base64
16
16
  bigdecimal
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -21,12 +21,12 @@ GEM
21
21
  minitest (>= 5.1)
22
22
  mutex_m
23
23
  tzinfo (~> 2.0)
24
- addressable (2.8.5)
24
+ addressable (2.8.6)
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.862.0)
29
- aws-sdk-core (3.190.0)
28
+ aws-partitions (1.883.0)
29
+ aws-sdk-core (3.190.3)
30
30
  aws-eventstream (~> 1, >= 1.3.0)
31
31
  aws-partitions (~> 1, >= 1.651.0)
32
32
  aws-sigv4 (~> 1.8)
@@ -40,29 +40,29 @@ GEM
40
40
  aws-sigv4 (1.8.0)
41
41
  aws-eventstream (~> 1, >= 1.0.2)
42
42
  base64 (0.2.0)
43
- bigdecimal (3.1.4)
43
+ bigdecimal (3.1.6)
44
44
  bundler-audit (0.9.1)
45
45
  bundler (>= 1.2.0, < 3)
46
46
  thor (~> 1.0)
47
- concurrent-ruby (1.2.2)
47
+ concurrent-ruby (1.2.3)
48
48
  connection_pool (2.4.1)
49
49
  diff-lcs (1.5.0)
50
50
  docile (1.4.0)
51
51
  drb (2.2.0)
52
52
  ruby2_keywords
53
- git (1.18.0)
53
+ git (1.19.1)
54
54
  addressable (~> 2.8)
55
55
  rchardet (~> 1.8)
56
56
  i18n (1.14.1)
57
57
  concurrent-ruby (~> 1.0)
58
58
  jmespath (1.6.2)
59
- json (2.7.0)
59
+ json (2.7.1)
60
60
  language_server-protocol (3.17.0.3)
61
61
  lint_roller (1.1.0)
62
- minitest (5.20.0)
62
+ minitest (5.21.2)
63
63
  mutex_m (0.2.0)
64
- parallel (1.23.0)
65
- parser (3.2.2.4)
64
+ parallel (1.24.0)
65
+ parser (3.3.0.5)
66
66
  ast (~> 2.4.1)
67
67
  racc
68
68
  public_suffix (5.0.4)
@@ -71,7 +71,7 @@ GEM
71
71
  rainbow (3.1.1)
72
72
  rake (13.1.0)
73
73
  rchardet (1.8.0)
74
- regexp_parser (2.8.2)
74
+ regexp_parser (2.9.0)
75
75
  resource-struct (0.4.0)
76
76
  rexml (3.2.6)
77
77
  rspec (3.12.0)
@@ -94,7 +94,7 @@ GEM
94
94
  rspec-support (3.12.1)
95
95
  rspec_junit_formatter (0.6.0)
96
96
  rspec-core (>= 2, < 4, != 2.12.0)
97
- rubocop (1.57.2)
97
+ rubocop (1.59.0)
98
98
  json (~> 2.3)
99
99
  language_server-protocol (>= 3.17.0)
100
100
  parallel (~> 1.10)
@@ -102,27 +102,28 @@ GEM
102
102
  rainbow (>= 2.2.2, < 4.0)
103
103
  regexp_parser (>= 1.8, < 3.0)
104
104
  rexml (>= 3.2.5, < 4.0)
105
- rubocop-ast (>= 1.28.1, < 2.0)
105
+ rubocop-ast (>= 1.30.0, < 2.0)
106
106
  ruby-progressbar (~> 1.7)
107
107
  unicode-display_width (>= 2.4.0, < 3.0)
108
108
  rubocop-ast (1.30.0)
109
109
  parser (>= 3.2.1.0)
110
- rubocop-capybara (2.19.0)
110
+ rubocop-capybara (2.20.0)
111
111
  rubocop (~> 1.41)
112
- rubocop-factory_bot (2.24.0)
113
- rubocop (~> 1.33)
114
- rubocop-performance (1.19.1)
115
- rubocop (>= 1.7.0, < 2.0)
116
- rubocop-ast (>= 0.4.0)
117
- rubocop-rails (2.20.2)
112
+ rubocop-factory_bot (2.25.1)
113
+ rubocop (~> 1.41)
114
+ rubocop-performance (1.20.2)
115
+ rubocop (>= 1.48.1, < 2.0)
116
+ rubocop-ast (>= 1.30.0, < 2.0)
117
+ rubocop-rails (2.23.1)
118
118
  activesupport (>= 4.2.0)
119
119
  rack (>= 1.1)
120
120
  rubocop (>= 1.33.0, < 2.0)
121
- rubocop-rspec (2.25.0)
121
+ rubocop-ast (>= 1.30.0, < 2.0)
122
+ rubocop-rspec (2.26.1)
122
123
  rubocop (~> 1.40)
123
124
  rubocop-capybara (~> 2.17)
124
125
  rubocop-factory_bot (~> 2.22)
125
- rubocop-vendor (0.12.1)
126
+ rubocop-vendor (0.13.0)
126
127
  rubocop
127
128
  ruby-progressbar (1.13.0)
128
129
  ruby2_keywords (0.0.5)
@@ -132,27 +133,27 @@ GEM
132
133
  simplecov_json_formatter (~> 0.1)
133
134
  simplecov-html (0.12.3)
134
135
  simplecov_json_formatter (0.1.4)
135
- smarter_csv (1.9.2)
136
- standard (1.32.0)
136
+ smarter_csv (1.10.1)
137
+ standard (1.33.0)
137
138
  language_server-protocol (~> 3.17.0.2)
138
139
  lint_roller (~> 1.0)
139
- rubocop (~> 1.57.2)
140
+ rubocop (~> 1.59.0)
140
141
  standard-custom (~> 1.0.0)
141
- standard-performance (~> 1.2)
142
+ standard-performance (~> 1.3)
142
143
  standard-custom (1.0.2)
143
144
  lint_roller (~> 1.0)
144
145
  rubocop (~> 1.50)
145
- standard-performance (1.2.1)
146
+ standard-performance (1.3.1)
146
147
  lint_roller (~> 1.1)
147
- rubocop-performance (~> 1.19.1)
148
- standard-rails (0.2.0)
148
+ rubocop-performance (~> 1.20.2)
149
+ standard-rails (1.0.2)
149
150
  lint_roller (~> 1.0)
150
- rubocop-rails (~> 2.20.2)
151
+ rubocop-rails (~> 2.23.1)
151
152
  thor (1.3.0)
152
153
  tzinfo (2.0.6)
153
154
  concurrent-ruby (~> 1.0)
154
155
  unicode-display_width (2.5.0)
155
- ws-style (7.2.1)
156
+ ws-style (7.4.1)
156
157
  rubocop-rspec (>= 2.2.0)
157
158
  rubocop-vendor (>= 0.11)
158
159
  standard (>= 1.30.1)
@@ -91,7 +91,7 @@ module Pheme
91
91
  parsed_content = parse_json(raw_content)
92
92
  body['Message'] = parsed_content
93
93
  else
94
- method_name = "parse_#{format}".to_sym
94
+ method_name = :"parse_#{format}"
95
95
  raise ArgumentError, "Unknown format #{format}" unless respond_to?(method_name)
96
96
 
97
97
  parsed_content = __send__(method_name, raw_content)
data/lib/pheme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pheme
2
- VERSION = '5.2.11'.freeze
2
+ VERSION = '5.2.13'.freeze
3
3
  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.11
4
+ version: 5.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-01 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport