dyntool 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyntool.rb +1 -2
- metadata +2 -2
data/lib/dyntool.rb
CHANGED
@@ -66,7 +66,7 @@ class Authentication
|
|
66
66
|
case @q1
|
67
67
|
when "yes" then
|
68
68
|
`svn diff dyn.yml`
|
69
|
-
@q2 = ask
|
69
|
+
@q2 = ask("Do you want to use the local or svn version? (local|svn)?") { |q| q.echo = true }
|
70
70
|
if @q2 == "local"
|
71
71
|
`svn ci dyn.yml -m"Updating dyn.yml file to svn`
|
72
72
|
elsif @q2 == "svn"
|
@@ -75,7 +75,6 @@ class Authentication
|
|
75
75
|
when "no"
|
76
76
|
puts "Please make sure that you local and svn copies are identical"
|
77
77
|
exit 2
|
78
|
-
|
79
78
|
end
|
80
79
|
end
|
81
80
|
end
|