solid_errors 0.6.0 → 0.6.1
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acc9e46b7ee94e391df6d5fa4b11fd0550dcef9eca0f1b2089ec8ea81d6dc47e
|
|
4
|
+
data.tar.gz: 37fda129cbac297cb10da823a70188515f29f57f02160b2acf01fd010345698a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f2cd0c74b2a38ac93abb353cc8083cb623b942cd117df06efaf246afc0e42e2cd40732692fb6e7510c2962fab5a3826d88c674c21d1c2582de8264a4ccbca82
|
|
7
|
+
data.tar.gz: 1ecc1ebc03b277fa8840cdc3550ad0e64f566761a3ecdc5ad45a2daa39fde4b8922c528eec6fa3097fd15f098bfcbe7b372bc26197855e5507990d04e1729ce3
|
data/README.md
CHANGED
|
@@ -80,7 +80,7 @@ production:
|
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
> [!NOTE]
|
|
83
|
-
> Calling `bin/rails solid_errors:install` will automatically add `config.solid_errors.connects_to = { database: { writing: :errors } }` to `config/environments/production.rb`, so no additional configuration is needed there (although you must make sure that you use the errors name in database.yml for this to match!). But if you want to use Solid
|
|
83
|
+
> Calling `bin/rails solid_errors:install` will automatically add `config.solid_errors.connects_to = { database: { writing: :errors } }` to `config/environments/production.rb`, so no additional configuration is needed there (although you must make sure that you use the `errors` name in `database.yml` for this to match!). But if you want to use Solid Errors in a different environment (like staging or even development), you'll have to manually add that `config.solid_errors.connects_to` line to the respective environment file. And, as always, make sure that the name you're using for the database in `config/database.yml` matches the name you use in `config.solid_errors.connects_to`.
|
|
84
84
|
|
|
85
85
|
Then run `db:prepare` in production to ensure the database is created and the schema is loaded.
|
|
86
86
|
|
|
@@ -22,7 +22,7 @@ module SolidErrors
|
|
|
22
22
|
'\1config.solid_errors.email_from = ""',
|
|
23
23
|
'\1config.solid_errors.email_to = ""',
|
|
24
24
|
'\1config.solid_errors.username = Rails.application.credentials.dig(:solid_errors, :username)',
|
|
25
|
-
'\1config.solid_errors.password = Rails.application.credentials.dig(:solid_errors, :password)'
|
|
25
|
+
'\1config.solid_errors.password = Rails.application.credentials.dig(:solid_errors, :password)'
|
|
26
26
|
].join("\n")
|
|
27
27
|
end
|
|
28
28
|
end
|
data/lib/solid_errors/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solid_errors
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen Margheim
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionmailer
|
|
@@ -142,7 +142,7 @@ files:
|
|
|
142
142
|
- config/routes.rb
|
|
143
143
|
- lib/generators/solid_errors/install/USAGE
|
|
144
144
|
- lib/generators/solid_errors/install/install_generator.rb
|
|
145
|
-
- lib/generators/solid_errors/install/templates/errors_schema.rb
|
|
145
|
+
- lib/generators/solid_errors/install/templates/db/errors_schema.rb
|
|
146
146
|
- lib/solid_errors.rb
|
|
147
147
|
- lib/solid_errors/engine.rb
|
|
148
148
|
- lib/solid_errors/sanitizer.rb
|
/data/lib/generators/solid_errors/install/templates/{errors_schema.rb → db/errors_schema.rb}
RENAMED
|
File without changes
|