dapicester / gitlab-ci-monitor

Simple monitor for GitLab builds using Arduino with LEDs
0 stars 1 forks source link

Deprecation warning on Fixnum #12

Open Yiling-J opened 7 years ago

Yiling-J commented 7 years ago
/Users/Yiling/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/arduino_firmata-0.3.7/lib/arduino_firmata/arduino.rb:113: warning: constant ::Fixnum is deprecated
dapicester commented 7 years ago

I see many other warnings on ruby 2.4.0:

/Users/paolo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/arduino_firmata-0.3.7/lib/arduino_firmata/main.rb:19: warning: `&' interpreted as argument prefix
/Users/paolo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/arduino_firmata-0.3.7/lib/arduino_firmata/arduino.rb:67: warning: `&' interpreted as argument prefix
/Users/paolo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/arduino_firmata-0.3.7/lib/arduino_firmata/arduino.rb:69: warning: `&' interpreted as argument prefix
/Users/paolo/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/arduino_firmata-0.3.7/lib/arduino_firmata/arduino.rb:197: warning: assigned but unused variable - e

But they are all on arduino-firmata.

dapicester commented 7 years ago

It seems that arduino-firmata is no longer actively developed... I'll try to update my fork.