lib/diffend/local_context/packages.rb in diffend-monitor-0.2.44 vs lib/diffend/local_context/packages.rb in diffend-monitor-0.2.46
- old
+ new
@@ -60,10 +60,14 @@
end
# Resolve definition
def resolve
@cached ? @definition.resolve_with_cache! : @definition.resolve_remotely!
+
+ # Despite bundler not materializing resolution, we always need to do so to get all the
+ # gems details
+ @definition.specs
end
# Build specification
#
# @return [Hash]
@@ -94,11 +98,11 @@
#
# @return [Hash]
def build_main
{
'dependencies' => {},
- 'sources' => build_sources,
'plugins' => {},
+ 'sources' => build_sources,
'platforms' => @definition.platforms.map(&:to_s)
}
end
# Build gem versions