lib/bundler/patch/advisory_consolidator.rb in bundler-patch-0.10.4 vs lib/bundler/patch/advisory_consolidator.rb in bundler-patch-1.0.0.pre.1
- old
+ new
@@ -68,9 +68,10 @@
end
class GemPatch
include Comparable
+ # TODO: requested_version is better name than new_version?
attr_reader :gem_name, :old_version, :new_version, :patched_versions
def initialize(gem_name:, old_version: nil, new_version: nil, patched_versions: nil)
@gem_name = gem_name
@old_version = Gem::Version.new(old_version) if old_version