logtail-rails 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +100 -78
- data/.rspec +1 -0
- data/Gemfile +2 -0
- data/example-project/Gemfile +1 -1
- data/gemfiles/rails-5.0.gemfile +1 -0
- data/gemfiles/rails-5.1.gemfile +1 -0
- data/gemfiles/rails-5.2.gemfile +1 -0
- data/gemfiles/rails-6.0.gemfile +1 -0
- data/gemfiles/rails-6.1.gemfile +1 -0
- data/gemfiles/rails-7.0.gemfile +1 -0
- data/gemfiles/rails-7.1.gemfile +1 -0
- data/gemfiles/rails-edge.gemfile +1 -0
- data/lib/logtail-rails/logger.rb +2 -0
- data/lib/logtail-rails/sidekiq.rb +1 -0
- data/lib/logtail-rails/version.rb +1 -1
- data/lib/logtail-rails.rb +0 -1
- data/logtail-rails.gemspec +6 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89dfbdb36a0a89b1fc0009815fdb21faa6cd2aa5fa378cebc3a898652f7a92b1
|
4
|
+
data.tar.gz: 1c7e0b8d2045838a74e53931689a12f07610a2d718ada2e277752191ee655137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29901f6d776bf339f5dd2bd348ee6d408beb19f19ff20227572cc3fe531acf26ed5aeb460e6a13edf1fa45e0f0ec62a34afadb36595229cdbf207fb3dccc82ac
|
7
|
+
data.tar.gz: 59c0317d0dd9e962cd0d90b4d8361e51e54293b0cc2eda59740ec8440b447c92971bbbed4a21ef5b1c23b4872bc0b229279c6e8580b358e77ae6fa9259c02c57
|
data/.github/workflows/main.yml
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
name: build
|
2
2
|
|
3
3
|
on:
|
4
|
+
pull_request:
|
4
5
|
push:
|
6
|
+
branches: [main]
|
5
7
|
schedule:
|
6
8
|
- cron: '20 5 * * 1'
|
7
9
|
workflow_dispatch:
|
@@ -15,91 +17,111 @@ jobs:
|
|
15
17
|
|
16
18
|
matrix:
|
17
19
|
ruby-version:
|
18
|
-
- 3
|
19
|
-
- 3.
|
20
|
-
- 3.
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- 2.
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
20
|
+
- "3"
|
21
|
+
- "3.3"
|
22
|
+
- "3.2"
|
23
|
+
- "3.1"
|
24
|
+
- "3.0"
|
25
|
+
- "2.7"
|
26
|
+
- "2.6"
|
27
|
+
- "2.5"
|
28
|
+
- "jruby-9.4.3.0"
|
29
|
+
- "jruby-9.2.14.0"
|
30
|
+
- "truffleruby-23.0.0"
|
31
|
+
- "truffleruby-22.1.0"
|
28
32
|
gemfile:
|
29
|
-
- rails-edge
|
30
|
-
- rails-7.1
|
31
|
-
- rails-7.0
|
32
|
-
- rails-6.1
|
33
|
-
- rails-6.0
|
34
|
-
- rails-5.2
|
35
|
-
- rails-5.1
|
36
|
-
- rails-5.0
|
33
|
+
- "rails-edge"
|
34
|
+
- "rails-7.1"
|
35
|
+
- "rails-7.0"
|
36
|
+
- "rails-6.1"
|
37
|
+
- "rails-6.0"
|
38
|
+
- "rails-5.2"
|
39
|
+
- "rails-5.1"
|
40
|
+
- "rails-5.0"
|
37
41
|
exclude:
|
38
|
-
- gemfile: rails-edge
|
39
|
-
ruby-version:
|
40
|
-
- gemfile: rails-edge
|
41
|
-
ruby-version: 2.
|
42
|
-
- gemfile: rails-edge
|
43
|
-
ruby-version:
|
44
|
-
- gemfile: rails-edge
|
45
|
-
ruby-version:
|
46
|
-
- gemfile: rails-edge
|
47
|
-
ruby-version:
|
42
|
+
- gemfile: "rails-edge"
|
43
|
+
ruby-version: "3.0"
|
44
|
+
- gemfile: "rails-edge"
|
45
|
+
ruby-version: "2.7"
|
46
|
+
- gemfile: "rails-edge"
|
47
|
+
ruby-version: "2.6"
|
48
|
+
- gemfile: "rails-edge"
|
49
|
+
ruby-version: "2.5"
|
50
|
+
- gemfile: "rails-edge"
|
51
|
+
ruby-version: "jruby-9.4.3.0"
|
52
|
+
- gemfile: "rails-edge"
|
53
|
+
ruby-version: "jruby-9.2.14.0"
|
54
|
+
- gemfile: "rails-edge"
|
55
|
+
ruby-version: "truffleruby-22.1.0"
|
56
|
+
- gemfile: "rails-edge"
|
57
|
+
ruby-version: "truffleruby-23.0.0"
|
48
58
|
|
49
|
-
- gemfile: rails-7.1
|
50
|
-
ruby-version: 2.6
|
51
|
-
- gemfile: rails-7.1
|
52
|
-
ruby-version: 2.5
|
53
|
-
- gemfile: rails-7.1
|
54
|
-
ruby-version: jruby-9.4.3.0
|
55
|
-
- gemfile: rails-7.1
|
56
|
-
ruby-version: jruby-9.2.14.0
|
59
|
+
- gemfile: "rails-7.1"
|
60
|
+
ruby-version: "2.6"
|
61
|
+
- gemfile: "rails-7.1"
|
62
|
+
ruby-version: "2.5"
|
63
|
+
- gemfile: "rails-7.1"
|
64
|
+
ruby-version: "jruby-9.4.3.0"
|
65
|
+
- gemfile: "rails-7.1"
|
66
|
+
ruby-version: "jruby-9.2.14.0"
|
57
67
|
|
58
|
-
- gemfile: rails-7.0
|
59
|
-
ruby-version: 2.6
|
60
|
-
- gemfile: rails-7.0
|
61
|
-
ruby-version: 2.5
|
62
|
-
- gemfile: rails-7.0
|
63
|
-
ruby-version: jruby-9.2.14.0
|
68
|
+
- gemfile: "rails-7.0"
|
69
|
+
ruby-version: "2.6"
|
70
|
+
- gemfile: "rails-7.0"
|
71
|
+
ruby-version: "2.5"
|
72
|
+
- gemfile: "rails-7.0"
|
73
|
+
ruby-version: "jruby-9.2.14.0"
|
64
74
|
|
65
|
-
- gemfile: rails-5.2
|
66
|
-
ruby-version: 3
|
67
|
-
- gemfile: rails-5.2
|
68
|
-
ruby-version: 3.
|
69
|
-
- gemfile: rails-5.2
|
70
|
-
ruby-version: 3.
|
71
|
-
- gemfile: rails-5.2
|
72
|
-
ruby-version:
|
73
|
-
- gemfile: rails-5.2
|
74
|
-
ruby-version:
|
75
|
-
- gemfile: rails-5.2
|
76
|
-
ruby-version:
|
75
|
+
- gemfile: "rails-5.2"
|
76
|
+
ruby-version: "3"
|
77
|
+
- gemfile: "rails-5.2"
|
78
|
+
ruby-version: "3.3"
|
79
|
+
- gemfile: "rails-5.2"
|
80
|
+
ruby-version: "3.2"
|
81
|
+
- gemfile: "rails-5.2"
|
82
|
+
ruby-version: "3.1"
|
83
|
+
- gemfile: "rails-5.2"
|
84
|
+
ruby-version: "3.0"
|
85
|
+
- gemfile: "rails-5.2"
|
86
|
+
ruby-version: "jruby-9.4.3.0"
|
87
|
+
- gemfile: "rails-5.2"
|
88
|
+
ruby-version: "truffleruby-22.1.0"
|
89
|
+
- gemfile: "rails-5.2"
|
90
|
+
ruby-version: "truffleruby-23.0.0"
|
77
91
|
|
78
|
-
- gemfile: rails-5.1
|
79
|
-
ruby-version: 3
|
80
|
-
- gemfile: rails-5.1
|
81
|
-
ruby-version: 3.
|
82
|
-
- gemfile: rails-5.1
|
83
|
-
ruby-version: 3.
|
84
|
-
- gemfile: rails-5.1
|
85
|
-
ruby-version:
|
86
|
-
- gemfile: rails-5.1
|
87
|
-
ruby-version:
|
88
|
-
- gemfile: rails-5.1
|
89
|
-
ruby-version:
|
92
|
+
- gemfile: "rails-5.1"
|
93
|
+
ruby-version: "3"
|
94
|
+
- gemfile: "rails-5.1"
|
95
|
+
ruby-version: "3.3"
|
96
|
+
- gemfile: "rails-5.1"
|
97
|
+
ruby-version: "3.2"
|
98
|
+
- gemfile: "rails-5.1"
|
99
|
+
ruby-version: "3.1"
|
100
|
+
- gemfile: "rails-5.1"
|
101
|
+
ruby-version: "3.0"
|
102
|
+
- gemfile: "rails-5.1"
|
103
|
+
ruby-version: "jruby-9.4.3.0"
|
104
|
+
- gemfile: "rails-5.1"
|
105
|
+
ruby-version: "truffleruby-23.0.0"
|
106
|
+
- gemfile: "rails-5.1"
|
107
|
+
ruby-version: "truffleruby-22.1.0"
|
90
108
|
|
91
|
-
- gemfile: rails-5.0
|
92
|
-
ruby-version: 3
|
93
|
-
- gemfile: rails-5.0
|
94
|
-
ruby-version: 3.
|
95
|
-
- gemfile: rails-5.0
|
96
|
-
ruby-version: 3.
|
97
|
-
- gemfile: rails-5.0
|
98
|
-
ruby-version:
|
99
|
-
- gemfile: rails-5.0
|
100
|
-
ruby-version:
|
101
|
-
- gemfile: rails-5.0
|
102
|
-
ruby-version:
|
109
|
+
- gemfile: "rails-5.0"
|
110
|
+
ruby-version: "3"
|
111
|
+
- gemfile: "rails-5.0"
|
112
|
+
ruby-version: "3.3"
|
113
|
+
- gemfile: "rails-5.0"
|
114
|
+
ruby-version: "3.2"
|
115
|
+
- gemfile: "rails-5.0"
|
116
|
+
ruby-version: "3.1"
|
117
|
+
- gemfile: "rails-5.0"
|
118
|
+
ruby-version: "3.0"
|
119
|
+
- gemfile: "rails-5.0"
|
120
|
+
ruby-version: "jruby-9.4.3.0"
|
121
|
+
- gemfile: "rails-5.0"
|
122
|
+
ruby-version: "truffleruby-23.0.0"
|
123
|
+
- gemfile: "rails-5.0"
|
124
|
+
ruby-version: "truffleruby-22.1.0"
|
103
125
|
|
104
126
|
env:
|
105
127
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
data/.rspec
CHANGED
data/Gemfile
CHANGED
data/example-project/Gemfile
CHANGED
data/gemfiles/rails-5.0.gemfile
CHANGED
data/gemfiles/rails-5.1.gemfile
CHANGED
data/gemfiles/rails-5.2.gemfile
CHANGED
data/gemfiles/rails-6.0.gemfile
CHANGED
data/gemfiles/rails-6.1.gemfile
CHANGED
data/gemfiles/rails-7.0.gemfile
CHANGED
data/gemfiles/rails-7.1.gemfile
CHANGED
data/gemfiles/rails-edge.gemfile
CHANGED
data/lib/logtail-rails/logger.rb
CHANGED
@@ -65,6 +65,8 @@ module Logtail
|
|
65
65
|
logger = self.create_logger(io_device)
|
66
66
|
|
67
67
|
if defined?(Sidekiq)
|
68
|
+
require "logtail-rails/sidekiq"
|
69
|
+
|
68
70
|
Sidekiq.configure_server do |config|
|
69
71
|
logger = self.create_logger(io_device, config.logger) if config.logger.class == Sidekiq::Logger
|
70
72
|
config.logger = logger
|
data/lib/logtail-rails.rb
CHANGED
@@ -21,7 +21,6 @@ require "logtail-rails/action_controller"
|
|
21
21
|
require "logtail-rails/action_dispatch"
|
22
22
|
require "logtail-rails/action_view"
|
23
23
|
require "logtail-rails/active_record"
|
24
|
-
require "logtail-rails/sidekiq"
|
25
24
|
|
26
25
|
require "logtail-rails/log_entry"
|
27
26
|
require "logtail-rails/logger"
|
data/logtail-rails.gemspec
CHANGED
@@ -39,11 +39,11 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "rake", ">= 0.8"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
41
41
|
|
42
|
-
spec.add_development_dependency
|
43
|
-
spec.add_development_dependency
|
44
|
-
spec.add_development_dependency
|
45
|
-
spec.add_development_dependency
|
46
|
-
spec.add_development_dependency
|
42
|
+
spec.add_development_dependency "bundler-audit", ">= 0"
|
43
|
+
spec.add_development_dependency "rails_stdout_logging", ">= 0"
|
44
|
+
spec.add_development_dependency "rspec-its", ">= 0"
|
45
|
+
spec.add_development_dependency "timecop", ">= 0"
|
46
|
+
spec.add_development_dependency "webmock", "~> 2.3"
|
47
47
|
|
48
48
|
rails_version = 0
|
49
49
|
if ENV.key?('RAILS_VERSION')
|
@@ -58,6 +58,6 @@ Gem::Specification.new do |spec|
|
|
58
58
|
elsif rails_version >= 3 && rails_version < 6
|
59
59
|
spec.add_development_dependency('sqlite3', '1.3.13')
|
60
60
|
else
|
61
|
-
spec.add_development_dependency('sqlite3', '~> 1.
|
61
|
+
spec.add_development_dependency('sqlite3', '~> 1.5.0')
|
62
62
|
end
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logtail-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Better Stack
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logtail
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 1.
|
201
|
+
version: 1.5.0
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 1.
|
208
|
+
version: 1.5.0
|
209
209
|
description:
|
210
210
|
email:
|
211
211
|
- hello@betterstack.com
|
@@ -361,7 +361,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
361
361
|
- !ruby/object:Gem::Version
|
362
362
|
version: '0'
|
363
363
|
requirements: []
|
364
|
-
rubygems_version: 3.
|
364
|
+
rubygems_version: 3.3.7
|
365
365
|
signing_key:
|
366
366
|
specification_version: 4
|
367
367
|
summary: Better Stack Rails integration
|