lib/sup/source.rb in sup-0.22.1 vs lib/sup/source.rb in sup-0.23

- old
+ new

@@ -56,10 +56,10 @@ bool_accessor :usual, :archived attr_reader :uri, :usual attr_accessor :id def initialize uri, usual=true, archived=false, id=nil - raise ArgumentError, "id must be an integer: #{id.inspect}" unless id.is_a? Fixnum if id + raise ArgumentError, "id must be an integer: #{id.inspect}" unless id.is_a? Integer if id @uri = uri @usual = usual @archived = archived @id = id