From 073125ac304b2f3f0b083a385d477ec45b993fde Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 2 Apr 2013 09:28:26 +1100 Subject: [PATCH] fast blank to latest --- Gemfile | 13 ++++++++----- Gemfile.lock | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index d839e1b56..5f06f21da 100644 --- a/Gemfile +++ b/Gemfile @@ -61,7 +61,7 @@ gem 'discourse_plugin', path: 'vendor/gems/discourse_plugin' # Discourse Plugins (optional) # Polls and Tasks have been disabled for launch, we need think all sorts of stuff through before adding them back in -# biggest concern is core support for custom sort orders, but there is also styling that just gets mishmashed into our core theme. +# biggest concern is core support for custom sort orders, but there is also styling that just gets mishmashed into our core theme. # gem 'discourse_poll', path: 'vendor/gems/discourse_poll' gem 'discourse_emoji', path: 'vendor/gems/discourse_emoji' # gem 'discourse_task', path: 'vendor/gems/discourse_task' @@ -86,7 +86,7 @@ group :test, :development do gem 'certified' gem 'fabrication' gem 'guard-jasmine' - gem 'guard-rspec' + gem 'guard-rspec' gem 'guard-spork' gem 'jasminerice' gem 'mocha', require: false @@ -98,13 +98,16 @@ group :test, :development do gem 'terminal-notifier-guard', require: RUBY_PLATFORM.include?('darwin') && 'terminal-notifier-guard' end -group :development do +group :development do gem 'better_errors' gem 'binding_of_caller' gem 'librarian', '>= 0.0.25', require: false - gem 'pry-rails' + gem 'pry-rails' end +# this is an optional gem, it provides a high performance replacement +# to String#blank? a method that is called quite frequently in current +# ActiveRecord, this may change in the future gem 'fast_blank', github: "SamSaffron/fast_blank" # IMPORTANT: mini profiler monkey patches, so it better be required last @@ -117,5 +120,5 @@ group :profile do # travis refuses to install this, instead of fuffing, just avoid it for now # # if you need to profile, uncomment out this line - # gem 'rack-perftools_profiler', require: 'rack/perftools_profiler', platform: :mri_19 + # gem 'rack-perftools_profiler', require: 'rack/perftools_profiler', platform: :mri_19 end diff --git a/Gemfile.lock b/Gemfile.lock index 1680e6610..e8cdeded3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,7 +7,7 @@ GIT GIT remote: git://github.com/SamSaffron/fast_blank.git - revision: 79df15181712f7e140d8443b7ab7a989fa289b88 + revision: 5d63f521b228fe9aa386ed8b8bff280781b23004 specs: fast_blank (0.0.1) rake