Skip to content

Commit

Permalink
replace more occurances of rbricks with pbricks to avoid name clash.
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Dec 11, 2015
1 parent 2cc1e2e commit 469a163
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# (Empty) Gemfile, helps development with bundler.
# Allows to call `bundle exec bin/rbricks` which loads the
# Allows to call `bundle exec bin/pbricks` which loads the
# source you are currently working on.

# This eases development with bundler, e.g. call
# `bundle exec bin/rbricks`
# `bundle exec bin/pbricks`
# to execute current ('local,' vs. gem-installed) version of railsbricks.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ There is still lot of documentation need to be done, I am hosting it in a hurry.

## Features

* replaces the `rails new` command with `rbricks -n`
* replaces the `rails new` command with `pbricks -n`
* includes useful gems and sets them up for you
* offers different UI choices for your web app
* creates and configures a Devise authentication scheme
Expand Down Expand Up @@ -54,7 +54,7 @@ Like any other gem, you simply issue `gem install railsbricks`

## Usage

To create a new app, just type `rbricks --new` and follow the wizard.
To create a new app, just type `pbricks --new` and follow the wizard.

You can read the documentation, see a video and go through the *Get Started* tutorial at [railsbricks.net](http://www.railsbricks.net)

Expand Down
8 changes: 4 additions & 4 deletions lib/railsbricks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,16 @@ def self.display_help
StringHelpers.wputs "RailsBricks usage:", :info
StringHelpers.wputs "------------------", :info
puts
puts "rbricks --new (or -n) :"
puts "pbricks --new (or -n) :"
puts " --> create a new RailsBricks app."
puts
puts "rbricks --recreate-db (or -r) :"
puts "pbricks --recreate-db (or -r) :"
puts " --> drop, create, migrate & seed the DB"
puts
puts "rbricks --config"
puts "pbricks --config"
puts " --> display your app config"
puts
puts "rbricks --version (or -v) :"
puts "pbricks --version (or -v) :"
puts " --> display the RailsBricks version"
puts
StringHelpers.wputs "More help, tutorials and documentation at http://www.railsbricks.net/get-started", :info
Expand Down
8 changes: 4 additions & 4 deletions lib/railsbricks/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -474,25 +474,25 @@ def new_app_menu
# TODO: Offer to save template and/or whole script

# if hints
# wputs "I now have all the details needed to create #{@options[:app_name]}. I can save your settings if you want to generate your application at a later time (for example, if you forgot to start your PostgreSQL server). This will generate a file named #{@options[:app_name]}.rbs in the current directory. You can execute it later by running: rbricks --script #{@options[:app_name]}.rbs", :help
# wputs "I now have all the details needed to create #{@options[:app_name]}. I can save your settings if you want to generate your application at a later time (for example, if you forgot to start your PostgreSQL server). This will generate a file named #{@options[:app_name]}.rbs in the current directory. You can execute it later by running: pbricks --script #{@options[:app_name]}.rbs", :help

# new_line

# wputs "I can also save your chosen settings in a template file if you plan to create similar apps at a later stage. You will only need to fill in unique settings such as the app name. The template will be saved in the current directory as template_#{@options[:app_name]}.rbt. You can execute it later by running: rbricks --template template_#{@options[:app_name]}.rbt", :help
# wputs "I can also save your chosen settings in a template file if you plan to create similar apps at a later stage. You will only need to fill in unique settings such as the app name. The template will be saved in the current directory as template_#{@options[:app_name]}.rbt. You can execute it later by running: pbricks --template template_#{@options[:app_name]}.rbt", :help
# end
new_line

# # save settings
# wputs "- Do you want to save the app settings in order to execute them later?"
# wputs "tip: rbricks --script #{@options[:app_name]}.rbs", :help
# wputs "tip: pbricks --script #{@options[:app_name]}.rbs", :help
# wputs "1. Yes", :info
# wputs "2. No (default)", :info
# @options[:save_settings] = answer() == "1" ? true : false
# new_line(2)

# # save template
# wputs "- Do you want to save common settings as a template?"
# wputs "tip: rbricks --template template_#{@options[:app_name]}.rbt", :help
# wputs "tip: pbricks --template template_#{@options[:app_name]}.rbt", :help
# wputs "1. Yes", :info
# wputs "2. No (default)", :info
# @options[:save_template] = answer() == "1" ? true : false
Expand Down
2 changes: 1 addition & 1 deletion railsbricks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Gem::Specification.new do |s|
s.name = 'phoenixbricks'
s.version = Version.current
s.required_ruby_version = '>= 2.0'
s.executables << 'rbricks'
s.executables << 'pbricks'
s.date = Version.current_date
s.summary = "Create Rails apps. Faster."
s.description = "RailsBricks enables you to create Rails apps much faster by automating mundane setup tasks and configuring useful common gems for you. "
Expand Down

0 comments on commit 469a163

Please sign in to comment.