-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning bigdecimal will no longer be part of Ruby 3.4.0 #107
Comments
I would volunteer if needed, just let me know 🙋♂️ |
How can I reproduce it? With |
Provoke the warning in a mini exampleHope this helps 🤞 You need gem install rackup Then create a new directory and put the following file named # content of config.ru
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem "roda-i18n", "~> 0.6.0"
gem "roda", "~> 3.84"
end
# cat config.ru
require "roda"
class App < Roda
plugin :i18n
route do |r|
# GET / request
r.root do
r.redirect "/hello"
end
# /hello branch
r.on "hello" do
# Set variable for all routes in /hello branch
@greeting = 'Hello'
# GET /hello/world request
r.get "world" do
"#{@greeting} world!"
end
# /hello request
r.is do
# GET /hello request
r.get do
"#{@greeting}!"
end
# POST /hello request
r.post do
puts "Someone said #{@greeting}!"
r.redirect
end
end
end
end
end
run App.freeze.app run this app / $ rackup Screenshot |
The text was updated successfully, but these errors were encountered: