diff --git a/ext/digest/sha2/lib/digest/sha2.rb b/ext/digest/sha2/lib/sha2.rb similarity index 100% rename from ext/digest/sha2/lib/digest/sha2.rb rename to ext/digest/sha2/lib/sha2.rb diff --git a/ext/digest/sha2/lib/digest/sha2/loader.rb b/ext/digest/sha2/lib/sha2/loader.rb similarity index 100% rename from ext/digest/sha2/lib/digest/sha2/loader.rb rename to ext/digest/sha2/lib/sha2/loader.rb diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 7f464115dd..e91f47b24e 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -320,9 +320,9 @@ def sync_default_gems(gem) cp_r("#{upstream}/ext/digest", "ext") mkdir_p("ext/digest/lib/digest") cp_r("#{upstream}/lib/digest.rb", "ext/digest/lib/") - mkdir_p("ext/digest/sha2/lib/digest") - cp_r("#{upstream}/lib/digest/sha2.rb", "ext/digest/sha2/lib/digest") - move("ext/digest/lib/digest/sha2", "ext/digest/sha2/lib/digest") + mkdir_p("ext/digest/sha2/lib") + cp_r("#{upstream}/lib/digest/sha2.rb", "ext/digest/sha2/lib") + move("ext/digest/lib/digest/sha2", "ext/digest/sha2/lib") cp_r("#{upstream}/test/digest", "test") cp_r("#{upstream}/digest.gemspec", "ext/digest") `git checkout ext/digest/depend ext/digest/*/depend`