pheme 5.2.11 → 5.2.12

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: 5d0a4b5251bddaac0de1eea38efcc29294eea2a6d3ea2c2fa1ac4dc41e4794fb
4
+ data.tar.gz: 48c2e9c7c13234c15d3b45be70efe2c0651f1ea82dc3773e6455fb3112c8391f
5
5
  SHA512:
6
- metadata.gz: 9eb47baaf5837fceb39e3633b16e02c6342821366c6c6239de9e45bbfb44881fae010afc3142d639f1becd15ad60534a691e769df2a93b0b2d818d7bc4307985
7
- data.tar.gz: 478438ba49933e7de6af3b86297c0fc148013fc34e37f035e81942d8aecc25f4fd89df1d02e5bcbc8c5858c1d99f9b941f007474688efc8e52ed6422c685009c
6
+ metadata.gz: b8575bb6e0ed2e403e58d04db2e7012eae554d92e0ffbc834ce133d2a15b6f9846ba144557ab8420f49cced7f7662ac52d630e508e4edd525dab8e175bc2b7a2
7
+ data.tar.gz: 7b7b8a78d55018ad359ee16454fb9520048505526d890902d1ac8836240706a7d83b90542eeebc97c986f41da4714625c3bd794d118d83427faa057be093b229
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,27 @@ 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.12 - 2023-01-02
8
8
  ### Changed
9
9
  - Updated dependencies
10
10
 
11
- ## 5.2.9 - 2023-11-30
11
+ ## 5.2.11 - 2023-12-01
12
+ ### Changed
13
+ - Updated dependencies
14
+
15
+ ## 5.2.10 - 2023-11-30
12
16
  ### Changed
13
17
  - Support all currently supported versions of Ruby
14
18
 
15
- ## 5.2.8 - 2023-11-06
19
+ ## 5.2.9 - 2023-11-06
16
20
  ### Changed
17
21
  - Updated dependencies
18
22
 
19
- ## 5.2.7 - 2023-10-13
23
+ ## 5.2.8 - 2023-10-13
20
24
  ### Changed
21
25
  - Updated dependencies
22
26
 
23
- ## 5.2.6 - 2023-09-08
27
+ ## 5.2.7 - 2023-09-08
24
28
  ### Added
25
29
  - Updated dependencies & fixed rubocop issues
26
30
 
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.12)
5
5
  activesupport (>= 4)
6
6
  aws-sdk-sns (~> 1.1)
7
7
  aws-sdk-sqs (~> 1.3)
@@ -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.876.0)
29
+ aws-sdk-core (3.190.1)
30
30
  aws-eventstream (~> 1, >= 1.3.0)
31
31
  aws-partitions (~> 1, >= 1.651.0)
32
32
  aws-sigv4 (~> 1.8)
@@ -40,7 +40,7 @@ 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.5)
44
44
  bundler-audit (0.9.1)
45
45
  bundler (>= 1.2.0, < 3)
46
46
  thor (~> 1.0)
@@ -56,12 +56,12 @@ GEM
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
62
  minitest (5.20.0)
63
63
  mutex_m (0.2.0)
64
- parallel (1.23.0)
64
+ parallel (1.24.0)
65
65
  parser (3.2.2.4)
66
66
  ast (~> 2.4.1)
67
67
  racc
@@ -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.8.3)
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,7 +102,7 @@ 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)
@@ -111,13 +111,14 @@ GEM
111
111
  rubocop (~> 1.41)
112
112
  rubocop-factory_bot (2.24.0)
113
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)
114
+ rubocop-performance (1.20.1)
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-ast (>= 1.30.0, < 2.0)
121
122
  rubocop-rspec (2.25.0)
122
123
  rubocop (~> 1.40)
123
124
  rubocop-capybara (~> 2.17)
@@ -132,22 +133,22 @@ 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.9.3)
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.0)
146
147
  lint_roller (~> 1.1)
147
- rubocop-performance (~> 1.19.1)
148
- standard-rails (0.2.0)
148
+ rubocop-performance (~> 1.20.1)
149
+ standard-rails (1.0.0)
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)
@@ -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.12'.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.12
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-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport