time_bandits 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +16 -4
  3. data/Appraisals +2 -16
  4. data/README.md +11 -6
  5. data/Rakefile +1 -0
  6. data/docker-compose.yml +4 -4
  7. data/gemfiles/{activesupport_5.0.4.gemfile → activesupport_5.2.4.3.gemfile} +2 -2
  8. data/gemfiles/{activesupport_5.2.3.gemfile.lock → activesupport_5.2.4.3.gemfile.lock} +29 -31
  9. data/gemfiles/{activesupport_4.2.9.gemfile → activesupport_6.0.3.2.gemfile} +2 -2
  10. data/gemfiles/{activesupport_5.1.7.gemfile.lock → activesupport_6.0.3.2.gemfile.lock} +31 -33
  11. data/lib/time_bandits.rb +2 -6
  12. data/lib/time_bandits/monkey_patches/action_controller.rb +1 -66
  13. data/lib/time_bandits/monkey_patches/active_record.rb +18 -116
  14. data/lib/time_bandits/rack/logger.rb +46 -19
  15. data/lib/time_bandits/railtie.rb +2 -6
  16. data/lib/time_bandits/time_consumers/dalli.rb +0 -12
  17. data/lib/time_bandits/time_consumers/garbage_collection.rb +5 -29
  18. data/lib/time_bandits/version.rb +1 -1
  19. data/test/test_helper.rb +2 -10
  20. data/test/unit/gc_consumer_test.rb +2 -3
  21. data/test/unit/sequel_test.rb +5 -1
  22. data/time_bandits.gemspec +6 -3
  23. metadata +20 -46
  24. data/gemfiles/activesupport_4.1.16.gemfile +0 -8
  25. data/gemfiles/activesupport_4.1.16.gemfile.lock +0 -91
  26. data/gemfiles/activesupport_4.2.8.gemfile +0 -8
  27. data/gemfiles/activesupport_4.2.8.gemfile.lock +0 -85
  28. data/gemfiles/activesupport_4.2.9.gemfile.lock +0 -85
  29. data/gemfiles/activesupport_5.0.3.gemfile +0 -8
  30. data/gemfiles/activesupport_5.0.3.gemfile.lock +0 -83
  31. data/gemfiles/activesupport_5.0.4.gemfile.lock +0 -83
  32. data/gemfiles/activesupport_5.0.7.2.gemfile +0 -8
  33. data/gemfiles/activesupport_5.0.7.2.gemfile.lock +0 -83
  34. data/gemfiles/activesupport_5.0.7.gemfile +0 -8
  35. data/gemfiles/activesupport_5.0.7.gemfile.lock +0 -83
  36. data/gemfiles/activesupport_5.1.1.gemfile +0 -8
  37. data/gemfiles/activesupport_5.1.1.gemfile.lock +0 -83
  38. data/gemfiles/activesupport_5.1.2.gemfile +0 -8
  39. data/gemfiles/activesupport_5.1.2.gemfile.lock +0 -83
  40. data/gemfiles/activesupport_5.1.5.gemfile +0 -8
  41. data/gemfiles/activesupport_5.1.5.gemfile.lock +0 -83
  42. data/gemfiles/activesupport_5.1.7.gemfile +0 -8
  43. data/gemfiles/activesupport_5.2.0.gemfile +0 -8
  44. data/gemfiles/activesupport_5.2.0.gemfile.lock +0 -83
  45. data/gemfiles/activesupport_5.2.3.gemfile +0 -8
  46. data/gemfiles/activesupport_6.0.0.gemfile +0 -8
  47. data/gemfiles/activesupport_6.0.0.gemfile.lock +0 -83
  48. data/lib/time_bandits/monkey_patches/active_support_cache_store.rb +0 -18
  49. data/lib/time_bandits/rack/logger40.rb +0 -94
  50. data/rails/init.rb +0 -1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_bandits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-28 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thread_variables
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.2
33
+ version: 5.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 2.3.2
40
+ version: 5.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ansi
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: rake
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 10.5.0
159
+ version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 10.5.0
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: redis
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: 0.4.6
215
+ version: 3.4.1
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 0.4.6
222
+ version: 3.4.1
223
223
  description: Rails Completed Line on Steroids
