Skip to content

Commit

Permalink
update 3.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoschuele committed Apr 17, 2015
1 parent a42725f commit 2f64a02
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _Create **Rails** apps. **Faster**._

---
- Title: RailsBricks
- Version: 3.1.7
- Version: 3.1.8
- Author: Nico Schuele (www.nicoschuele.com)
- Contact: [contact page](http://railsbricks.net/contact)
- Homepage: http://www.railsbricks.net
Expand Down
1 change: 1 addition & 0 deletions lib/railsbricks/app_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def set_app_name
FileHelpers.replace_string(/BRICK_APP_NAME/, @options[:rails_app_name], @app_dir + "/config/environments/production.rb")
FileHelpers.replace_string(/BRICK_APP_NAME/, @options[:rails_app_name], @app_dir + "/config/initializers/secret_token.rb")
FileHelpers.replace_string(/BRICK_APP_NAME/, @options[:rails_app_name], @app_dir + "/config/initializers/session_store.rb")
FileHelpers.replace_string(/BRICK_SESSION/, @options[:rails_app_name].downcase, @app_dir + "/config/initializers/session_store.rb")
new_line
wputs "----> App name set.", :info
end
Expand Down
2 changes: 1 addition & 1 deletion lib/railsbricks/config_values.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ConfigValues

RAILS_VERSION = "4.2.0"
RAILS_VERSION = "4.2.1"
ISSUE_PATH = "https://github.com/nicoschuele/railsbricks"

def self.rails_version
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.

BRICK_APP_NAME::Application.config.session_store :cookie_store, key: '_rbricksgen_session'
BRICK_APP_NAME::Application.config.session_store :cookie_store, key: '_BRICK_SESSION_session'
10 changes: 5 additions & 5 deletions lib/railsbricks/gemfile_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ module GemfileBuilder
FIGARO = "1.1.0"
FONT_AWESOME_SASS = "4.3.2.1"
FRIENDLY_ID = "5.1.0"
JBUILDER = "2.2.12"
JBUILDER = "2.2.13"
JQUERY_RAILS = "4.0.3"
KAMINARI = "0.16.3"
REDCARPET = "3.2.2"
SASS_RAILS = "5.0.1"
REDCARPET = "3.2.3"
SASS_RAILS = "5.0.3"
SQLITE3 = "1.3.10"
TURBOLINKS = "2.5.3"
UGLIFIER = "2.7.1"
BYEBUG = "4.0.4"
BYEBUG = "4.0.5"
WEB_CONSOLE = "2.1.2"
SPRING = "1.3.3"
SPRING = "1.3.4"

def self.build_gemfile(app_dir, options)
new_line(2)
Expand Down
8 changes: 4 additions & 4 deletions lib/railsbricks/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ def new_app_menu
new_line
wputs "- Which version of Ruby do you want to use?"
wputs "1. 2.0.0", :info
wputs "2. 2.2.0", :info
wputs "3. 2.2.1 (default)", :info
wputs "2. 2.2.1", :info
wputs "3. 2.2.2 (default)", :info
choice = answer("Your choice (1-3):")
case choice
when "1"
@options[:ruby_version] = "2.0.0"
when "2"
@options[:ruby_version] = "2.2.0"
else
@options[:ruby_version] = "2.2.1"
else
@options[:ruby_version] = "2.2.2"
end
new_line(2)

Expand Down
6 changes: 3 additions & 3 deletions lib/railsbricks/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ module Version

MAJOR = 3
MINOR = 1
PATCH = 7
PATCH = 8
PRE = nil

YEAR = "2015"
MONTH = "03"
DAY = "28"
MONTH = "04"
DAY = "18"

def self.to_s
[MAJOR, MINOR, PATCH, PRE].compact.join(".")
Expand Down

0 comments on commit 2f64a02

Please sign in to comment.