Skip to content

Commit

Permalink
fixing bugs in oauth submodule: need to require oauth libs, and authe…
Browse files Browse the repository at this point in the history
…ntications_class not passed in time to controller, moved to be exclusively in model, and always accessed through it.
  • Loading branch information
NoamB committed Mar 14, 2011
1 parent 8c5886d commit f7e5d3d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GEM
faraday (0.5.5)
addressable (~> 2.2.4)
multipart-post (~> 1.1.0)
rack (>= 1.1.0, < 2)
rack (< 2, >= 1.1.0)
git (1.2.5)
i18n (0.5.0)
jeweler (1.5.2)
Expand Down
2 changes: 1 addition & 1 deletion sorcery.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = %q{sorcery}
s.version = "0.2.0"
s.version = "0.2.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Noam Ben Ari"]
Expand Down
2 changes: 1 addition & 1 deletion spec/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'http://rubygems.org'

gem "rails", '3.0.3'
gem 'bcrypt-ruby', :require => 'bcrypt'
gem "sorcery", '0.2.0', :path => '../../../'
gem "sorcery", '0.2.1', :path => '../../../'
gem 'oauth', ">= 0.4.4"
gem 'oauth2', ">= 0.1.1"
group :development do
Expand Down
4 changes: 2 additions & 2 deletions spec/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../../../
specs:
sorcery (0.2.0)
sorcery (0.2.1)

GEM
remote: http://rubygems.org/
Expand Down Expand Up @@ -118,4 +118,4 @@ DEPENDENCIES
rspec
ruby-debug19
simplecov (>= 0.3.8)
sorcery (= 0.2.0)!
sorcery (= 0.2.1)!
2 changes: 1 addition & 1 deletion spec/rails3/app_root/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'http://rubygems.org'

gem 'rails', '3.0.3'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem "sorcery", '0.2.0', :path => '../../../'
gem "sorcery", '0.2.1', :path => '../../../'
gem 'bcrypt-ruby', '~> 2.1.4', :require => 'bcrypt'
gem 'oauth', ">= 0.4.4"
gem 'oauth2', ">= 0.1.1"
Expand Down
4 changes: 2 additions & 2 deletions spec/rails3/app_root/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../../../
specs:
sorcery (0.2.0)
sorcery (0.2.1)
bcrypt-ruby (~> 2.1.4)
json (>= 1.5.1)
oauth (>= 0.4.4)
Expand Down Expand Up @@ -134,6 +134,6 @@ DEPENDENCIES
rspec-rails
ruby-debug19
simplecov (>= 0.3.8)
sorcery (= 0.2.0)!
sorcery (= 0.2.1)!
spork (~> 0.9.0.rc)
sqlite3-ruby

0 comments on commit f7e5d3d

Please sign in to comment.