Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Commit

Permalink
Initial sorcery installation
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Jul 27, 2014
1 parent 7af7d70 commit 8245fee
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ gem 'spring', group: :development

# required for travis
gem 'rake', group: [:test]

# authentication, require rails 4.1 compatible version
gem 'sorcery', '>= 0.8.6'
18 changes: 18 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 1.1)
arel (5.0.1.20140414130214)
bcrypt (3.1.7)
builder (3.2.2)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
Expand All @@ -38,6 +39,8 @@ GEM
coffee-script-source (1.7.1)
erubis (2.7.0)
execjs (2.2.1)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
hike (1.2.3)
i18n (0.6.11)
jbuilder (2.1.3)
Expand All @@ -47,12 +50,22 @@ GEM
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
jwt (1.0.0)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
minitest (5.4.0)
multi_json (1.10.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
oauth (0.4.7)
oauth2 (0.9.4)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
polyglot (0.3.5)
rack (1.5.2)
rack-test (0.6.2)
Expand Down Expand Up @@ -84,6 +97,10 @@ GEM
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
sorcery (0.8.6)
bcrypt (~> 3.1)
oauth (~> 0.4, >= 0.4.4)
oauth2 (>= 0.8.0, < 1.0.0)
spring (1.1.3)
sprockets (2.11.0)
hike (~> 1.2)
Expand Down Expand Up @@ -120,6 +137,7 @@ DEPENDENCIES
rake
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
sorcery (>= 0.8.6)
spring
sqlite3
turbolinks
Expand Down
1 change: 1 addition & 0 deletions app/models/person.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
class Person < ActiveRecord::Base
authenticates_with_sorcery!
end
Loading

0 comments on commit 8245fee

Please sign in to comment.