getaround_utils 0.2.20 → 0.2.23

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: a876e7110b750515712981aa194500a77a7435eb5230dd32af4acb1123735b88
4
- data.tar.gz: 34291b22958a67d4489d8015d9acd23f50627e0c8cc9988980332ab451a7dabb
3
+ metadata.gz: d0f45f64d93dc7e5b83b2ee8612dff306880d7953c3e9026edcafe40925e7127
4
+ data.tar.gz: 5bcd057a886ff3a7423841f5bc29fb491501fa3c9226658a4b17801ae6eee189
5
5
  SHA512:
6
- metadata.gz: 46d3ed5cebf15935490549af5b3575603aec9f06e430d89aaa369f59bbc0ea2f88977140d078481a744179a150b6901e83f4fecd0b4d41bdeae71c011430b17d
7
- data.tar.gz: 4f4d9952b5229d57c6853a88baad1bd7569e32bf102c8e039beb00190bd0e20a4bd772c1204bf6caaa58799e57ffc69c3185819497b94dbf834bc3848109beb7
6
+ metadata.gz: 98f5f63856cc9319be1d3f04e69bcf8aa5a165c48ad982ebf058a9e0faf92e31bf6dbeb1b5311f8ea89512156e508a7d3e070fbf0cfc22897958bc7279d58c06
7
+ data.tar.gz: ae985999bf28745645966d3108fd0dce14fba751f4a2e53aace72f5089515ddd94d6765ae3ae3349972b69cbcd72ac73b9f5083a4ec8acbf1a3c0d532938e8f7
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ ruby-2.7.4
data/Gemfile.lock CHANGED
@@ -1,175 +1,173 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- getaround_utils (0.2.20)
4
+ getaround_utils (0.2.23)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (6.1.3)
10
- actionpack (= 6.1.3)
11
- activesupport (= 6.1.3)
9
+ actioncable (6.1.4.6)
10
+ actionpack (= 6.1.4.6)
11
+ activesupport (= 6.1.4.6)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailbox (6.1.3)
15
- actionpack (= 6.1.3)
16
- activejob (= 6.1.3)
17
- activerecord (= 6.1.3)
18
- activestorage (= 6.1.3)
19
- activesupport (= 6.1.3)
14
+ actionmailbox (6.1.4.6)
15
+ actionpack (= 6.1.4.6)
16
+ activejob (= 6.1.4.6)
17
+ activerecord (= 6.1.4.6)
18
+ activestorage (= 6.1.4.6)
19
+ activesupport (= 6.1.4.6)
20
20
  mail (>= 2.7.1)
21
- actionmailer (6.1.3)
22
- actionpack (= 6.1.3)
23
- actionview (= 6.1.3)
24
- activejob (= 6.1.3)
25
- activesupport (= 6.1.3)
21
+ actionmailer (6.1.4.6)
22
+ actionpack (= 6.1.4.6)
23
+ actionview (= 6.1.4.6)
24
+ activejob (= 6.1.4.6)
25
+ activesupport (= 6.1.4.6)
26
26
  mail (~> 2.5, >= 2.5.4)
27
27
  rails-dom-testing (~> 2.0)
28
- actionpack (6.1.3)
29
- actionview (= 6.1.3)
30
- activesupport (= 6.1.3)
28
+ actionpack (6.1.4.6)
29
+ actionview (= 6.1.4.6)
30
+ activesupport (= 6.1.4.6)
31
31
  rack (~> 2.0, >= 2.0.9)
32
32
  rack-test (>= 0.6.3)
33
33
  rails-dom-testing (~> 2.0)
34
34
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.1.3)
36
- actionpack (= 6.1.3)
37
- activerecord (= 6.1.3)
38
- activestorage (= 6.1.3)
39
- activesupport (= 6.1.3)
35
+ actiontext (6.1.4.6)
36
+ actionpack (= 6.1.4.6)
37
+ activerecord (= 6.1.4.6)
38
+ activestorage (= 6.1.4.6)
39
+ activesupport (= 6.1.4.6)
40
40
  nokogiri (>= 1.8.5)
41
- actionview (6.1.3)
42
- activesupport (= 6.1.3)
41
+ actionview (6.1.4.6)
42
+ activesupport (= 6.1.4.6)
43
43
  builder (~> 3.1)
44
44
  erubi (~> 1.4)
45
45
  rails-dom-testing (~> 2.0)