224
224
  email:
225
225
  - skaes@railsexpress.de
@@ -235,44 +235,18 @@ files:
235
235
  - Rakefile
236
236
  - TODO
237
237
  - docker-compose.yml
238
- - gemfiles/activesupport_4.1.16.gemfile
239
- - gemfiles/activesupport_4.1.16.gemfile.lock
240
- - gemfiles/activesupport_4.2.8.gemfile
241
- - gemfiles/activesupport_4.2.8.gemfile.lock
242
- - gemfiles/activesupport_4.2.9.gemfile
243
- - gemfiles/activesupport_4.2.9.gemfile.lock
244
- - gemfiles/activesupport_5.0.3.gemfile
245
- - gemfiles/activesupport_5.0.3.gemfile.lock
246
- - gemfiles/activesupport_5.0.4.gemfile
247
- - gemfiles/activesupport_5.0.4.gemfile.lock
248
- - gemfiles/activesupport_5.0.7.2.gemfile
249
- - gemfiles/activesupport_5.0.7.2.gemfile.lock
250
- - gemfiles/activesupport_5.0.7.gemfile
251
- - gemfiles/activesupport_5.0.7.gemfile.lock
252
- - gemfiles/activesupport_5.1.1.gemfile
253
- - gemfiles/activesupport_5.1.1.gemfile.lock
254
- - gemfiles/activesupport_5.1.2.gemfile
255
- - gemfiles/activesupport_5.1.2.gemfile.lock
256
- - gemfiles/activesupport_5.1.5.gemfile
257
- - gemfiles/activesupport_5.1.5.gemfile.lock
258
- - gemfiles/activesupport_5.1.7.gemfile
259
- - gemfiles/activesupport_5.1.7.gemfile.lock
260
- - gemfiles/activesupport_5.2.0.gemfile
261
- - gemfiles/activesupport_5.2.0.gemfile.lock
262
- - gemfiles/activesupport_5.2.3.gemfile
263
- - gemfiles/activesupport_5.2.3.gemfile.lock
264
- - gemfiles/activesupport_6.0.0.gemfile
265
- - gemfiles/activesupport_6.0.0.gemfile.lock
238
+ - gemfiles/activesupport_5.2.4.3.gemfile
239
+ - gemfiles/activesupport_5.2.4.3.gemfile.lock
240
+ - gemfiles/activesupport_6.0.3.2.gemfile
241
+ - gemfiles/activesupport_6.0.3.2.gemfile.lock
266
242
  - lib/time_bandits.rb
267
243
  - lib/time_bandits/monkey_patches/action_controller.rb
268
244
  - lib/time_bandits/monkey_patches/active_record.rb
269
- - lib/time_bandits/monkey_patches/active_support_cache_store.rb
270
245
  - lib/time_bandits/monkey_patches/memcache-client.rb
271
246
  - lib/time_bandits/monkey_patches/memcached.rb
272
247
  - lib/time_bandits/monkey_patches/redis.rb
273
248
  - lib/time_bandits/monkey_patches/sequel.rb
274
249
  - lib/time_bandits/rack/logger.rb
275
- - lib/time_bandits/rack/logger40.rb
276
250
  - lib/time_bandits/railtie.rb
277
251
  - lib/time_bandits/time_consumers/base_consumer.rb
278
252
  - lib/time_bandits/time_consumers/beetle.rb
@@ -285,7 +259,6 @@ files:
285
259
  - lib/time_bandits/time_consumers/redis.rb
286
260
  - lib/time_bandits/time_consumers/sequel.rb
287
261
  - lib/time_bandits/version.rb
288
- - rails/init.rb
289
262
  - test/test_helper.rb
290
263
  - test/unit/active_support_notifications_test.rb
291
264
  - test/unit/base_test.rb
