Rakefile in deployment-tracker-client-0.1.0 vs Rakefile in deployment-tracker-client-0.1.2

- old
+ new

@@ -16,10 +16,13 @@ # Delete the swagger_client.gemspec, we don't need it File.delete("swagger_client.gemspec") %w(api models).each do |dir| # Copy folder into the deployment-tracker-client directory - FileUtils.mv("./lib/swagger_client/#{dir}", "./lib/deployment-tracker-client/#{dir}", force: true) + src = "./lib/swagger_client/#{dir}" + dest = "./lib/deployment-tracker-client/" + FileUtils.cp_r(src, dest) + FileUtils.rm_rf(src) Dir.foreach("./lib/deployment-tracker-client/#{dir}") do |file| file = File.join("./lib/deployment-tracker-client/#{dir}", file) next unless File.file?(file) contents = File.read(file) contents.gsub!("module SwaggerClient", "module DeploymentTrackerClient")