46
46
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.1.3)
48
- activesupport (= 6.1.3)
47
+ activejob (6.1.4.6)
48
+ activesupport (= 6.1.4.6)
49
49
  globalid (>= 0.3.6)
50
- activemodel (6.1.3)
51
- activesupport (= 6.1.3)
52
- activerecord (6.1.3)
53
- activemodel (= 6.1.3)
54
- activesupport (= 6.1.3)
55
- activestorage (6.1.3)
56
- actionpack (= 6.1.3)
57
- activejob (= 6.1.3)
58
- activerecord (= 6.1.3)
59
- activesupport (= 6.1.3)
60
- marcel (~> 0.3.1)
61
- mimemagic (~> 0.3.2)
62
- activesupport (6.1.3)
50
+ activemodel (6.1.4.6)
51
+ activesupport (= 6.1.4.6)
52
+ activerecord (6.1.4.6)
53
+ activemodel (= 6.1.4.6)
54
+ activesupport (= 6.1.4.6)
55
+ activestorage (6.1.4.6)
56
+ actionpack (= 6.1.4.6)
57
+ activejob (= 6.1.4.6)
58
+ activerecord (= 6.1.4.6)
59
+ activesupport (= 6.1.4.6)
60
+ marcel (~> 1.0.0)
61
+ mini_mime (>= 1.1.0)
62
+ activesupport (6.1.4.6)
63
63
  concurrent-ruby (~> 1.0, >= 1.0.2)
64
64
  i18n (>= 1.6, < 2)
65
65
  minitest (>= 5.1)
66
66
  tzinfo (~> 2.0)
67
67
  zeitwerk (~> 2.3)
68
- addressable (2.7.0)
68
+ addressable (2.8.0)
69
69
  public_suffix (>= 2.0.2, < 5.0)
70
70
  ast (2.4.2)
71
71
  builder (3.2.4)
72
72
  coderay (1.1.3)
73
- concurrent-ruby (1.1.8)
74
- connection_pool (2.2.3)
73
+ concurrent-ruby (1.1.10)
74
+ connection_pool (2.2.5)
75
75
  crack (0.4.5)
76
76
  rexml
77
77
  crass (1.0.6)
78
- diff-lcs (1.4.4)
78
+ diff-lcs (1.5.0)
79
79
  erubi (1.10.0)
80
- getaround-rubocop (0.2.3)
80
+ getaround-rubocop (0.2.7)
81
81
  relaxed-rubocop (= 2.5)
82
- rubocop (= 1.3.1)
83
- rubocop-rspec (= 2.0.0)
84
- globalid (0.4.2)
85
- activesupport (>= 4.2.0)
82
+ rubocop (= 1.25.1)
83
+ rubocop-rspec (= 2.4.0)
84
+ globalid (1.0.0)
85
+ activesupport (>= 5.0)
86
86
  hashdiff (1.0.1)
87
- i18n (1.8.9)
87
+ i18n (1.10.0)
88
88
  concurrent-ruby (~> 1.0)
89
- lograge (0.11.2)
89
+ lograge (0.12.0)
90
90
  actionpack (>= 4)
91
91
  activesupport (>= 4)
92
92
  railties (>= 4)
93
93
  request_store (~> 1.0)
94
- loofah (2.9.0)
94
+ loofah (2.18.0)
95
95
  crass (~> 1.0.2)
96
96
  nokogiri (>= 1.5.9)
97
97
  mail (2.7.1)
98
98
  mini_mime (>= 0.1.1)
99
- marcel (0.3.3)
100
- mimemagic (~> 0.3.2)
99
+ marcel (1.0.2)
101
100
  method_source (1.0.0)
102
- mimemagic (0.3.5)
103
- mini_mime (1.0.2)
104
- mini_portile2 (2.5.0)
105
- minitest (5.14.4)
106
- nio4r (2.5.7)
107
- nokogiri (1.11.2)
108
- mini_portile2 (~> 2.5.0)
101
+ mini_mime (1.1.2)
102
+ mini_portile2 (2.8.0)
103
+ minitest (5.15.0)
104
+ nio4r (2.5.8)
105
+ nokogiri (1.13.6)
106
+ mini_portile2 (~> 2.8.0)
109
107
  racc (~> 1.4)
110
108
  oj (3.11.3)
111
109
  ougai (2.0.0)
112
110
  oj (~> 3.10)
113
- parallel (1.20.1)
114
- parser (3.0.0.0)
111
+ parallel (1.21.0)
112
+ parser (3.1.1.0)
115
113
  ast (~> 2.4.1)
