- Update to version 2.7.0+git.1742310530.bfcd0e2c * bundle all the gems in the project OBS-URL: https://build.opensuse.org/request/show/1255616 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/hawk2?expand=0&rev=309
43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/application.rb
|
|
===================================================================
|
|
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/application.rb
|
|
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/application.rb
|
|
@@ -44,6 +44,11 @@ module Hawk
|
|
config.middleware.use Rack::Deflater
|
|
end
|
|
|
|
+ JsRoutes.setup do |config|
|
|
+ config.module_type = nil
|
|
+ config.namespace = "Routes"
|
|
+ end
|
|
+
|
|
config.x.hawk_is_sles = system("cat /etc/os-release | grep 'ID=.*sles' >/dev/null 2>&1")
|
|
|
|
def lookup_daemon_dir
|
|
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/boot.rb
|
|
===================================================================
|
|
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/boot.rb
|
|
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/boot.rb
|
|
@@ -38,7 +38,7 @@ else
|
|
gem "virtus", version: "~> 1.0"
|
|
require "virtus"
|
|
|
|
- gem "js-routes", version: ">= 1.3.3"
|
|
+ gem "js-routes", version: ">= 2.0.0"
|
|
require "js-routes"
|
|
|
|
gem "fast_gettext", version: "~> 1.4"
|
|
Index: hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/environments/development.rb
|
|
===================================================================
|
|
--- hawk2-2.6.6+git.1734344973.d7058a83.orig/hawk/config/environments/development.rb
|
|
+++ hawk2-2.6.6+git.1734344973.d7058a83/hawk/config/environments/development.rb
|
|
@@ -27,7 +27,7 @@ Rails.application.configure do
|
|
|
|
config.cache_store = :memory_store
|
|
|
|
- config.assets.debug = true
|
|
+ config.assets.debug = false
|
|
config.assets.raise_runtime_errors = true
|
|
config.assets.js_compressor = nil
|
|
config.assets.css_compressor = nil
|