bin/plezi in plezi-0.7.1 vs bin/plezi in plezi-0.7.2
- old
+ new
@@ -54,11 +54,11 @@
# app core files.
app_tree["environment.rb"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"environment.rb"), __FILE__)
app_tree["routes.rb"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"routes.rb"), __FILE__)
app_tree["rakefile.rb"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"rakefile.rb"), __FILE__)
app_tree["Procfile"] ||= ""
- app_tree["Procfile"] << "\nweb: bundle exec ./#{ARGV[1]}.rb -p $PORT\n"
+ app_tree["Procfile"] << "\nweb: bundle exec ./#{ARGV[1]} -p $PORT\n"
app_tree["Gemfile"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"Gemfile"), __FILE__)
# set up config files
app_tree["config"] ||= {}
app_tree["config"]["db_ac_config.rb"] ||= IO.read(::File.expand_path(File.join("..", "..", "resources" ,"db_ac_config.rb"), __FILE__))
@@ -121,11 +121,11 @@
puts "starting to write template data...".red
puts ""
@app_tree["#{ARGV[1]}"] ||= IO.read ::File.expand_path(File.join("..", "..", "resources" ,"code.rb"), __FILE__)
write_files app_tree
File.chmod 0775, "#{ARGV[1]}"
- puts "tried to update execution permissions. this probably failed.".pink
+ puts "tried to update execution permissions. this is system dependent and might have failed.".pink
puts "use: chmod +x ./#{ARGV[1]} to set execution permissions on Unix machines."
puts ""
puts "done."
puts "\n#{@end_comments.join("\n")}" unless @end_comments.empty?
puts ""
@@ -275,26 +275,26 @@
puts "option description".yellow
puts "new <appname> creates a new application called <appname>."
puts "n alias for new."
puts "new app with gem 'new' accepts the 'with' paramater (or w for short)."
puts "starting up an app:".pink
- puts "start runs the app. accepts any paramaters the app supports."
+ puts "start runs the app. accepts any parameters the app supports."
puts "s alias for start/server."
puts "start console innsead of services:".pink
- puts "console runs the app. accepts any paramaters the app supports."
+ puts "console runs the app. accepts any parameters the app supports."
puts "c alias for start/server."
puts "==============================".green
puts "create an app with specific plugins:".pink
puts "plezi new app with gem1 gem2"
puts "loads the specific gem(s) and allows them to update the template before building the app.".green
puts ""
puts "create an app with ALL plugins:".pink
puts "plezi n app w all"
puts "loads the all available gem(s) and allows them to update the template before building the app.".green
puts ""
- puts "start the application with any paramaters it supports:".pink
+ puts "start the application with any parameters it supports:".pink
puts "plezi s -p 80"
- puts "loads the app with paramaters -p 80".green
+ puts "loads the app with parameters -p 80".green
puts ""
end