116
- pry (0.14.0)
114
+ pry (0.14.1)
117
115
  coderay (~> 1.1)
118
116
  method_source (~> 1.0)
119
117
  public_suffix (4.0.6)
120
- racc (1.5.2)
121
- rack (2.2.3)
118
+ racc (1.6.0)
119
+ rack (2.2.3.1)
122
120
  rack-test (1.1.0)
123
121
  rack (>= 1.0, < 3)
124
- rails (6.1.3)
125
- actioncable (= 6.1.3)
126
- actionmailbox (= 6.1.3)
127
- actionmailer (= 6.1.3)
128
- actionpack (= 6.1.3)
129
- actiontext (= 6.1.3)
130
- actionview (= 6.1.3)
131
- activejob (= 6.1.3)
132
- activemodel (= 6.1.3)
133
- activerecord (= 6.1.3)
134
- activestorage (= 6.1.3)
135
- activesupport (= 6.1.3)
122
+ rails (6.1.4.6)
123
+ actioncable (= 6.1.4.6)
124
+ actionmailbox (= 6.1.4.6)
125
+ actionmailer (= 6.1.4.6)
126
+ actionpack (= 6.1.4.6)
127
+ actiontext (= 6.1.4.6)
128
+ actionview (= 6.1.4.6)
129
+ activejob (= 6.1.4.6)
130
+ activemodel (= 6.1.4.6)
131
+ activerecord (= 6.1.4.6)
132
+ activestorage (= 6.1.4.6)
133
+ activesupport (= 6.1.4.6)
136
134
  bundler (>= 1.15.0)
137
- railties (= 6.1.3)
135
+ railties (= 6.1.4.6)
138
136
  sprockets-rails (>= 2.0.0)
139
137
  rails-dom-testing (2.0.3)
140
138
  activesupport (>= 4.2.0)
141
139
  nokogiri (>= 1.6)
142
- rails-html-sanitizer (1.3.0)
140
+ rails-html-sanitizer (1.4.3)
143
141
  loofah (~> 2.3)
144
- railties (6.1.3)
145
- actionpack (= 6.1.3)
146
- activesupport (= 6.1.3)
142
+ railties (6.1.4.6)
143
+ actionpack (= 6.1.4.6)
144
+ activesupport (= 6.1.4.6)
147
145
  method_source
148
- rake (>= 0.8.7)
146
+ rake (>= 0.13)
149
147
  thor (~> 1.0)
150
- rainbow (3.0.0)
151
- rake (13.0.1)
152
- redis (4.2.5)
153
- regexp_parser (2.1.1)
148
+ rainbow (3.1.1)
149
+ rake (13.0.6)
150
+ redis (4.6.0)
151
+ regexp_parser (2.2.1)
154
152
  relaxed-rubocop (2.5)
155
- request_store (1.5.0)
153
+ request_store (1.5.1)
156
154
  rack (>= 1.4)
157
155
  request_store_rails (2.0.0)
158
156
  concurrent-ruby (~> 1.0)
159
- rexml (3.2.4)
160
- rspec (3.10.0)
161
- rspec-core (~> 3.10.0)
162
- rspec-expectations (~> 3.10.0)
163
- rspec-mocks (~> 3.10.0)
164
- rspec-core (3.10.1)
165
- rspec-support (~> 3.10.0)
166
- rspec-expectations (3.10.1)
157
+ rexml (3.2.5)
158
+ rspec (3.11.0)
159
+ rspec-core (~> 3.11.0)
160
+ rspec-expectations (~> 3.11.0)
161
+ rspec-mocks (~> 3.11.0)
162
+ rspec-core (3.11.0)
163
+ rspec-support (~> 3.11.0)
164
+ rspec-expectations (3.11.0)
167
165
  diff-lcs (>= 1.2.0, < 2.0)
168
- rspec-support (~> 3.10.0)
169
- rspec-mocks (3.10.2)
166
+ rspec-support (~> 3.11.0)
167
+ rspec-mocks (3.11.1)
170
168
  diff-lcs (>= 1.2.0, < 2.0)
171
- rspec-support (~> 3.10.0)
172
- rspec-rails (5.0.0)
169
+ rspec-support (~> 3.11.0)
170
+ rspec-rails (5.1.2)
173
171
  actionpack (>= 5.2)
174
172
  activesupport (>= 5.2)
175
173
  railties (>= 5.2)
