console-adapter-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/console/adapter/rails/action_controller.rb +2 -1
- data/lib/console/adapter/rails/active_record.rb +3 -2
- data/lib/console/adapter/rails/logger.rb +2 -1
- data/lib/console/adapter/rails/railtie.rb +2 -1
- data/lib/console/adapter/rails/version.rb +2 -2
- data/lib/console/adapter/rails.rb +3 -13
- data/license.md +3 -1
- data/readme.md +4 -7
- data.tar.gz.sig +0 -0
- metadata +17 -14
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4e48e85afc72be9449b0da7dcc6ea25c3333daaafe092062429ea8944fcca98
|
4
|
+
data.tar.gz: 3c325105475e32b6099d9eb35c7fe6ec2ec6990ef920c2b07cb03e4c4d211206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0265cf56ce46b5fac25cc1c3efccc071951b84d57e46d8e572ea5f16a8a70cacc2ea2645d9696acf4ccf5bfcaa1233d7dbd360da9b6738d483c534ca85eb785
|
7
|
+
data.tar.gz: 3f7377560820af3bd579778be6d85f15a0a83846eff9c1eca3e25a0957df0996010d8fcdfbb31f7a6f156d585cb42223c1bb1094d1b1e2c0ef8ad5591f6cd3fa
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
4
|
+
# Copyright, 2023-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'console'
|
7
7
|
|
8
|
+
require 'active_support/log_subscriber'
|
8
9
|
require 'action_controller/log_subscriber'
|
9
10
|
|
10
11
|
module Console
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
4
|
+
# Copyright, 2023-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'console'
|
7
7
|
|
8
|
+
require 'active_support/log_subscriber'
|
8
9
|
require 'active_record/log_subscriber'
|
9
10
|
|
10
11
|
module Console
|
@@ -67,4 +68,4 @@ module Console
|
|
67
68
|
end
|
68
69
|
end
|
69
70
|
end
|
70
|
-
end
|
71
|
+
end
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright,
|
4
|
+
# Copyright, 2024, by Michael Adams.
|
5
|
+
# Copyright, 2024, by Samuel Williams.
|
5
6
|
|
6
7
|
require 'action_controller/log_subscriber'
|
7
8
|
require 'action_view/log_subscriber'
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
4
|
+
# Copyright, 2023-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
module Console
|
7
7
|
module Adapter
|
8
8
|
module Rails
|
9
|
-
VERSION = "0.4.
|
9
|
+
VERSION = "0.4.1"
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
@@ -1,20 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
4
|
+
# Copyright, 2023-2024, by Samuel Williams.
|
5
|
+
# Copyright, 2024, by Michael Adams.
|
5
6
|
|
6
7
|
require_relative 'rails/logger'
|
7
8
|
require_relative 'rails/action_controller'
|
8
9
|
require_relative 'rails/active_record'
|
9
|
-
require_relative
|
10
|
-
|
11
|
-
module Console
|
12
|
-
module Adapter
|
13
|
-
# A Rails adapter for the console logger.
|
14
|
-
module Rails
|
15
|
-
# Placeholder to remain compatible with older clients
|
16
|
-
def self.apply!
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
10
|
+
require_relative "rails/railtie" if defined?(Rails::Railtie)
|
data/license.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# MIT License
|
2
2
|
|
3
|
-
Copyright, 2023, by Samuel Williams.
|
3
|
+
Copyright, 2023-2024, by Samuel Williams.
|
4
|
+
Copyright, 2023, by Joshua Young.
|
5
|
+
Copyright, 2024, by Michael Adams.
|
4
6
|
|
5
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
8
|
of this software and associated documentation files (the "Software"), to deal
|
data/readme.md
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
Adapt Rails event logs for `console`.
|
4
4
|
|
5
|
-
[![Development
|
6
|
-
Status](https://github.com/socketry/console-adapter-rails/workflows/Test/badge.svg)](https://github.com/socketry/console-adapter-rails/actions?workflow=Test)
|
5
|
+
[![Development Status](https://github.com/socketry/console-adapter-rails/workflows/Test/badge.svg)](https://github.com/socketry/console-adapter-rails/actions?workflow=Test)
|
7
6
|
|
8
7
|
## Usage
|
9
8
|
|
@@ -23,10 +22,8 @@ We welcome contributions to this project.
|
|
23
22
|
|
24
23
|
### Developer Certificate of Origin
|
25
24
|
|
26
|
-
|
27
|
-
project must agree to this document to have their contributions accepted.
|
25
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
28
26
|
|
29
|
-
###
|
27
|
+
### Community Guidelines
|
30
28
|
|
31
|
-
This project is
|
32
|
-
participants agree to abide by its terms.
|
29
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console-adapter-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Joshua Young
|
9
|
+
- Michael Adams
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain:
|
@@ -37,7 +39,7 @@ cert_chain:
|
|
37
39
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
40
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
41
|
-----END CERTIFICATE-----
|
40
|
-
date: 2024-
|
42
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
41
43
|
dependencies:
|
42
44
|
- !ruby/object:Gem::Dependency
|
43
45
|
name: console
|
@@ -54,33 +56,33 @@ dependencies:
|
|
54
56
|
- !ruby/object:Gem::Version
|
55
57
|
version: '1.21'
|
56
58
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
59
|
+
name: fiber-storage
|
58
60
|
requirement: !ruby/object:Gem::Requirement
|
59
61
|
requirements:
|
60
|
-
- - "
|
62
|
+
- - "~>"
|
61
63
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
64
|
+
version: '1.0'
|
63
65
|
type: :runtime
|
64
66
|
prerelease: false
|
65
67
|
version_requirements: !ruby/object:Gem::Requirement
|
66
68
|
requirements:
|
67
|
-
- - "
|
69
|
+
- - "~>"
|
68
70
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
71
|
+
version: '1.0'
|
70
72
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
73
|
+
name: rails
|
72
74
|
requirement: !ruby/object:Gem::Requirement
|
73
75
|
requirements:
|
74
|
-
- - "
|
76
|
+
- - ">="
|
75
77
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
78
|
+
version: '6.1'
|
77
79
|
type: :runtime
|
78
80
|
prerelease: false
|
79
81
|
version_requirements: !ruby/object:Gem::Requirement
|
80
82
|
requirements:
|
81
|
-
- - "
|
83
|
+
- - ">="
|
82
84
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
85
|
+
version: '6.1'
|
84
86
|
description:
|
85
87
|
email:
|
86
88
|
executables: []
|
@@ -100,6 +102,7 @@ licenses:
|
|
100
102
|
- MIT
|
101
103
|
metadata:
|
102
104
|
documentation_uri: https://socketry.github.io/console-adapter-rails/
|
105
|
+
source_code_uri: https://github.com/socketry/console-adapter-rails.git
|
103
106
|
post_install_message:
|
104
107
|
rdoc_options: []
|
105
108
|
require_paths:
|
@@ -108,14 +111,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
111
|
requirements:
|
109
112
|
- - ">="
|
110
113
|
- !ruby/object:Gem::Version
|
111
|
-
version: '3.
|
114
|
+
version: '3.1'
|
112
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
116
|
requirements:
|
114
117
|
- - ">="
|
115
118
|
- !ruby/object:Gem::Version
|
116
119
|
version: '0'
|
117
120
|
requirements: []
|
118
|
-
rubygems_version: 3.5.
|
121
|
+
rubygems_version: 3.5.11
|
119
122
|
signing_key:
|
120
123
|
specification_version: 4
|
121
124
|
summary: Adapt Rails logs and events to the console gem.
|
metadata.gz.sig
CHANGED
Binary file
|