lift_off 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/lift_off +4 -1
- data/lib/lift_off/version.rb +1 -1
- metadata +1 -1
data/bin/lift_off
CHANGED
@@ -41,6 +41,10 @@ def remove_git_repo
|
|
41
41
|
`rm -rf .git`
|
42
42
|
end
|
43
43
|
|
44
|
+
def rename_root_folder
|
45
|
+
File.rename './flight_plan', "./#{underscore(new_name)}"
|
46
|
+
end
|
47
|
+
|
44
48
|
def establish_new_git_repo
|
45
49
|
`git init .`
|
46
50
|
`git add .`
|
@@ -56,7 +60,6 @@ p "=" * 100
|
|
56
60
|
|
57
61
|
p "Renaming the root folder now"
|
58
62
|
rename_root_folder
|
59
|
-
File.rename './flight_plan', "./#{underscore(new_name)}"
|
60
63
|
p "Done!"
|
61
64
|
p "=" * 100
|
62
65
|
|
data/lib/lift_off/version.rb
CHANGED