lib/yk_command/project/setup/TemplateConfigurator.rb in yk_command-0.5.6 vs lib/yk_command/project/setup/TemplateConfigurator.rb in yk_command-0.5.7
- old
+ new
@@ -138,10 +138,11 @@
`rm -rf #{$current_dir}/#{asset}`
end
end
def replace_variables_in_files
- file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', '.travis.yml', podfile_path]
+ # file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', '.travis.yml', podfile_path]
+ file_names = ['POD_LICENSE', 'POD_README.md', 'NAME.podspec', podfile_path]
file_names.each do |file_name|
# text = File.read(file_name)
text = File.read("#{$current_dir}/#{file_name}")
# text = File.read("./#{file_name}")
text.gsub!("${POD_NAME}", @pod_name)