Added scanf.rb from 1.8.7.
Bumped version to 1.0.0.