Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Factory:Rebuild
hawk2
make-sle16-compatible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-sle16-compatible.patch of Package hawk2
Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/Gemfile =================================================================== --- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/Gemfile +++ hawk2-2.6.5+git.1724254291.33351c16/hawk/Gemfile @@ -20,7 +20,7 @@ gem "rails", ">= 5.1" gem "puma", ">= 4.3.5" gem "sass-rails", ">= 5.0" gem "virtus", ">= 1.0.1" -gem "js-routes", ">= 1.4.1" +gem "js-routes", ">= 2.0.0" gem "fast_gettext", ">= 1.4" gem "gettext_i18n_rails", ">= 1.8" gem "gettext_i18n_rails_js", ">= 1.3" Index: hawk2-2.6.5+git.1724254291.33351c16/hawk/config/application.rb =================================================================== --- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/application.rb +++ hawk2-2.6.5+git.1724254291.33351c16/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.5+git.1724254291.33351c16/hawk/config/boot.rb =================================================================== --- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/boot.rb +++ hawk2-2.6.5+git.1724254291.33351c16/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.5+git.1724254291.33351c16/hawk/config/environments/development.rb =================================================================== --- hawk2-2.6.5+git.1724254291.33351c16.orig/hawk/config/environments/development.rb +++ hawk2-2.6.5+git.1724254291.33351c16/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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor