time_bandits 0.10.11 → 0.12.2

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +16 -4
  3. data/Appraisals +2 -10
  4. data/LICENSE.txt +20 -0
  5. data/README.md +25 -27
  6. data/Rakefile +1 -0
  7. data/docker-compose.yml +4 -4
  8. data/gemfiles/activesupport_5.2.4.3.gemfile +8 -0
  9. data/gemfiles/activesupport_5.2.4.3.gemfile.lock +81 -0
  10. data/gemfiles/activesupport_6.0.3.2.gemfile +8 -0
  11. data/gemfiles/activesupport_6.0.3.2.gemfile.lock +81 -0
  12. data/lib/time_bandits.rb +2 -6
  13. data/lib/time_bandits/monkey_patches/action_controller.rb +0 -79
  14. data/lib/time_bandits/monkey_patches/active_record.rb +18 -98
  15. data/lib/time_bandits/rack/logger.rb +46 -19
  16. data/lib/time_bandits/railtie.rb +6 -8
  17. data/lib/time_bandits/time_consumers/dalli.rb +0 -12
  18. data/lib/time_bandits/time_consumers/garbage_collection.rb +5 -29
  19. data/lib/time_bandits/version.rb +1 -1
  20. data/test/test_helper.rb +2 -10
  21. data/test/unit/gc_consumer_test.rb +2 -3
  22. data/test/unit/sequel_test.rb +5 -1
  23. data/time_bandits.gemspec +6 -3
  24. metadata +21 -37
  25. data/gemfiles/activesupport_4.1.16.gemfile +0 -8
  26. data/gemfiles/activesupport_4.1.16.gemfile.lock +0 -91
  27. data/gemfiles/activesupport_4.2.8.gemfile +0 -8
  28. data/gemfiles/activesupport_4.2.8.gemfile.lock +0 -89
  29. data/gemfiles/activesupport_4.2.9.gemfile +0 -8
  30. data/gemfiles/activesupport_4.2.9.gemfile.lock +0 -89
  31. data/gemfiles/activesupport_5.0.3.gemfile +0 -8
  32. data/gemfiles/activesupport_5.0.3.gemfile.lock +0 -88
  33. data/gemfiles/activesupport_5.0.4.gemfile +0 -8
  34. data/gemfiles/activesupport_5.0.4.gemfile.lock +0 -88
  35. data/gemfiles/activesupport_5.1.1.gemfile +0 -8
  36. data/gemfiles/activesupport_5.1.1.gemfile.lock +0 -88
  37. data/gemfiles/activesupport_5.1.2.gemfile +0 -8
  38. data/gemfiles/activesupport_5.1.2.gemfile.lock +0 -88
  39. data/gemfiles/activesupport_5.1.5.gemfile +0 -8
  40. data/gemfiles/activesupport_5.1.5.gemfile.lock +0 -85
  41. data/gemfiles/activesupport_5.2.0.gemfile +0 -8
  42. data/gemfiles/activesupport_5.2.0.gemfile.lock +0 -85
  43. data/lib/time_bandits/monkey_patches/active_support_cache_store.rb +0 -18
  44. data/lib/time_bandits/rack/logger40.rb +0 -94
  45. 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.10.11
4
+ version: 0.12.2
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: 2018-04-14 00:00:00.000000000 Z
11
+ date: 2020-07-05 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
@@ -231,38 +231,23 @@ files:
231
231
  - ".travis.yml"
232
232
  - Appraisals
233
233
  - Gemfile
234
+ - LICENSE.txt
234
235
  - README.md
235
236
  - Rakefile
236
237
  - TODO
237
238
  - 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.1.1.gemfile
249
- - gemfiles/activesupport_5.1.1.gemfile.lock
250
- - gemfiles/activesupport_5.1.2.gemfile
251
- - gemfiles/activesupport_5.1.2.gemfile.lock
252
- - gemfiles/activesupport_5.1.5.gemfile
253
- - gemfiles/activesupport_5.1.5.gemfile.lock
254
- - gemfiles/activesupport_5.2.0.gemfile
255
- - gemfiles/activesupport_5.2.0.gemfile.lock
239
+ - gemfiles/activesupport_5.2.4.3.gemfile
240
+ - gemfiles/activesupport_5.2.4.3.gemfile.lock
241
+ - gemfiles/activesupport_6.0.3.2.gemfile
242
+ - gemfiles/activesupport_6.0.3.2.gemfile.lock
256
243
  - lib/time_bandits.rb
257
244
  - lib/time_bandits/monkey_patches/action_controller.rb
258
245
  - lib/time_bandits/monkey_patches/active_record.rb
259
- - lib/time_bandits/monkey_patches/active_support_cache_store.rb
260
246
  - lib/time_bandits/monkey_patches/memcache-client.rb
261
247
  - lib/time_bandits/monkey_patches/memcached.rb
262
248
  - lib/time_bandits/monkey_patches/redis.rb
263
249
  - lib/time_bandits/monkey_patches/sequel.rb
264
250
  - lib/time_bandits/rack/logger.rb
265
- - lib/time_bandits/rack/logger40.rb
266
251
  - lib/time_bandits/railtie.rb
267
252
  - lib/time_bandits/time_consumers/base_consumer.rb
268
253
  - lib/time_bandits/time_consumers/beetle.rb
@@ -275,7 +260,6 @@ files:
275
260
  - lib/time_bandits/time_consumers/redis.rb
