valpackett / freshcerts

ACME certificate protocol (Let's Encrypt) proxy client with a dashboard and monitoring
The Unlicense
60 stars 11 forks source link

Bump json version to support ruby 2.4.0 #4

Closed nougad closed 7 years ago

nougad commented 7 years ago

json 1.8.3 fails because of https://github.com/flori/json/issues/286

nougad commented 7 years ago

Might be better to just update all gems. Still some warnings from activesupport (https://github.com/rails/rails/issues/27461 and https://github.com/rails/rails/pull/27458 ):

± bundle exec rackup
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1226: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1226: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/backports-3.6.8/lib/backports/1.8.7/fixnum/div.rb:1: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/backports-3.6.8/lib/backports/1.8.7/fixnum/fdiv.rb:1: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/backports-3.6.8/lib/backports/2.1.0/bignum/bit_length.rb:1: warning: constant ::Bignum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/backports-3.6.8/lib/backports/2.1.0/fixnum/bit_length.rb:1: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1226: warning: constant ::Fixnum is deprecated
/srv/freshcerts/vendor/bundle/ruby/2.4.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1226: warning: constant ::Fixnum is deprecated
valpackett commented 7 years ago

Thanks!