Skip to content

Commit

Permalink
Merge branch 'heroku' of github.com:Bushido/Kandan into heroku
Browse files Browse the repository at this point in the history
Conflicts:
	Gemfile
	Gemfile.lock
	app/models/user.rb
  • Loading branch information
sgrove committed Apr 12, 2012
2 parents c21ed2b + cdef471 commit bd01552
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 31 deletions.
14 changes: 7 additions & 7 deletions Gemfile
Expand Up @@ -31,12 +31,12 @@ group :assets do
gem 'uglifier', '>= 1.0.3'
end

#gem 'tane', :path => "/remote/tane", :group => :development
# gem 'tane', :path => "/remote/tane", :group => :development

# Test gems, obviously
group :test do
gem 'rspec-rails'
gem 'shoulda-matchers'
gem 'factory_girl_rails'
# gem 'jasmine', :git => "https://github.com/pivotal/jasmine-gem.git", :branch => "1.2.rc1", :group => [:development, :test]
end
# group :test do
# gem 'rspec-rails'
# gem 'shoulda-matchers'
# gem 'factory_girl_rails'
# gem 'jasmine', :git => "https://github.com/pivotal/jasmine-gem.git", :branch => "1.2.rc1", :group => [:development, :test]
# end
23 changes: 0 additions & 23 deletions Gemfile.lock
Expand Up @@ -70,7 +70,6 @@ GEM
devise_bushido_authenticatable (1.0.3)
devise (= 1.5.3)
rubycas-client (>= 2.2.1)
diff-lcs (1.1.3)
eco (1.0.0)
coffee-script
eco-source
Expand All @@ -85,11 +84,6 @@ GEM
eventmachine (0.12.10)
execjs (1.3.0)
multi_json (~> 1.0)
factory_girl (2.6.1)
activesupport (>= 2.3.9)
factory_girl_rails (1.7.0)
factory_girl (~> 2.6.0)
railties (>= 3.0.0)
highline (1.6.11)
hike (1.2.1)
httparty (0.8.1)
Expand Down Expand Up @@ -149,27 +143,13 @@ GEM
remotipart (1.0.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.8.0)
rspec-core (~> 2.8.0)
rspec-expectations (~> 2.8.0)
rspec-mocks (~> 2.8.0)
rspec-core (2.8.0)
rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.8.0)
rspec-rails (2.8.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.8.0)
rubycas-client (2.3.8)
activesupport
sass (3.1.15)
sass-rails (3.2.4)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
shoulda-matchers (1.0.0)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
Expand Down Expand Up @@ -205,15 +185,12 @@ DEPENDENCIES
devise_bushido_authenticatable
eco
execjs
factory_girl_rails
jquery-rails
kaminari
paperclip
pg
rails (= 3.2.2)
remotipart
rspec-rails
sass-rails (~> 3.2.3)
shoulda-matchers
thin
uglifier (>= 1.0.3)
2 changes: 1 addition & 1 deletion app/models/user.rb
Expand Up @@ -4,13 +4,13 @@ class User < ActiveRecord::Base
before_save :ensure_authentication_token
before_save :ensure_gravatar_hash


# Kandan.devise_modules is defined in config/initializers/kandan.rb
devise devise *Kandan.devise_modules

# Setup accessible (or protected) attributes for your model
attr_accessible :id, :email, :password, :password_confirmation, :remember_me, :first_name, :last_name, :locale, :gravatar_hash


def bushido_extra_attributes(extra_attributes)
self.first_name = extra_attributes["first_name"].to_s
self.last_name = extra_attributes["last_name"].to_s
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Expand Up @@ -26,6 +26,8 @@ class Application < Rails::Application
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.

config.assets.initialize_on_precompile = false

# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)

Expand Down
Empty file removed vendor/plugins/.gitkeep
Empty file.

0 comments on commit bd01552

Please sign in to comment.