@@ -177,54 +175,54 @@ GEM
177
175
  rspec-expectations (~> 3.10)
178
176
  rspec-mocks (~> 3.10)
179
177
  rspec-support (~> 3.10)
180
- rspec-support (3.10.2)
181
- rubocop (1.3.1)
178
+ rspec-support (3.11.0)
179
+ rubocop (1.25.1)
182
180
  parallel (~> 1.10)
183
- parser (>= 2.7.1.5)
181
+ parser (>= 3.1.0.0)
184
182
  rainbow (>= 2.2.2, < 4.0)
185
- regexp_parser (>= 1.8)
183
+ regexp_parser (>= 1.8, < 3.0)
186
184
  rexml
187
- rubocop-ast (>= 1.1.1)
185
+ rubocop-ast (>= 1.15.1, < 2.0)
188
186
  ruby-progressbar (~> 1.7)
189
- unicode-display_width (>= 1.4.0, < 2.0)
190
- rubocop-ast (1.4.1)
191
- parser (>= 2.7.1.5)
192
- rubocop-rspec (2.0.0)
187
+ unicode-display_width (>= 1.4.0, < 3.0)
188
+ rubocop-ast (1.16.0)
189
+ parser (>= 3.1.1.0)
190
+ rubocop-rspec (2.4.0)
193
191
  rubocop (~> 1.0)
194
192
  rubocop-ast (>= 1.1.0)
195
193
  ruby-progressbar (1.11.0)
196
- sidekiq (6.1.3)
194
+ sidekiq (6.5.0)
197
195
  connection_pool (>= 2.2.2)
198
196
  rack (~> 2.0)
199
197
  redis (>= 4.2.0)
200
198
  sprockets (4.0.2)
201
199
  concurrent-ruby (~> 1.0)
202
200
  rack (> 1, < 3)
203
- sprockets-rails (3.2.2)
204
- actionpack (>= 4.0)
205
- activesupport (>= 4.0)
201
+ sprockets-rails (3.4.2)
202
+ actionpack (>= 5.2)
203
+ activesupport (>= 5.2)
206
204
  sprockets (>= 3.0.0)
207
- thor (1.1.0)
205
+ thor (1.2.1)
208
206
  tzinfo (2.0.4)
209
207
  concurrent-ruby (~> 1.0)
210
- unicode-display_width (1.7.0)
211
- webmock (3.12.1)
212
- addressable (>= 2.3.6)
208
+ unicode-display_width (2.1.0)
209
+ webmock (3.14.0)
210
+ addressable (>= 2.8.0)
213
211
  crack (>= 0.3.2)
214
212
  hashdiff (>= 0.4.0, < 2.0.0)
215
- websocket-driver (0.7.3)
213
+ websocket-driver (0.7.5)
216
214
  websocket-extensions (>= 0.1.0)
217
215
  websocket-extensions (0.1.5)
218
- zeitwerk (2.4.2)
216
+ zeitwerk (2.5.4)
219
217
 
220
218
  PLATFORMS
221
219
  ruby
222
220
 
223
221
  DEPENDENCIES
224
222
  bundler (~> 2.0)
225
- getaround-rubocop (= 0.2.3)
223
+ getaround-rubocop (= 0.2.7)
226
224
  getaround_utils!
227
- lograge (~> 0.11.2)
225
+ lograge (~> 0.12.0)
228
226
  ougai (~> 2.0)
229
227
  pry (~> 0.14.0)
230
228
  rails (~> 6.0)
@@ -232,9 +230,9 @@ DEPENDENCIES
232
230
  request_store_rails (~> 2.0)
233
231
  rspec (~> 3.9, >= 3.9.0)
234
232
  rspec-rails (~> 5.0)
235
- rubocop (= 1.3.1)
233
+ rubocop (= 1.25.1)
236
234
  sidekiq (~> 6.0)
237
235
  webmock (~> 3.7)
238
236
 
239
237
  BUNDLED WITH
240
- 2.1.4
238
+ 2.3.4
data/README.md CHANGED
@@ -28,8 +28,8 @@ For more details, [read the spec](spec/getaround_utils/railties/ougai_spec.rb)
28
28
 
29
29
  ### GetaroundUtils::Mixins::Loggable
30
30
 
31
- Enables lograge (http logs) with favored default.
32
- ```
31
+ - Enables lograge (http logs) with favored default.
32
+ ```ruby
33
33
  class MyClass
34
34
  include GetaroundUtils::Mixins::Loggable
35
35
 
