r10k 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,10 @@
1
1
  require 'r10k'
2
+ require 'r10k/logging'
2
3
 
3
4
  class R10K::Deployment::EnvironmentCollection
4
5
 
6
+ include R10K::Logging
7
+
5
8
  attr_reader :update_cache
6
9
 
7
10
  def initialize(config, options = {:update_cache => true})
@@ -53,7 +56,10 @@ class R10K::Deployment::EnvironmentCollection
53
56
  def load_all
54
57
  @config[:sources].each_pair do |repo_name, repo_config|
55
58
  synchro = R10K::Synchro::Git.new(repo_config['remote'])
56
- synchro.cache if @update_cache
59
+ if @update_cache
60
+ logger.info "Updating git cache for #{repo_config['remote']}"
61
+ synchro.cache
62
+ end
57
63
 
58
64
  if repo_config['ref']
59
65
  @environments << R10K::Root.new(repo_config)
data/lib/r10k/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module R10K
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: