lib/bumbler/bundler.rb in bumbler-0.1.1 vs lib/bumbler/bundler.rb in bumbler-0.1.2
- old
+ new
@@ -5,9 +5,16 @@
self.read_bundler_environment if @require_map.nil?
return @require_map[path]
end
+ def self.require_started(path)
+ gem_name = self.gem_for_require(path)
+ return unless gem_name
+
+ Bumbler::Progress.item_started(:bundler, gem_name)
+ end
+
def self.require_finished(path, load_time)
self.read_bundler_environment if @gem_state.nil?
# Tick it off for the gem.
gem_name = self.gem_for_require(path)