Validate personal identity numbers.
Add this to your Gemfile
gem 'personnummer', :git => 'https://github.com/personnummer/ruby.git'
Then run bundle install
require 'personnummer'
puts Personnummer.valid?("8507099805")
# => True
See test/test_personnummer.rb for more examples.
MIT