276
261
  - lib/time_bandits/time_consumers/sequel.rb
277
262
  - lib/time_bandits/version.rb
278
- - rails/init.rb
279
263
  - test/test_helper.rb
280
264
  - test/unit/active_support_notifications_test.rb
281
265
  - test/unit/base_test.rb
@@ -291,8 +275,9 @@ files:
291
275
  homepage: https://github.com/skaes/time_bandits/
292
276
  licenses:
293
277
  - MIT
294
- metadata: {}
295
- post_install_message:
278
+ metadata:
279
+ changelog_uri: https://github.com/skaes/time_bandits/blob/master/README.md#release-notes
280
+ post_install_message:
296
281
  rdoc_options: []
297
282
  require_paths:
298
283
  - lib
@@ -307,9 +292,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
292
  - !ruby/object:Gem::Version
308
293
  version: '0'
309
294
  requirements: []
310
- rubyforge_project:
311
- rubygems_version: 2.7.6
312
- signing_key:
295
+ rubygems_version: 3.1.2
296
+ signing_key:
313
297
  specification_version: 4
314
298
  summary: Custom performance logging for Rails
315
299
  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.10)
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,89 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.10)
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.0.1)
24
- amqp (1.6.0)
25
- amq-protocol (>= 2.0.1)
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 (1.0.3)
34
- activesupport (>= 2.3.4)
35
- amq-protocol (= 2.0.1)
36
- amqp (= 1.6.0)
37
- bunny (~> 0.7.10)
38
- daemons (>= 1.2.0)
39
- eventmachine_httpserver (>= 0.2.1)
40
- hiredis (>= 0.4.5)
41
- redis (>= 2.2.2)
42
- uuid4r (>= 0.1.2)
43
- builder (3.2.3)
44
- bunny (0.7.10)
45
- byebug (9.0.6)
46
- daemons (1.2.4)
47
- dalli (2.7.6)
48
- eventmachine (1.2.3)
49
- eventmachine_httpserver (0.2.1)
50
- hiredis (0.6.1)
51
- i18n (0.8.4)
52
- memcached (1.8.0)
53
- metaclass (0.0.4)
54
- minitest (5.10.2)
55
- mocha (1.2.1)
56
- metaclass (~> 0.0.1)
57
- mysql2 (0.4.6)
58
- rake (10.5.0)
59
- redis (3.3.3)
60
- sequel (4.47.0)
61
- thor (0.19.4)
62
- thread_safe (0.3.6)
63
- thread_variables (0.2.0)
64
- tzinfo (1.2.3)
65
- thread_safe (~> 0.1)
66
- uuid4r (0.2.0)
67
-
68
- PLATFORMS
69
- ruby
70
-
71
- DEPENDENCIES
72
- activerecord (= 4.2.8)
73
- activesupport (= 4.2.8)
74
- ansi
75
- appraisal
76
- beetle (>= 0.4.6)
77
- byebug
78
- dalli
79
- memcached (~> 1.8.0)
80
- minitest (~> 5.5)
81
- mocha
82
- mysql2
83
- rake (~> 10.5.0)
84
- redis
85
- sequel
86
- time_bandits!
87
-
88
- BUNDLED WITH
89
- 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.9"
6
- gem "activerecord", "4.2.9"
7
-
8
- gemspec :path => "../"
@@ -1,89 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- time_bandits (0.10.10)
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.0.1)
24
- amqp (1.6.0)
25
- amq-protocol (>= 2.0.1)
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 (1.0.3)
34
- activesupport (>= 2.3.4)
35
- amq-protocol (= 2.0.1)
36
- amqp (= 1.6.0)
37
- bunny (~> 0.7.10)
38
- daemons (>= 1.2.0)
39
- eventmachine_httpserver (>= 0.2.1)
40
- hiredis (>= 0.4.5)
41
- redis (>= 2.2.2)
42
- uuid4r (>= 0.1.2)
43
- builder (3.2.3)
44
- bunny (0.7.10)
45
- byebug (9.0.6)
46
- daemons (1.2.4)
47
- dalli (2.7.6)
48
- eventmachine (1.2.3)
49
- eventmachine_httpserver (0.2.1)
50
- hiredis (0.6.1)
51
- i18n (0.8.4)
52
- memcached (1.8.0)
53
- metaclass (0.0.4)
54
- minitest (5.10.2)
55
- mocha (1.2.1)
56
- metaclass (~> 0.0.1)
57
- mysql2 (0.4.7)
58
- rake (10.5.0)
59
- redis (3.3.3)
60
- sequel (4.48.0)
61
- thor (0.19.4)
62
- thread_safe (0.3.6)
63
- thread_variables (0.2.0)
64
- tzinfo (1.2.3)
65
- thread_safe (~> 0.1)
66
- uuid4r (0.2.0)
67
-
68
- PLATFORMS
69
- ruby
70
-
71
- DEPENDENCIES
72
- activerecord (= 4.2.9)
73
- activesupport (= 4.2.9)
74
- ansi
75
- appraisal
76
- beetle (>= 0.4.6)
77
- byebug
78
- dalli
79
- memcached (~> 1.8.0)
80
- minitest (~> 5.5)
81
- mocha
82
- mysql2
83
- rake (~> 10.5.0)
84
- redis
85
- sequel
86
- time_bandits!
87
-
88
- BUNDLED WITH
89
- 1.16.1
@@ -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 => "../"