You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ asepsisctl diagnose /Library/Application Support/Asepsis/ctl/lib/micro-optparse.rb:47: warning: constant ::Fixnum is deprecated Your Asepsis installation seems to be OK
I don't know Ruby, but I made the following change in 'micro-optparse.rb':
... # Fixnum is no more BEC Sunday, January 29, 2017 at 3:54:10 PM # klass = o[2][:default].class == Fixnum ? Integer : o[2][:default].class klass = o[2][:default].class == Integer ? Integer : o[2][:default].class ...
It seems to fix the warning, but is it a valid fix?
Beau.
The text was updated successfully, but these errors were encountered:
Hi,
As of Ruby 2.4 ::Fixnum is deprecated:
$ asepsisctl diagnose
/Library/Application Support/Asepsis/ctl/lib/micro-optparse.rb:47: warning: constant ::Fixnum is deprecated
Your Asepsis installation seems to be OK
I don't know Ruby, but I made the following change in 'micro-optparse.rb':
...
# Fixnum is no more BEC Sunday, January 29, 2017 at 3:54:10 PM
# klass = o[2][:default].class == Fixnum ? Integer : o[2][:default].class
klass = o[2][:default].class == Integer ? Integer : o[2][:default].class
...
It seems to fix the warning, but is it a valid fix?
Beau.
The text was updated successfully, but these errors were encountered: