lib/keep_up/dependency.rb in keep_up-0.9.0 vs lib/keep_up/dependency.rb in keep_up-0.10.0
- old
+ new
@@ -42,12 +42,13 @@
def dependency
@dependency ||= Gem::Dependency.new name, requirement
end
def segment_count
- @segment_count ||= begin
- _, ver = requirement.requirements.first
- ver.segments.count
- end
+ @segment_count ||=
+ begin
+ _, ver = requirement.requirements.first
+ ver.segments.count
+ end
end
end
end