Projects
openEuler:22.03:LTS:LoongArch
rubygem-addressable
_service:tar_scm_kernel_repo:remove-deprecated-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:remove-deprecated-warning.patch of Package rubygem-addressable
From a9432d389954611956ea389de2f819986985ba35 Mon Sep 17 00:00:00 2001 From: takkanm <takkanm@gmail.com> Date: Tue, 26 Dec 2017 20:44:52 +0900 Subject: [PATCH] remove deprecated warning BigDecimal.new is deprecated in Ruby2.5 ``` spec/addressable/template_spec.rb:85: warning: BigDecimal.new is deprecated; use Kernel.BigDecimal method instead. ``` --- spec/addressable/template_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/addressable/template_spec.rb b/spec/addressable/template_spec.rb index bd8ab12..cff4a87 100644 --- a/spec/addressable/template_spec.rb +++ b/spec/addressable/template_spec.rb @@ -82,7 +82,7 @@ describe "Type conversion" do :hello => 1234, :nothing => nil, :sym => :symbolic, - :decimal => BigDecimal.new('1') + :decimal => BigDecimal('1') } } -- 2.30.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.