fix recurrent_select error

This commit is contained in:
viehlieb 2022-11-03 14:34:25 +01:00
parent 484f30753d
commit 9b4114f109
3 changed files with 42 additions and 42 deletions

17
Gemfile
View file

@ -3,9 +3,9 @@ source "https://rubygems.org"
gem "rails", '~> 7.0' gem "rails", '~> 7.0'
gem 'sass-rails' gem 'sassc-rails'
gem 'less-rails' gem 'less-rails'
gem 'uglifier', '>= 1.0.3' gem 'uglifier'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes # See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby gem 'therubyracer', platforms: :ruby
@ -32,20 +32,21 @@ gem 'doorkeeper'
gem 'doorkeeper-i18n' gem 'doorkeeper-i18n'
gem 'rack-cors', require: 'rack/cors' gem 'rack-cors', require: 'rack/cors'
gem 'active_model_serializers', '~> 0.10.0' gem 'active_model_serializers', '~> 0.10.0'
gem 'twitter-bootstrap-rails', '~> 2.2.8' gem 'twitter-bootstrap-rails', '~> 5.0'
gem 'simple-navigation', '~> 3.14.0' # 3.x for simple_navigation_bootstrap gem 'simple-navigation'
gem 'simple-navigation-bootstrap' gem 'simple-navigation-bootstrap'
gem 'sprockets', '< 4' gem 'sprockets', '< 4'
gem 'ransack' gem 'ransack'
gem 'acts_as_tree' gem 'acts_as_tree'
gem 'rails-settings-cached' gem 'rails-settings-cached', '= 0.4.3'
gem 'resque' gem 'resque'
gem 'puma', '~> 5.0' #waiting for stable puma 6 release. does break with capybara gem 'puma', '~> 5.0' #waiting for stable puma 6 release. does break with capybara
gem 'whenever', require: false # For defining cronjobs, see config/schedule.rb gem 'whenever', require: false # For defining cronjobs, see config/schedule.rb
gem 'ruby-units' gem 'ruby-units'
gem 'attribute_normalizer' gem 'attribute_normalizer'
gem 'ice_cube' gem 'ice_cube'
gem 'recurring_select' # At timeof development necessary fix for config_helper.rb form builder was not in rubygems so we pull from github, see: https://github.com/gregschmit/recurring_select/pull/152
gem 'recurring_select', git: 'https://github.com/gregschmit/recurring_select'
gem 'roo' gem 'roo'
gem 'roo-xls' gem 'roo-xls'
gem 'spreadsheet' gem 'spreadsheet'
@ -80,7 +81,9 @@ group :development do
gem 'binding_of_caller' gem 'binding_of_caller'
# gem "rails-i18n-debug" # gem "rails-i18n-debug"
# chrome debugging extension https://github.com/dejan/rails_panel # chrome debugging extension https://github.com/dejan/rails_panel
gem 'meta_request'
# TODO: disabled due to https://github.com/rails/rails/issues/40781
# gem 'meta_request'
# Get infos when not using proper eager loading # Get infos when not using proper eager loading
gem 'bullet' gem 'bullet'

View file

@ -1,3 +1,14 @@
GIT
remote: https://github.com/gregschmit/recurring_select
revision: 29febc4c4abdd6c30636c33a7d2daecb09973ecf
specs:
recurring_select (3.0.0)
coffee-rails (>= 3.1)
ice_cube (>= 0.11)
jquery-rails (>= 3.0)
rails (>= 5.2)
sass-rails (>= 4.0)
GIT GIT
remote: https://github.com/technoweenie/acts_as_versioned.git remote: https://github.com/technoweenie/acts_as_versioned.git
revision: 63b1fc8529d028fae632fe80ec0cb25df56cd76b revision: 63b1fc8529d028fae632fe80ec0cb25df56cd76b
@ -154,7 +165,6 @@ GEM
bullet (7.0.3) bullet (7.0.3)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
uniform_notifier (~> 1.11) uniform_notifier (~> 1.11)
callsite (0.0.11)
capybara (3.37.1) capybara (3.37.1)
addressable addressable
matrix matrix
@ -216,7 +226,7 @@ GEM
factory_bot_rails (6.2.0) factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0) factory_bot (~> 6.2.0)
railties (>= 5.0.0) railties (>= 5.0.0)
faker (2.23.0) faker (3.0.0)
i18n (>= 1.8.11, < 2) i18n (>= 1.8.11, < 2)
ffi (1.15.5) ffi (1.15.5)
gaffe (1.2.0) gaffe (1.2.0)
@ -272,10 +282,10 @@ GEM
kaminari-core (1.2.2) kaminari-core (1.2.2)
less (2.6.0) less (2.6.0)
commonjs (~> 0.2.7) commonjs (~> 0.2.7)
less-rails (5.0.0) less-rails (4.0.0)
actionpack (>= 5.0) actionpack (>= 4)
less (~> 2.6.0) less (~> 2.6.0)
sprockets (~> 3.0) sprockets (>= 2)
libv8 (3.16.14.19-x86_64-linux) libv8 (3.16.14.19-x86_64-linux)
listen (3.7.1) listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
@ -297,10 +307,6 @@ GEM
thin thin
marcel (1.0.2) marcel (1.0.2)
matrix (0.4.2) matrix (0.4.2)
meta_request (0.3.0)
callsite
rack-contrib
railties
method_source (1.0.0) method_source (1.0.0)
midi-smtp-server (3.0.3) midi-smtp-server (3.0.3)
mime-types (3.4.1) mime-types (3.4.1)
@ -349,8 +355,6 @@ GEM
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.6.0) racc (1.6.0)
rack (2.2.4) rack (2.2.4)
rack-contrib (2.3.0)
rack (~> 2.0)
rack-cors (1.1.1) rack-cors (1.1.1)
rack (>= 2.0.0) rack (>= 2.0.0)
rack-protection (3.0.2) rack-protection (3.0.2)
@ -385,8 +389,8 @@ GEM
rails-i18n (7.0.5) rails-i18n (7.0.5)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8) railties (>= 6.0.0, < 8)
rails-settings-cached (2.8.2) rails-settings-cached (0.4.3)
rails (>= 5.0.0) rails (>= 4.2.0)
rails_tokeninput (1.7.0) rails_tokeninput (1.7.0)
railties (>= 3.1.0) railties (>= 3.1.0)
railties (7.0.4) railties (7.0.4)
@ -405,15 +409,9 @@ GEM
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
recurring_select (3.0.0)
coffee-rails (>= 3.1)
ice_cube (>= 0.11)
jquery-rails (>= 3.0)
rails (>= 5.2)
sass-rails (>= 4.0)
redis (5.0.5) redis (5.0.5)
redis-client (>= 0.9.0) redis-client (>= 0.9.0)
redis-client (0.10.0) redis-client (0.11.0)
connection_pool connection_pool
redis-namespace (1.9.0) redis-namespace (1.9.0)
redis (>= 4) redis (>= 4)
@ -458,7 +456,7 @@ GEM
rspec-rerun (1.1.0) rspec-rerun (1.1.0)
rspec (~> 3.0) rspec (~> 3.0)
rspec-support (3.12.0) rspec-support (3.12.0)
rubocop (1.37.1) rubocop (1.38.0)
json (~> 2.3) json (~> 2.3)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.1.2.1) parser (>= 3.1.2.1)
@ -542,11 +540,11 @@ GEM
tilt (2.0.11) tilt (2.0.11)
timeout (0.3.0) timeout (0.3.0)
ttfunk (1.7.0) ttfunk (1.7.0)
twitter-bootstrap-rails (2.2.8) twitter-bootstrap-rails (5.0.0)
actionpack (>= 3.1) actionpack (>= 5.0, < 8.0)
execjs execjs (~> 2.7)
rails (>= 3.1) less-rails (>= 3.0, < 5.0)
railties (>= 3.1) railties (>= 5.0, < 8.0)
twitter-text (1.14.7) twitter-text (1.14.7)
unf (~> 0.1.0) unf (~> 0.1.0)
tzinfo (2.0.5) tzinfo (2.0.5)
@ -576,7 +574,7 @@ GEM
twitter-text twitter-text
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
zeitwerk (2.6.1) zeitwerk (2.6.4)
PLATFORMS PLATFORMS
x86_64-linux x86_64-linux
@ -621,7 +619,6 @@ DEPENDENCIES
less-rails less-rails
listen listen
mailcatcher mailcatcher
meta_request
midi-smtp-server midi-smtp-server
mime-types mime-types
mysql2 mysql2
@ -635,10 +632,10 @@ DEPENDENCIES
rails-assets-listjs (= 0.2.0.beta.4) rails-assets-listjs (= 0.2.0.beta.4)
rails-controller-testing rails-controller-testing
rails-i18n rails-i18n
rails-settings-cached rails-settings-cached (= 0.4.3)
rails_tokeninput rails_tokeninput
ransack ransack
recurring_select recurring_select!
resque resque
roo roo
roo-xls roo-xls
@ -651,9 +648,9 @@ DEPENDENCIES
ruby-filemagic ruby-filemagic
ruby-prof ruby-prof
ruby-units ruby-units
sass-rails sassc-rails
select2-rails select2-rails
simple-navigation (~> 3.14.0) simple-navigation
simple-navigation-bootstrap simple-navigation-bootstrap
simple_form simple_form
simplecov simplecov
@ -663,8 +660,8 @@ DEPENDENCIES
sqlite3 (~> 1.3.6) sqlite3 (~> 1.3.6)
table_print table_print
therubyracer therubyracer
twitter-bootstrap-rails (~> 2.2.8) twitter-bootstrap-rails (~> 5.0)
uglifier (>= 1.0.3) uglifier
web-console web-console
whenever whenever

View file

@ -9,7 +9,7 @@ Bundler.require(*Rails.groups)
module Foodsoft module Foodsoft
class Application < Rails::Application class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version. # Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.1 config.load_defaults 7.0
# Settings in config/environments/* take precedence over those specified here. # Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers # Application configuration can go into files in config/initializers