web47core 3.2.3.5 → 3.2.3.7

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: 537185a9e27258ac52b2e531720e73d474eeec16b711e5c9505d5471b38c9a68
4
- data.tar.gz: ed9970fa12dea3bfcc4e091afdbf94cfc20b6da834011d38db8dad1d9430de37
3
+ metadata.gz: 89a0f833ce0b5b96eaeaf2aeffc63a7547d932f86df19e58d615c552f8ae014e
4
+ data.tar.gz: 662d682b7c1726d92f97e88a9e063b227a96254d144e871858eb81caf5862c67
5
5
  SHA512:
6
- metadata.gz: 5ca12285cf9cd4816649a9cccbc009d6c25afe578f38fd124bb7fa468a3488274d4d51cb7363d05d5070120479495dba993069be6cbb2c85744315e192fb37f0
7
- data.tar.gz: f16857a4acf1016c00a93f8fae89255d6578e447b70b1934dadf30b7f69e052cfe6f384274563a176245a6f74207779da3b41bed50392368f51bc419cc11d4e6
6
+ metadata.gz: b74804a97ed0727a0924555f968f8ebb918e3e25287fafa78a3bb18937e1f6ad287e0d1bb0313a87b5aa5a14d7a2b1557a061c3c599f381ed3491401e504586b
7
+ data.tar.gz: 55074be6de0e97db6a89a02c57230c2c527cecd4a2fb688d84d2c05478076a7761e844d77c823151b5387228a93a444995694830c6f015458fda2517cf6a1350
@@ -0,0 +1,12 @@
1
+ # app/controllers/errors_controller.rb
2
+ # We want to inherit `ActionController::Base` here, not `ApplicationController` because we just want a simple, fast response
3
+ # with no extra checks for CSRF,authentication, layouts or the ilk. Just say, no, go away!
4
+ class ErrorsController < ActionController::Base
5
+ # No CSRF/layout/filters; keep it cheap
6
+ def not_found
7
+ if defined?(NewRelic) && defined?(NewRelic::Agent)
8
+ NewRelic::Agent.ignore_transaction
9
+ end
10
+ head :gone # 410 Gone is used here to indicate that the resource has been intentionally and permanently removed, and clients should not expect it to be available again. This is stronger than the standard 404 Not Found, which is used when the resource may be available in the future.
11
+ end
12
+ end
@@ -9,7 +9,7 @@ SimpleCov::Formatter::LcovFormatter.config do |c|
9
9
  c.single_report_path = 'coverage/final.lcov'
10
10
  c.report_with_single_file = true
11
11
  end
12
- SimpleCov.collate Dir['/tmp/workspace/lcov/*.json'], 'rails' do
12
+ SimpleCov.collate( Dir['coverage-artifacts/*/.resultset.json'], 'rails' ) do
13
13
  add_filter '/spec/'
14
14
  add_filter '/config/'
15
15
  add_filter '/lib/'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '3.2.3.5'
4
+ VERSION = '3.2.3.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3.5
4
+ version: 3.2.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-07 00:00:00.000000000 Z
11
+ date: 2025-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -531,6 +531,7 @@ files:
531
531
  - app/assets/javascript/clipboard.coffee
532
532
  - app/assets/javascript/flash.coffee
533
533
  - app/assets/stylesheets/clipboard.scss
534
+ - app/controllers/errors_controller.rb
534
535
  - app/controllers/exceptions_controller.rb
535
536
  - app/controllers/notifications_controller.rb
536
537
  - app/controllers/status_controller.rb
@@ -6635,7 +6636,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
6635
6636
  - !ruby/object:Gem::Version
6636
6637
  version: '0'
6637
6638
  requirements: []
6638
- rubygems_version: 3.4.20
6639
+ rubygems_version: 3.4.19
6639
6640
  signing_key:
6640
6641
  specification_version: 4
6641
6642
  summary: App47 Web Core Library.