summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2012-12-21 12:08:53 -0800
committerdanielsdeleo <dan@opscode.com>2012-12-21 12:15:18 -0800
commit72cf70f4495009e0f6fc8ab7e23b4eb8232d371b (patch)
tree0c686878aa3f56727e8e801b56e66b6ffd3d4da2
parent67a74e5029c5db0bffc63a4709ecf125353a247c (diff)
downloadchef-72cf70f4495009e0f6fc8ab7e23b4eb8232d371b.tar.gz
[CHEF-3715] rename files checksum_cache -> digester
-rw-r--r--lib/chef/cookbook_uploader.rb2
-rw-r--r--lib/chef/digester.rb (renamed from lib/chef/checksum_cache.rb)0
-rw-r--r--lib/chef/knife/cookbook_test.rb1
-rw-r--r--lib/chef/mixin/checksum.rb2
-rw-r--r--spec/unit/digester_spec.rb (renamed from spec/unit/checksum_cache_spec.rb)0
5 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/cookbook_uploader.rb b/lib/chef/cookbook_uploader.rb
index 90c9ee9996..69be03731e 100644
--- a/lib/chef/cookbook_uploader.rb
+++ b/lib/chef/cookbook_uploader.rb
@@ -3,7 +3,7 @@ require 'set'
require 'rest_client'
require 'chef/exceptions'
require 'chef/knife/cookbook_metadata'
-require 'chef/checksum_cache'
+require 'chef/digester'
require 'chef/cookbook_version'
require 'chef/cookbook/syntax_check'
require 'chef/cookbook/file_system_file_vendor'
diff --git a/lib/chef/checksum_cache.rb b/lib/chef/digester.rb
index 669ff8b8a5..669ff8b8a5 100644
--- a/lib/chef/checksum_cache.rb
+++ b/lib/chef/digester.rb
diff --git a/lib/chef/knife/cookbook_test.rb b/lib/chef/knife/cookbook_test.rb
index dc8f12d135..b84ab9b5b4 100644
--- a/lib/chef/knife/cookbook_test.rb
+++ b/lib/chef/knife/cookbook_test.rb
@@ -25,7 +25,6 @@ class Chef
class CookbookTest < Knife
deps do
- require 'chef/checksum_cache'
require 'chef/cookbook/syntax_check'
end
diff --git a/lib/chef/mixin/checksum.rb b/lib/chef/mixin/checksum.rb
index 64dd21851a..8217296915 100644
--- a/lib/chef/mixin/checksum.rb
+++ b/lib/chef/mixin/checksum.rb
@@ -17,7 +17,7 @@
#
require 'digest/sha2'
-require 'chef/checksum_cache'
+require 'chef/digester'
class Chef
module Mixin
diff --git a/spec/unit/checksum_cache_spec.rb b/spec/unit/digester_spec.rb
index 28e3e918fe..28e3e918fe 100644
--- a/spec/unit/checksum_cache_spec.rb
+++ b/spec/unit/digester_spec.rb