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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cc4bca3597337b67f0d19a87e57e5bd5e989f3e99052e6a07968db52e4e77a1
4
- data.tar.gz: 2a2cd5896bf6966db23d612a05f481c41b44735ee8a36e4ea7bd1c0d6e6b7a70
3
+ metadata.gz: a4e48e85afc72be9449b0da7dcc6ea25c3333daaafe092062429ea8944fcca98
4
+ data.tar.gz: 3c325105475e32b6099d9eb35c7fe6ec2ec6990ef920c2b07cb03e4c4d211206
5
5
  SHA512:
6
- metadata.gz: 02a6978fad7e5c8d645af5e5994b610e1b71b3c618858de3a4d621c5387cb3964102e4306f0941b6c117b710ccc1d46e2a52b45a738bbb288d663da1949426bf
7
- data.tar.gz: ec8cffd46a7cd02fe812713fd87123af1ffbd880f19d79b45b8ad731def893148d2069084211ee6125ea0893971a8c83decaecc996781e8aca89be083e9aecde
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, 2023, by Samuel Williams.
4
+ # Copyright, 2023-2024, by Samuel Williams.
5
+ # Copyright, 2024, by Michael Adams.
5
6
 
6
7
  require 'console/compatible/logger'
7
8
 
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2023, by Samuel Williams.
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.0"
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 'rails/railtie'
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
- This project uses the [Developer Certificate of Origin](https://developercertificate.org/). All contributors to this
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
- ### Contributor Covenant
27
+ ### Community Guidelines
30
28
 
31
- This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and
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.0
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-04-04 00:00:00.000000000 Z
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: rails
59
+ name: fiber-storage
58
60
  requirement: !ruby/object:Gem::Requirement
59
61
  requirements:
60
- - - ">="
62
+ - - "~>"
61
63
  - !ruby/object:Gem::Version
62
- version: '6.1'
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: '6.1'
71
+ version: '1.0'
70
72
  - !ruby/object:Gem::Dependency
71
- name: fiber-storage
73
+ name: rails
72
74
  requirement: !ruby/object:Gem::Requirement
73
75
  requirements:
74
- - - "~>"
76
+ - - ">="
75
77
  - !ruby/object:Gem::Version
76
- version: '0.1'
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: '0.1'
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.0'
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.3
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