lib/dryrun/dryrun_utils.rb in dryrun-0.7.5 vs lib/dryrun/dryrun_utils.rb in dryrun-0.7.6
- old
+ new
@@ -27,15 +27,14 @@
open(url) do |f|
page_string = f.read
end
end
-
page_string[/#{Regexp.escape('\'')}(.*?)#{Regexp.escape('\'')}/m, 1]
end
def self.is_up_to_date
latest = get_latest_version
- latest.eql? DryRun::VERSION
+ latest.to_s <= DryRun::VERSION.to_s
end
end
end