jefferies_tube 1.7.1 → 1.7.2

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: 791bdc5af6fee6a4346a7dce621fb79721769bf4301ed74af578da40f51252e3
4
- data.tar.gz: b2e0d0d8663ed323cb2905d017cfc47b90a7703f64a49fd68082b4700decfb6d
3
+ metadata.gz: ca8d56135b33d037ba12d77f20dc082a497486eb00d0eaf9f715f03b8774adcc
4
+ data.tar.gz: 8ceaad1f04edcf0148f8db51fafcfbd29315926d45247f7c93900542c46f1969
5
5
  SHA512:
6
- metadata.gz: 995e0058319ed25823e9ee215483c9f794dd3d5da8c5d605cd1046d719011e9d5090ee1a832cc2319959ceb19795266c65550c0b28ece6adb037839b973bc532
7
- data.tar.gz: 21de2d325f17383ba7759b341d72125d2dfa960cfeddd80982aad477e7b84fa2ef1a4a1bc9159601f7ad3e03cfc8a605aa7f30e3d85ae0530585643cdd6a069e
6
+ metadata.gz: 3c627476fa13b98cb5c915a8fba52dacfbf478aa312d0d0863e8a393f1e7b197f34f92d35b382036e6d278a1a31b5d46481d9bd0d45ca87230f0bcfc4439e369
7
+ data.tar.gz: 1196aac937a50aaaa5e028f177f4eed34db296534f6dba984c879674a29f05a6d85d9dcb262bb44428397bf8da54b16023de4880a1f31de9294a6b8bc2000dbd
data/CHANGELOG.md CHANGED
@@ -6,6 +6,9 @@ This project attempts to follow [semantic versioning](https://semver.org/)
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.7.2
10
+ * Bugfix: update 404 and 500 pages to have .html.erb variants, not just .haml
11
+
9
12
  ## 1.7.1
10
13
  * Bugfix: change `exists?` to `exist?` and check for `existing_spec_helper` file
11
14
  * Update robocop rules
@@ -0,0 +1,15 @@
1
+ <html>
2
+ <head>
3
+ <title>404: <%= request.fullpath %></title>
4
+ <style>
5
+ #jt-error {
6
+ margin: 32px auto; padding: 32px;
7
+ }
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <div id="jt-error">
12
+ <p>Sorry! We couldn't find the page you were looking for :(</p>
13
+ </div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,16 @@
1
+ <html>
2
+ <head>
3
+ <title>500: <%= request.fullpath %></title>
4
+ <style>
5
+ #jt-error {
6
+ margin: 32px auto; padding: 32px;
7
+ }
8
+ </style>
9
+ </head>
10
+ <body>
11
+ <div id="jt-error">
12
+ <p>Sorry! Something went wrong with our server. Our development team has been notified.</p>
13
+ <p><%= "Error Code: 500 (#{@exception.class.name})" %></p>
14
+ </div>
15
+ </body>
16
+ </html>
@@ -1,7 +1,7 @@
1
1
  require 'open-uri'
2
2
 
3
3
  module JefferiesTube
4
- VERSION = "1.7.1"
4
+ VERSION = "1.7.2"
5
5
 
6
6
  def self.latest_rubygems_version
7
7
  JSON.parse(URI.parse("https://rubygems.org/api/v1/versions/jefferies_tube/latest.json").read)["version"]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jefferies_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-11 00:00:00.000000000 Z
10
+ date: 2025-03-19 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: awesome_print
@@ -170,10 +169,12 @@ files:
170
169
  - app/assets/stylesheets/meyer_reset.css
171
170
  - app/controllers/jefferies_tube/errors_controller.rb
172
171
  - app/helpers/jefferies_tube/application_helper.rb
172
+ - app/views/errors/404.html.erb
173
173
  - app/views/errors/404.html.haml
174
174
  - app/views/errors/404.json.jbuilder
175
175
  - app/views/errors/404.xml
176
176
  - app/views/errors/500.haml
177
+ - app/views/errors/500.html.erb
177
178
  - default.yml
178
179
  - jefferies_tube.gemspec
179
180
  - lib/generators/rails/USAGE
@@ -210,7 +211,6 @@ homepage: https://github.com/tenforwardconsulting/jefferies_tube/
210
211
  licenses:
211
212
  - MIT
212
213
  metadata: {}
213
- post_install_message:
214
214
  rdoc_options: []
215
215
  require_paths:
216
216
  - lib
@@ -225,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.5.22
229
- signing_key:
228
+ rubygems_version: 3.6.6
230
229
  specification_version: 4
231
230
  summary: Ten Forward Consulting useful tools.
232
231
  test_files: