web47core 3.2.28 → 3.2.29

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: f7354ff9fe616fa43ce58b92aa49be8cd2ff741eaedf34147fecf8ee01b7f7f9
4
- data.tar.gz: 2e0667cf87ab3d8c978c8e54619a4bf53769b7281a9dfda953405ed51a3fe918
3
+ metadata.gz: f78ccf19f10ae2b09b15a926a6fe5e3dfa3c2f7b89483f0aa98b4353b02239c3
4
+ data.tar.gz: f97bf445c8caa73d9d8c057d72c7c5315893681c90e064ab2716c586faa14008
5
5
  SHA512:
6
- metadata.gz: 574ef64571c0e1047c22ca98717ffacaf2aad1e0f561c7059969d160324d52525ddf6f18993c030efb7f6f88f543dbdee9ecebc01b3dfb5dafb885408e626fa7
7
- data.tar.gz: ffbd377c3dbcc8b67589448d78f91d618f79ab17e9b9cc4e7d28e41e30278cabc266c5e09bed0f850ac2d854304e3b12c1febab3f515462c6732fdd72d23e0d7
6
+ metadata.gz: 95f8bdf83e0da3dd927421e3dfce334174cecff305577323e14c20ce79240a8710f69718e1aee7ba2da9e113d97573175f97a8006df34109514ff661c1b38e6a
7
+ data.tar.gz: ee2bd52449171610346fd7027142a7ed25ba0597334e87bbaa6eb4bf9e853b40622c36a87065f507f395bcaace204116a3a35f44efa28db5afb681ae39303846
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '3.2.28'
4
+ VERSION = '3.2.29'
5
5
  end
data/lib/web47core.rb CHANGED
@@ -80,7 +80,7 @@ require 'app/models/user_model_audit_log'
80
80
  #
81
81
  # Controllers
82
82
  #
83
- require 'web47core/engine'
83
+ require 'web47core/engine' if defined?(Rails::Engine)
84
84
  require 'web47core/version'
85
85
  require 'app/controllers/concerns/restful_controller'
86
86
  require 'app/controllers/concerns/core_controller'
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.28
4
+ version: 3.2.29
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-07-26 00:00:00.000000000 Z
11
+ date: 2025-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -602,7 +602,6 @@ files:
602
602
  - bin/rails
603
603
  - bin/rake
604
604
  - bin/setup
605
- - config/application.rb
606
605
  - config/boot.rb
607
606
  - config/brakeman.ignore
608
607
  - config/brakeman.yml
@@ -1,61 +0,0 @@
1
- # require File.expand_path('../../config/environment', __FILE__)
2
- # Load the Rails application.
3
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
4
-
5
- require 'bundler/setup' # Set up gems listed in the Gemfile.
6
-
7
- require 'rails'
8
-
9
- %w[
10
- action_controller/railtie
11
- action_view/railtie
12
- action_mailer/railtie
13
- active_job/railtie
14
- action_cable/engine
15
- rails/test_unit/railtie
16
- sprockets/railtie
17
- ].each do |railtie|
18
- require railtie
19
- rescue LoadError => error
20
- puts 'Unable to load libraries'
21
- puts error.message
22
- end
23
-
24
- require 'haml'
25
- require 'mail'
26
- require 'cancancan'
27
-
28
- # Require the gems listed in Gemfile, including any gems
29
- # you've limited to :test, :development, or :production.
30
- Bundler.require(*Rails.groups)
31
-
32
- module WebCore
33
- class Application < Rails::Application
34
- # Settings in config/environments/* take precedence over those specified here.
35
- # Application configuration should go into files in config/initializers
36
- # -- all .rb files in that directory are automatically loaded.
37
- # Configure redis cache
38
- config.eager_load = false
39
- config.cache_store = :redis_cache_store, { url: 'redis://127.0.0.1:6379/11' }
40
- config.autoload_paths += %W[#{config.root}/lib]
41
- config.generators do |g|
42
- g.template_engine :haml
43
- g.orm :mongoid
44
- g.test_framework :shoulda
45
- g.fallbacks[:shoulda] = :test_unit
46
- g.fixture_replacement :factory_bot
47
- end
48
- config.active_job.queue_adapter = :delayed_job
49
-
50
- # Configure the default encoding used in templates for Ruby 1.9.
51
- config.encoding = 'utf-8'
52
- config.logger = Logger.new($stdout)
53
- config.logger.level = Logger::DEBUG
54
- end
55
- end
56
-
57
- Delayed::Worker.delay_jobs = false
58
-
59
- # Initialize the Rails application.
60
- Rails.application.initialize!
61
- Rails.application.config.filter_parameters += %w[password password_confirmation]