web_server_config_generator 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/web_server_setup +2 -3
  2. metadata +2 -2
data/bin/web_server_setup CHANGED
@@ -256,9 +256,8 @@ module WebServerSetup
256
256
  unless dir = $PROJECTS_DIRECTORY
257
257
  puts "It looks like this is the first time you've run me."
258
258
  puts
259
- if agree("setup #{@project_or_projects_dir} as your projects dir? [Y/n]") { |q| q.default = "Y"}
260
- dir = @project_or_projects_dir
261
- else
259
+ dir = @project_or_projects_dir || FileUtils.pwd
260
+ unless agree("setup #{dir} as your projects dir? [Y/n]") { |q| q.default = "Y"}
262
261
  puts "for your first run you'll need to supply your projects directory"
263
262
  exit
264
263
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Expected Behavior