ace-support-config 0.11.2 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ module Ace
8
8
  module Support
9
9
  module Config
10
10
  module Organisms
11
- class ConfigInitializer
11
+ class ConfigSynchronizer
12
12
  PROJECT_ROOT_DIR = "project-root"
13
13
  GITIGNORE_ACE_LOCAL_ENTRY = ".ace-local/"
14
14
 
@@ -21,17 +21,17 @@ module Ace
21
21
  @skipped_files = []
22
22
  end
23
23
 
24
- def init_all
25
- puts "Initializing all ace-* gem configurations..." if @verbose
24
+ def sync_all
25
+ puts "Syncing all ace-* gem configurations..." if @verbose
26
26
 
27
27
  Models::ConfigTemplates.all_gems.each do |gem_name|
28
- init_gem(gem_name)
28
+ sync_gem(gem_name)
29
29
  end
30
30
 
31
31
  print_summary
32
32
  end
33
33
 
34
- def init_gem(gem_name)
34
+ def sync_gem(gem_name)
35
35
  gem_name = normalize_gem_name(gem_name)
36
36
 
37
37
  unless Models::ConfigTemplates.gem_exists?(gem_name)
@@ -39,7 +39,7 @@ module Ace
39
39
  return
40
40
  end
41
41
 
42
- puts "\nInitializing #{gem_name}..." if @verbose
42
+ puts "\nSyncing #{gem_name}..." if @verbose
43
43
 
44
44
  source_dir = Models::ConfigTemplates.example_dir_for(gem_name)
45
45
  target_dir = target_directory
@@ -182,7 +182,7 @@ module Ace
182
182
  def print_summary
183
183
  return if @dry_run
184
184
 
185
- puts "\nConfiguration initialization complete:"
185
+ puts "\nConfiguration sync complete:"
186
186
  puts " Files copied: #{@copied_files.size}"
187
187
  puts " Files skipped: #{@skipped_files.size}"
188
188