Permalink
Browse files

Improving checkin efficiency.

  • Loading branch information...
1 parent 5b616f9 commit 10feb033a7d14e094675f60fa4eebb41f5a9a380 @JEG2 JEG2 committed Oct 7, 2009
Showing with 8 additions and 3 deletions.
  1. +5 −0 CHANGELOG
  2. +1 −1 lib/scout.rb
  3. +2 −2 lib/scout/server.rb
View
@@ -1,3 +1,8 @@
+== 4.0.2
+
+* Check-in once after all plugins are run instead of once for each plugin for
+ better efficiency
+
== 4.0.1
* Fixed a regression that broken support for some very old plugins
View
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby -wKU
module Scout
- VERSION = "4.0.1".freeze
+ VERSION = "4.0.2".freeze
end
require "scout/command"
View
@@ -88,11 +88,11 @@ def save_history
# Runs all plugins from a given plan. Calls process_plugin on each plugin.
def run_plugins_by_plan
+ prepare_checkin
plan do |plugin|
- prepare_checkin
process_plugin(plugin)
- checkin
end
+ checkin
end
#

0 comments on commit 10feb03

Please sign in to comment.