lib/bundleup/gem_status.rb in bundleup-0.2.0 vs lib/bundleup/gem_status.rb in bundleup-0.3.0
- old
+ new
@@ -45,13 +45,13 @@
end
private
def major(version)
- version.split(".", 2)[0].to_i
+ version.split(".", 2)[0]
end
def minor(version)
- version.split(".", 3)[1].to_i
+ version.split(".", 3)[1]
end
end
end