@@ -301,8 +274,9 @@ files:
301
274
  homepage: https://github.com/skaes/time_bandits/
302
275
  licenses:
303
276
  - MIT
304
- metadata: {}
305
- post_install_message:
277
+ metadata:
278
+ changelog_uri: https://github.com/skaes/time_bandits/blob/master/README.md#release-notes
279
+ post_install_message:
306
280
  rdoc_options: []
307
281
  require_paths:
308
282
  - lib
@@ -317,8 +291,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
291
  - !ruby/object:Gem::Version
318
292
  version: '0'
319
293
  requirements: []
320
- rubygems_version: 3.0.4
321
- signing_key:
294
+ rubygems_version: 3.1.2
295
+ signing_key:
322
296
  specification_version: 4
323
297
  summary: Custom performance logging for Rails
324
298
  test_files:
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "activesupport", "4.1.16"
6
- gem "activerecord", "4.1.16"
7
-
8
- gemspec :path => "../"
@@ -1,91 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.12)
5
- activesupport (>= 2.3.2)
6
- thread_variables
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- activemodel (4.1.16)
12
- activesupport (= 4.1.16)
13
- builder (~> 3.1)
14
- activerecord (4.1.16)
15
- activemodel (= 4.1.16)
16
- activesupport (= 4.1.16)
17
- arel (~> 5.0.0)
18
- activesupport (4.1.16)
19
- i18n (~> 0.6, >= 0.6.9)
20
- json (~> 1.7, >= 1.7.7)
21
- minitest (~> 5.1)
22
- thread_safe (~> 0.1)
23
- tzinfo (~> 1.1)
24
- amq-protocol (2.0.1)
25
- amqp (1.6.0)
26
- amq-protocol (>= 2.0.1)
27
- eventmachine
28
- ansi (1.5.0)
29
- appraisal (2.2.0)
30
- bundler
31
- rake
32
- thor (>= 0.14.0)
33
- arel (5.0.1.20140414130214)
34
- beetle (1.0.3)
35
- activesupport (>= 2.3.4)
36
- amq-protocol (= 2.0.1)
37
- amqp (= 1.6.0)
38
- bunny (~> 0.7.10)
39
- daemons (>= 1.2.0)
40
- eventmachine_httpserver (>= 0.2.1)
41
- hiredis (>= 0.4.5)
42
- redis (>= 2.2.2)
43
- uuid4r (>= 0.1.2)
44
- builder (3.2.3)
45
- bunny (0.7.10)
46
- byebug (9.0.6)
47
- daemons (1.2.4)
48
- dalli (2.7.6)
49
- eventmachine (1.2.3)
50
- eventmachine_httpserver (0.2.1)
51
- hiredis (0.6.1)
52
- i18n (0.8.4)
53
- json (1.8.6)
54
- memcached (1.8.0)
55
- metaclass (0.0.4)
56
- minitest (5.10.2)
57
- mocha (1.2.1)
58
- metaclass (~> 0.0.1)
59
- mysql2 (0.4.6)
60
- rake (10.5.0)
61
- redis (3.3.3)
62
- sequel (4.47.0)
63
- thor (0.19.4)
64
- thread_safe (0.3.6)
65
- thread_variables (0.2.0)
66
- tzinfo (1.2.3)
67
- thread_safe (~> 0.1)
68
- uuid4r (0.2.0)
69
-
70
- PLATFORMS
71
- ruby
72
-
73
- DEPENDENCIES
74
- activerecord (= 4.1.16)
75
- activesupport (= 4.1.16)
76
- ansi
77
- appraisal
78
- beetle (>= 0.4.6)
79
- byebug
80
- dalli
81
- memcached (~> 1.8.0)
82
- minitest (~> 5.5)
83
- mocha
84
- mysql2
85
- rake (~> 10.5.0)
86
- redis
87
- sequel
88
- time_bandits!
89
-
90
- BUNDLED WITH
91
- 1.16.1
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "activesupport", "4.2.8"
6
- gem "activerecord", "4.2.8"
7
-
8
- gemspec path: "../"
@@ -1,85 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.12)
5
- activesupport (>= 2.3.2)
6
- thread_variables
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- activemodel (4.2.8)
12
- activesupport (= 4.2.8)
13
- builder (~> 3.1)
14
- activerecord (4.2.8)
15
- activemodel (= 4.2.8)
16
- activesupport (= 4.2.8)
17
- arel (~> 6.0)
18
- activesupport (4.2.8)
19
- i18n (~> 0.7)
20
- minitest (~> 5.1)
21
- thread_safe (~> 0.3, >= 0.3.4)
22
- tzinfo (~> 1.1)
23
- amq-protocol (2.3.0)
24
- amqp (1.8.0)
25
- amq-protocol (>= 2.2.0)
26
- eventmachine
27
- ansi (1.5.0)
28
- appraisal (2.2.0)
29
- bundler
30
- rake
31
- thor (>= 0.14.0)
32
- arel (6.0.4)
33
- beetle (3.3.1)
34
- activesupport (>= 2.3.4)
35
- amq-protocol (= 2.3.0)
36
- amqp (= 1.8.0)
37
- bunny (~> 0.7.12)
38
- hiredis (>= 0.4.5)
39
- redis (>= 2.2.2)
40
- builder (3.2.3)
41
- bunny (0.7.12)
42
- byebug (11.0.1)
43
- concurrent-ruby (1.1.5)
44
- dalli (2.7.10)
45
- eventmachine (1.2.7)
46
- hiredis (0.6.3)
47
- i18n (0.9.5)
48
- concurrent-ruby (~> 1.0)
49
- memcached (1.8.0)
50
- metaclass (0.0.4)
51
- minitest (5.11.3)
52
- mocha (1.9.0)
53
- metaclass (~> 0.0.1)
54
- mysql2 (0.5.2)
55
- rake (10.5.0)
56
- redis (4.1.2)
57
- sequel (5.23.0)
58
- thor (0.20.3)
59
- thread_safe (0.3.6)
60
- thread_variables (0.2.0)
61
- tzinfo (1.2.5)
62
- thread_safe (~> 0.1)
63
-
64
- PLATFORMS
65
- ruby
66
-
67
- DEPENDENCIES
68
- activerecord (= 4.2.8)
69
- activesupport (= 4.2.8)
70
- ansi
71
- appraisal
72
- beetle (>= 0.4.6)
73
- byebug
74
- dalli
75
- memcached (~> 1.8.0)
76
- minitest (~> 5.5)
77
- mocha
78
- mysql2
79
- rake (~> 10.5.0)
80
- redis
81
- sequel
82
- time_bandits!
83
-
84
- BUNDLED WITH
85
- 1.17.3
@@ -1,85 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.12)
5
- activesupport (>= 2.3.2)
6
- thread_variables
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- activemodel (4.2.9)
12
- activesupport (= 4.2.9)
13
- builder (~> 3.1)
14
- activerecord (4.2.9)
15
- activemodel (= 4.2.9)
16
- activesupport (= 4.2.9)
17
- arel (~> 6.0)
18
- activesupport (4.2.9)
19
- i18n (~> 0.7)
20
- minitest (~> 5.1)
21
- thread_safe (~> 0.3, >= 0.3.4)
22
- tzinfo (~> 1.1)
23
- amq-protocol (2.3.0)
24
- amqp (1.8.0)
25
- amq-protocol (>= 2.2.0)
26
- eventmachine
27
- ansi (1.5.0)
28
- appraisal (2.2.0)
29
- bundler
30
- rake
31
- thor (>= 0.14.0)
32
- arel (6.0.4)
33
- beetle (3.3.1)
34
- activesupport (>= 2.3.4)
35
- amq-protocol (= 2.3.0)
36
- amqp (= 1.8.0)
37
- bunny (~> 0.7.12)
38
- hiredis (>= 0.4.5)
39
- redis (>= 2.2.2)
40
- builder (3.2.3)
41
- bunny (0.7.12)
42
- byebug (11.0.1)
43
- concurrent-ruby (1.1.5)
44
- dalli (2.7.10)
45
- eventmachine (1.2.7)
46
- hiredis (0.6.3)
47
- i18n (0.9.5)
48
- concurrent-ruby (~> 1.0)
49
- memcached (1.8.0)
50
- metaclass (0.0.4)
51
- minitest (5.11.3)
52
- mocha (1.9.0)
53
- metaclass (~> 0.0.1)
54
- mysql2 (0.5.2)
55
- rake (10.5.0)
56
- redis (4.1.2)
57
- sequel (5.23.0)
58
- thor (0.20.3)
59
- thread_safe (0.3.6)
60
- thread_variables (0.2.0)
61
- tzinfo (1.2.5)
62
- thread_safe (~> 0.1)
63
-
64
- PLATFORMS
65
- ruby
66
-
67
- DEPENDENCIES
68
- activerecord (= 4.2.9)
69
- activesupport (= 4.2.9)
70
- ansi
71
- appraisal
72
- beetle (>= 0.4.6)
73
- byebug
74
- dalli
75
- memcached (~> 1.8.0)
76
- minitest (~> 5.5)
77
- mocha
78
- mysql2
79
- rake (~> 10.5.0)
80
- redis
81
- sequel
82
- time_bandits!
83
-
84
- BUNDLED WITH
85
- 1.17.3
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "activesupport", "5.0.3"
6
- gem "activerecord", "5.0.3"
7
-
8
- gemspec path: "../"
@@ -1,83 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.12)
5
- activesupport (>= 2.3.2)
6
- thread_variables
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- activemodel (5.0.3)
12
- activesupport (= 5.0.3)
13
- activerecord (5.0.3)
14
- activemodel (= 5.0.3)
15
- activesupport (= 5.0.3)
16
- arel (~> 7.0)
17
- activesupport (5.0.3)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (~> 0.7)
20
- minitest (~> 5.1)
21
- tzinfo (~> 1.1)
22
- amq-protocol (2.3.0)
23
- amqp (1.8.0)
24
- amq-protocol (>= 2.2.0)
25
- eventmachine
26
- ansi (1.5.0)
27
- appraisal (2.2.0)
28
- bundler
29
- rake
30
- thor (>= 0.14.0)
31
- arel (7.1.4)
32
- beetle (3.3.1)
33
- activesupport (>= 2.3.4)
34
- amq-protocol (= 2.3.0)
35
- amqp (= 1.8.0)
36
- bunny (~> 0.7.12)
37
- hiredis (>= 0.4.5)
38
- redis (>= 2.2.2)
39
- bunny (0.7.12)
40
- byebug (11.0.1)
41
- concurrent-ruby (1.1.5)
42
- dalli (2.7.10)
43
- eventmachine (1.2.7)
44
- hiredis (0.6.3)
45
- i18n (0.9.5)
46
- concurrent-ruby (~> 1.0)
47
- memcached (1.8.0)
48
- metaclass (0.0.4)
49
- minitest (5.11.3)
50
- mocha (1.9.0)
51
- metaclass (~> 0.0.1)
52
- mysql2 (0.5.2)
53
- rake (10.5.0)
54
- redis (4.1.2)
55
- sequel (5.23.0)
56
- thor (0.20.3)
57
- thread_safe (0.3.6)
58
- thread_variables (0.2.0)
59
- tzinfo (1.2.5)
60
- thread_safe (~> 0.1)
61
-
62
- PLATFORMS
63
- ruby
64
-
65
- DEPENDENCIES
66
- activerecord (= 5.0.3)
67
- activesupport (= 5.0.3)
68
- ansi
69
- appraisal
70
- beetle (>= 0.4.6)
71
- byebug
72
- dalli
73
- memcached (~> 1.8.0)
74
- minitest (~> 5.5)
75
- mocha
76
- mysql2
77
- rake (~> 10.5.0)
78
- redis
79
- sequel
80
- time_bandits!
81
-
82
- BUNDLED WITH
83
- 1.17.3