better_errors 2.10.0 → 2.10.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 +4 -4
- data/.github/workflows/ci.yml +0 -19
- data/{LICENSE.txt → LICENSE} +1 -1
- data/lib/better_errors/error_page_style.rb +15 -2
- data/lib/better_errors/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d1b2c1a5ff7f1dd45ea2db8e96c69287ed94749b76c5eab80d7804ce0d44a4d
|
|
4
|
+
data.tar.gz: 7dbf3f093de7218e0ec668aa3b8871a68ea482f72c5ce1017215c115142bc3d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae3fed0710c2f1f555b1b561177aa22dcebed513de9362fd1ddc41c3a35560ce896b81cfd3c55969573a0fd0b95b38eb034d285bc8ed507ccbecc26d94e4c4b6
|
|
7
|
+
data.tar.gz: 3bdf3858b49dfb4d7967328dba1ef565831df1a33b966e53594b2c7291d4839737fe5bc05ebf7ecff6b2ae48d9573f2e62f5ebbfcd5cb909ea8972919b31f947
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -121,22 +121,3 @@ jobs:
|
|
|
121
121
|
run: bundle exec rspec -f doc --color
|
|
122
122
|
env:
|
|
123
123
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
|
124
|
-
|
|
125
|
-
- name: Report to Coveralls
|
|
126
|
-
uses: coverallsapp/github-action@v1.1.2
|
|
127
|
-
with:
|
|
128
|
-
github-token: ${{ secrets.github_token }}
|
|
129
|
-
flag-name: test-${{ matrix.ruby }}-${{ matrix.gemfile }}
|
|
130
|
-
parallel: true
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
finish:
|
|
134
|
-
needs: test
|
|
135
|
-
runs-on: ubuntu-latest
|
|
136
|
-
steps:
|
|
137
|
-
|
|
138
|
-
- name: Report completion to Coveralls
|
|
139
|
-
uses: coverallsapp/github-action@v1.1.2
|
|
140
|
-
with:
|
|
141
|
-
github-token: ${{ secrets.github_token }}
|
|
142
|
-
parallel-finished: true
|
data/{LICENSE.txt → LICENSE}
RENAMED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
require "sassc"
|
|
2
|
-
|
|
3
1
|
module BetterErrors
|
|
4
2
|
# @private
|
|
5
3
|
module ErrorPageStyle
|
|
6
4
|
def self.compiled_css(for_deployment = false)
|
|
5
|
+
begin
|
|
6
|
+
require "sassc"
|
|
7
|
+
rescue LoadError
|
|
8
|
+
raise LoadError, "The `sassc` gem is required when developing the `better_errors` gem. "\
|
|
9
|
+
"If you're using a release of `better_errors`, the compiled CSS is missing from the released gem"
|
|
10
|
+
# If you arrived here because sassc is not in your project's Gemfile,
|
|
11
|
+
# the issue here is that the release of the better_errors gem
|
|
12
|
+
# is supposed to contain the compiled CSS, but that file is missing from the release.
|
|
13
|
+
# So better_errors is trying to build the CSS on the fly, which requires the sassc gem.
|
|
14
|
+
#
|
|
15
|
+
# If you're developing the better_errors gem locally, and you're running a project
|
|
16
|
+
# that does not have sassc in its bundle, run `rake style:build` in the better_errors
|
|
17
|
+
# project to compile the CSS file.
|
|
18
|
+
end
|
|
19
|
+
|
|
7
20
|
style_dir = File.expand_path("style", File.dirname(__FILE__))
|
|
8
21
|
style_file = "#{style_dir}/main.scss"
|
|
9
22
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: better_errors
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.10.
|
|
4
|
+
version: 2.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hailey Somerville
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -170,7 +170,7 @@ files:
|
|
|
170
170
|
- ".yardopts"
|
|
171
171
|
- CHANGELOG.md
|
|
172
172
|
- Gemfile
|
|
173
|
-
- LICENSE
|
|
173
|
+
- LICENSE
|
|
174
174
|
- README.md
|
|
175
175
|
- better_errors.gemspec
|
|
176
176
|
- gemfiles/pry010.gemfile
|