@@ -48,6 +48,31 @@ MyClass.new.action # :info message="hello" origin="MyClass" static="value" dynam
48
48
 
49
49
  For more details, [read the spec](spec/getaround_utils/mixins/loggable_spec.rb)
50
50
 
51
+ - Offers an abstraction to log messages with a configurable `alert_threshold` attribute
52
+
53
+ ```ruby
54
+ class MyClass
55
+ include GetaroundUtils::Mixins::Loggable
56
+
57
+ def action
58
+ monitorable_log(:my_event_to_be_monitored, dynamic: 'value')
59
+ end
60
+ end
61
+
62
+ MyClass.new.action # :info message="monitorable_log__my_event_to_be_monitored" origin="MyClass" dynamic="value", threshold=10
63
+ ```
64
+ The threshold is configured in the relevant Rails configuration (eg `config/environments/production.rb`)
65
+ ```ruby
66
+ # ...
67
+ config.monitorable_log_thresholds = {
68
+ my_event_to_be_monitored: 10
69
+ }
70
+ # ...
71
+ ```
72
+ You may set / override the configured thresholds with an environment variable of the event name prefixed with `MONITORABLE_LOG__`, for instance `MONITORABLE_LOG__MY_EVENT_TO_BE_MONITORED`.
73
+
74
+ For more details, [read the spec](spec/getaround_utils/mixins/loggable_spec.rb#L171)
75
+
51
76
  ## Misc
52
77
 
53
78
  ### GetaroundUtils::LogFormatters::DeepKeyValue
@@ -4,7 +4,6 @@ require_relative './lib/getaround_utils/version'
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'getaround_utils'
7
- gem.required_ruby_version = '>=2.6'
8
7
  gem.version = GetaroundUtils::VERSION
9
8
  gem.summary = 'Backend shared utility classes'
10
9
  gem.description = 'Shared base utility classes for Getaround Backend Applications.'
@@ -12,6 +11,7 @@ Gem::Specification.new do |gem|
12
11
  gem.email = ['oss@drivy.com']
13
12
  gem.homepage = 'https://github.com/drivy'
14
13
  gem.license = 'MIT'
14
+ gem.required_ruby_version = '>= 2.7'
15
15
 
16
16
  gem.files = Dir.chdir(File.expand_path(__dir__)) do
17
17
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
@@ -19,16 +19,16 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  # Development dependencies
21
21
  gem.add_development_dependency 'bundler', '~> 2.0'
22
- gem.add_development_dependency 'getaround-rubocop', '= 0.2.3'
22
+ gem.add_development_dependency 'getaround-rubocop', '= 0.2.7'
23
23
  gem.add_development_dependency 'pry', '~> 0.14.0'
24
24
  gem.add_development_dependency 'rake', '~> 13.0'
25
25
  gem.add_development_dependency 'rspec', '~> 3.9', '>= 3.9.0'
26
26
  gem.add_development_dependency 'rspec-rails', '~> 5.0'
27
- gem.add_development_dependency 'rubocop', '= 1.3.1'
27
+ gem.add_development_dependency 'rubocop', '= 1.25.1'
28
28
  gem.add_development_dependency 'webmock', '~> 3.7'
29
29
 
30
30
  # Functional (optional) dependencies
31
- gem.add_development_dependency 'lograge', '~> 0.11.2'
31
+ gem.add_development_dependency 'lograge', '~> 0.12.0'
32
32
  gem.add_development_dependency 'ougai', '~> 2.0'
33
33
  gem.add_development_dependency 'rails', '~> 6.0'
34
34
  gem.add_development_dependency 'request_store_rails', '~> 2.0'
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'logger'
4
4
  module GetaroundUtils; end
5
+
5
6
  module GetaroundUtils::Mixins; end
6
7
 
7
8
  module GetaroundUtils::Mixins::Loggable
@@ -28,4 +29,38 @@ module GetaroundUtils::Mixins::Loggable
28
29
  base_append_infos_to_loggable(payload)
29
30
  loggable_logger.send(severity.to_sym, msg: message, **payload)
30
31
  end
32
+
33
+ MONITORABLE_LOG_PREFIX = "monitorable_log__"
34
+
35
+ def monitorable_log(event_name, **options)
36
+ monitorable_threshold = monitorable_threshold(event_name)
37
+ return if monitorable_threshold.blank?
38
+
39
+ loggable_log(
40
+ :info,
41
+ log_message(event_name),
42
+ alert_threshold: monitorable_threshold,
43
+ **options
44
+ )
45
+ end
46
+
47
+ def monitorable_threshold(event_name)
48
+ monitorable_threshold = ENV["#{log_message(event_name)}_threshold".upcase]&.to_i
49
+ if monitorable_threshold.nil? && rails_config_defined?
50
+ monitorable_threshold = Rails.application.config.monitorable_log_thresholds&.dig(event_name.to_sym)
51
+ end
52
+ monitorable_threshold
53
+ end
54
+
55
+ def log_message(event_name)
56
+ MONITORABLE_LOG_PREFIX + event_name
57
+ end
58
+
59
+ private
60
+
61
+ def rails_config_defined?
62
+ defined?(Rails) &&
63
+ Rails.application.config.respond_to?(:monitorable_log_thresholds) &&
64
+ Rails.application.config.monitorable_log_thresholds.respond_to?(:dig)
65
+ end
31
66
  end
@@ -4,6 +4,7 @@ require 'ougai'
4
4
  require 'getaround_utils/utils/deep_key_value'
5
5
 
6
6
  module GetaroundUtils; end
7
+
7
8
  module GetaroundUtils::Ougai; end
8
9
 
9
10
  class GetaroundUtils::Ougai::DeepKeyValueFormatter < Ougai::Formatters::Base
@@ -4,6 +4,7 @@ require 'ougai'
4
4
  require 'json'
5
5
 
6
6
  module GetaroundUtils; end
7
+
7
8
  module GetaroundUtils::Ougai; end
8
9
 
9
10
  class GetaroundUtils::Ougai::JsonFormatter < Ougai::Formatters::Base
@@ -4,6 +4,7 @@ require 'rails/railtie'
4
4
  require 'lograge'
5
5
 
6
6
  module GetaroundUtils; end
7
+
7
8
  module GetaroundUtils::Railties; end
8
9
 
9
10
  class GetaroundUtils::Railties::Lograge < Rails::Railtie
@@ -6,6 +6,7 @@ require 'rails/railtie'
6
6
  require 'ougai'
7
7
 
8
8
  module GetaroundUtils; end
9
+
9
10
  module GetaroundUtils::Railties; end
10
11
 
11
12
  # Rails-compatible Ougai Logger
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GetaroundUtils; end
4
+
4
5
  module GetaroundUtils::Utils; end
5
6
 
6
7
  module GetaroundUtils::Utils::DeepKeyValue
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GetaroundUtils
4
- VERSION = '0.2.20'
4
+ VERSION = '0.2.23'
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: getaround_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20
4
+ version: 0.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drivy
8
8
  - Laurent Humez
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-12 00:00:00.000000000 Z
12
+ date: 2022-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.2.3
34
+ version: 0.2.7
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.2.3
41
+ version: 0.2.7
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: pry
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -71,22 +71,22 @@ dependencies:
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 3.9.0
77
74
  - - "~>"
78
75
  - !ruby/object:Gem::Version
79
76
  version: '3.9'
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 3.9.0
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- version: 3.9.0
87
84
  - - "~>"
88
85
  - !ruby/object:Gem::Version
89
86
  version: '3.9'
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 3.9.0
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: rspec-rails
92
92
  requirement: !ruby/object:Gem::Requirement
@@ -107,14 +107,14 @@ dependencies:
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 1.3.1
110
+ version: 1.25.1
111
111
  type: :development
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.3.1
117
+ version: 1.25.1
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: webmock
120
120
  requirement: !ruby/object:Gem::Requirement
@@ -135,14 +135,14 @@ dependencies:
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.11.2
138
+ version: 0.12.0
139
139
  type: :development
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.11.2
145
+ version: 0.12.0
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: ougai
148
148
  requirement: !ruby/object:Gem::Requirement
@@ -227,7 +227,7 @@ homepage: https://github.com/drivy
227
227
  licenses:
228
228
  - MIT
229
229
  metadata: {}
230
- post_install_message:
230
+ post_install_message:
231
231
  rdoc_options: []
232
232
  require_paths:
233
233
  - lib
@@ -235,15 +235,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - ">="
237
237
  - !ruby/object:Gem::Version
238
- version: '2.6'
238
+ version: '2.7'
239
239
  required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  requirements: []
245
- rubygems_version: 3.0.3
246
- signing_key:
245
+ rubygems_version: 3.1.6
246
+ signing_key:
247
247
  specification_version: 4
248
248
  summary: Backend shared utility classes
249
249
  test_files: []