lift_off 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/lift_off +13 -12
  2. data/lib/lift_off/version.rb +1 -1
  3. metadata +1 -1
data/bin/lift_off CHANGED
@@ -72,25 +72,26 @@ Dir.chdir "#{underscore(new_name)}" do
72
72
  other_files = [".rvmrc", "config.ru", "Rakefile"].select {|other| File.exists?(other) }
73
73
 
74
74
  targets = Dir['**/*.{erb,haml,rb,sh,yml}'] + other_files
75
- p "I'm going to rename all erb, haml, rb, sh, and yaml files now"
75
+ pa "I'm going to rename all erb, haml, rb, sh, and yaml files now", :blue
76
76
  targets.each do |target|
77
- puts target
77
+ pa target, :yellow
78
78
  replace_in_file(target, new_name)
79
79
  end
80
- p "Done renaming stuff."
81
- p "*" * 100
80
+ pa "All files renamed.", :blue
81
+ pa "*" * 18, :green
82
+ pa ""
82
83
 
83
- p "I'm going to setup the database yml now."
84
+ pa "I need to setup the database yml now.", :blue
84
85
  FileUtils.cp 'config/database.example.yml', 'config/database.yml'
85
- p "Done!"
86
- p "*" * 100
86
+ pa "Done!", :blue
87
+ pa "*" * 5, :green
87
88
 
88
- p "I'm going to clear out the FlightPlan git repo now."
89
+ pa "I'm going to clear out the FlightPlan git repo now.", :blue
89
90
  remove_git_repo
90
- p "Done. Let's set a new one up."
91
+ pa "Done. Let's set a new one up.", :blue
91
92
  establish_new_git_repo
92
- p "Sweet. That's done too."
93
- p "*" * 100
93
+ pa "Sweet. That's done too.", :blue
94
+ pa "*" * 23, :green
94
95
 
95
- p "And we're done! ENJOY!!!!!1!"
96
+ pa "And we're done! ENJOY!!!!!1!", :pink
96
97
  end
@@ -1,3 +1,3 @@
1
1
  module LiftOff
2
- VERSION = '0.1.16'
2
+ VERSION = '0.1.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lift_off
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: