better_errors 2.10.0 → 2.10.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: 63e5bb97d23bd3c7afee4c068d074160eca36a9215fb17239a28e807b4ba5b31
4
- data.tar.gz: cd08b12eaa698201185e457f6d0eb1f4e330de23fd230b7329e32f636665d350
3
+ metadata.gz: 0d1b2c1a5ff7f1dd45ea2db8e96c69287ed94749b76c5eab80d7804ce0d44a4d
4
+ data.tar.gz: 7dbf3f093de7218e0ec668aa3b8871a68ea482f72c5ce1017215c115142bc3d2
5
5
  SHA512:
6
- metadata.gz: 8ee33a489d6117bb2446ccbd3a41893639df2af5bcb00996ca893b7acf33e6c0310e81124b978f4c991354eef9ca4459288db838d8ed4ea1a622911f96b14c9b
7
- data.tar.gz: 46d7e1c8fd6738280b5e0c1d23c85c8a7c6c4bce531ad174fbb729a78dea0a0e5870161d6c36fd4fa348da38549f03079e3e46506f8a095f6dfc4247aba390e9
6
+ metadata.gz: ae3fed0710c2f1f555b1b561177aa22dcebed513de9362fd1ddc41c3a35560ce896b81cfd3c55969573a0fd0b95b38eb034d285bc8ed507ccbecc26d94e4c4b6
7
+ data.tar.gz: 3bdf3858b49dfb4d7967328dba1ef565831df1a33b966e53594b2c7291d4839737fe5bc05ebf7ecff6b2ae48d9573f2e62f5ebbfcd5cb909ea8972919b31f947
@@ -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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2021 Hailey Somerville
1
+ Copyright (c) 2012-2023 Hailey Somerville
2
2
 
3
3
  MIT License
4
4
 
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module BetterErrors
2
2
  # This is changed by CI before building a gem for release, but is not committed.
3
- VERSION = "2.10.0"
3
+ VERSION = "2.10.1"
4
4
  end
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.0
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-04-28 00:00:00.000000000 Z
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.txt
173
+ - LICENSE
174
174
  - README.md
175
175
  - better_errors.gemspec
176
176
  - gemfiles/pry010.gemfile