alchemy-solid_errors 0.1.0 → 0.2.0
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 +4 -4
- data/README.md +11 -0
- data/config/initializers/alchemy.rb +15 -13
- data/lib/alchemy/solid_errors/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 548d5ff7bf1510555266d39241cc9a5ef00eae8766d59ffdc1f6ea4523a86c16
|
|
4
|
+
data.tar.gz: df1498be2c17017e2aa326440c0bf09c6ea5333cdd9c1596d618e91f29d1c473
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03cee31fc84bd14534b984dc417d5efefb3139f017038a04225e77049718c758ab2e0e5900859eefc108c2a81522bceaf53eeb48500734073ae7446144abad4c
|
|
7
|
+
data.tar.gz: 21fe05c5c2e8b7fb6cc9ba8cabc7590fe8b821f6f73ba3f4181f0af1a7d4a9eefd48922d46bc7c3e39855f56210125b57c4e7d1b6fc5ffbdcde6c39a286bf6af
|
data/README.md
CHANGED
|
@@ -14,6 +14,17 @@ Add the gem to your Gemfile and restart the application.
|
|
|
14
14
|
$ bundle add alchemy-solid_errors
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Follow the installation instructions of [Solid Errors](https://github.com/fractaledmind/solid_errors?tab=readme-ov-file#installation).
|
|
18
|
+
You have to run the Solid Errors generator:
|
|
19
|
+
|
|
20
|
+
```shell
|
|
21
|
+
$ rails generate solid_errors:install
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
> [!NOTE]
|
|
25
|
+
> This will add all necessary configurations for production. The gem will only show the menu item if Solid Errors is enabled in the environment.
|
|
26
|
+
> If you want to use this gem in development, you have to add the configuration manually to your `config/environments/development.rb`.
|
|
27
|
+
|
|
17
28
|
## Release a new version
|
|
18
29
|
|
|
19
30
|
First, bump the version with [gem-release](https://bundler.io/guides/creating_gem.html#releasing-the-gem):
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
Rails.application.config.to_prepare do
|
|
2
2
|
require "alchemy/solid_errors/ability"
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
if SolidErrors.connects_to.present?
|
|
5
|
+
Alchemy.register_ability(Alchemy::SolidErrors::Ability)
|
|
6
|
+
Alchemy.admin_stylesheets << "alchemy/solid_errors/alchemy-admin.css"
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
Alchemy::Modules.register_module({
|
|
9
|
+
name: "errors",
|
|
10
|
+
engine_name: "alchemy",
|
|
11
|
+
position: 7.1,
|
|
12
|
+
navigation: {
|
|
13
|
+
name: "modules.errors",
|
|
14
|
+
controller: "/alchemy/admin/errors",
|
|
15
|
+
action: "index",
|
|
16
|
+
icon: "bug"
|
|
17
|
+
}
|
|
18
|
+
})
|
|
19
|
+
end
|
|
18
20
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alchemy-solid_errors
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sascha Karnatz
|
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
195
|
requirements: []
|
|
196
|
-
rubygems_version:
|
|
196
|
+
rubygems_version: 4.0.3
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: A simple integration of Solid Errors into AlchemyCMS
|
|
199
199
|
test_files: []
|