web_server_config_generator 0.0.4 → 0.0.5
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.
data/README
CHANGED
Binary file
|
data/bin/web_server_setup
CHANGED
@@ -436,14 +436,14 @@ module WebServerSetup
|
|
436
436
|
project_vhost_dir.mkpath
|
437
437
|
project_env_vhost_filename = project_vhost_dir + "#{env}.conf"
|
438
438
|
new_contents = p.generate_conf_file_contents(:env => env)
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
439
|
+
# if project_env_vhost_filename.exist?
|
440
|
+
# old_contents = project_env_vhost_filename.read
|
441
|
+
# if old_contents != new_contents
|
442
|
+
# puts "#{project_env_vhost_filename} exists, but doesn't match"
|
443
|
+
# end
|
444
|
+
# else
|
445
445
|
project_env_vhost_filename.write new_contents
|
446
|
-
|
446
|
+
# end
|
447
447
|
project_env_vhost_filename.expand_path
|
448
448
|
end
|
449
449
|
|
Binary file
|
Binary file
|