socialite 0.1.0.pre.5 → 0.1.0.pre.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/controllers/socialite/sessions_controller.rb +7 -7
- data/app/controllers/socialite/users_controller.rb +1 -1
- data/app/views/socialite/identities/_identities.html.haml +6 -5
- data/app/views/socialite/identities/new.html.haml +5 -4
- data/app/views/socialite/sessions/new.html.haml +14 -11
- data/app/views/socialite/users/new.html.haml +6 -4
- data/config/locales/en.yml +53 -0
- data/lib/socialite/controllers/helpers.rb +1 -1
- data/lib/socialite/models/user_concern.rb +9 -1
- data/lib/socialite/version.rb +1 -1
- metadata +124 -82
- checksums.yaml +0 -7
@@ -7,7 +7,7 @@ module Socialite
|
|
7
7
|
# Login Page
|
8
8
|
def new
|
9
9
|
if current_user
|
10
|
-
redirect_to main_app.root_path, :alert => '
|
10
|
+
redirect_to main_app.root_path, :alert => I18n.t('socialite.already_registered')
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
@@ -22,20 +22,20 @@ module Socialite
|
|
22
22
|
# account. But we found the identity and the user associated with it
|
23
23
|
# is the current user. So the identity is already associated with
|
24
24
|
# this user. So let's display an error message.
|
25
|
-
redirect_to after_link_path, :notice =>
|
25
|
+
redirect_to after_link_path, :notice => I18n.t('socialite.already_linked_account')
|
26
26
|
else
|
27
27
|
# The identity is not associated with the current_user so lets
|
28
28
|
# associate the identity.
|
29
29
|
@identity.user = current_user
|
30
30
|
@identity.save
|
31
|
-
redirect_to after_link_path, :notice =>
|
31
|
+
redirect_to after_link_path, :notice => I18n.t('socialite.successful_signup')
|
32
32
|
end
|
33
33
|
else # User is not logged in, this is a new signin
|
34
34
|
if @identity.user.present?
|
35
35
|
# The identity we found had a user associated with it so let's
|
36
36
|
# just log them in here
|
37
37
|
self.current_user = @identity.user
|
38
|
-
redirect_to after_login_path, :notice =>
|
38
|
+
redirect_to after_login_path, :notice => I18n.t('socialite.successful_signin')
|
39
39
|
else
|
40
40
|
# The authentication has no user assigned and there is no user signed in
|
41
41
|
# Our decision here is to create a new account for the user
|
@@ -54,7 +54,7 @@ module Socialite
|
|
54
54
|
# We can now link the authentication with the user and log him in
|
55
55
|
user.identities << @identity
|
56
56
|
self.current_user = user
|
57
|
-
redirect_to after_signup_path, notice:
|
57
|
+
redirect_to after_signup_path, notice: I18n.t('socialite.welcome')
|
58
58
|
|
59
59
|
# No user associated with the identity so we need to create a new one
|
60
60
|
# redirect_to new_user_url, :notice => "Please finish registering"
|
@@ -64,11 +64,11 @@ module Socialite
|
|
64
64
|
|
65
65
|
def destroy
|
66
66
|
logout!
|
67
|
-
redirect_to(main_app.root_url, :notice => '
|
67
|
+
redirect_to(main_app.root_url, :notice => I18n.t('socialite.successful_signout'))
|
68
68
|
end
|
69
69
|
|
70
70
|
def failure
|
71
|
-
redirect_to after_failure_path, :alert =>
|
71
|
+
redirect_to after_failure_path, :alert => I18n.t('socialite.unsuccessful_signup')
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
@@ -4,7 +4,7 @@ module Socialite
|
|
4
4
|
|
5
5
|
def new
|
6
6
|
if current_user
|
7
|
-
redirect_to main_app.root_path, notice: '
|
7
|
+
redirect_to main_app.root_path, notice: I18n.t('socialite.already_registered')
|
8
8
|
end
|
9
9
|
@user = env['omniauth.identity'] ||= Socialite.user_class.new
|
10
10
|
end
|
@@ -1,14 +1,15 @@
|
|
1
|
+
- i18n_scope = "socialite.labels"
|
1
2
|
%table
|
2
3
|
%thead
|
3
|
-
%th
|
4
|
-
%th
|
5
|
-
%th
|
6
|
-
%th
|
4
|
+
%th= I18n.t('provider', scope: i18n_scope)
|
5
|
+
%th= I18n.t('unique_id', scope: i18n_scope)
|
6
|
+
%th= I18n.t('additional_auth_information', scope: i18n_scope)
|
7
|
+
%th= I18n.t('actions', scope: i18n_scope)
|
7
8
|
- identities.each do |identity|
|
8
9
|
%tr
|
9
10
|
%td= identity.provider
|
10
11
|
%td= identity.unique_id
|
11
12
|
%td= identity.auth_hash
|
12
13
|
%td
|
13
|
-
= link_to '
|
14
|
+
= link_to I18n.t('unlink_account', scope: i18n_scope), user_identity_path(identity), :method => :delete, :confirm => I18n.t('socialite.confirm_unlink')
|
14
15
|
|
@@ -1,14 +1,15 @@
|
|
1
|
-
|
1
|
+
- i18n_scope = "socialite.identities.new"
|
2
|
+
%h1= I18n.t('header', scope: i18n_scope)
|
2
3
|
|
3
4
|
= simple_form_for @identity, :url => '/auth/identity/register' do |f|
|
4
5
|
- if @identity && @identity.errors.any?
|
5
6
|
.error_messages
|
6
|
-
%h2
|
7
|
+
%h2= I18n.t('socialite.errors.create_fail', :count => @identity.errors.count)
|
7
8
|
%ul
|
8
9
|
- @identity.errors.full_messages.each do |msg|
|
9
10
|
%li= msg
|
10
11
|
|
11
12
|
= f.input :email, :input_html => {:name => 'email'}
|
12
13
|
= f.input :password, :as => 'password', :input_html => {:name => 'password'}
|
13
|
-
= f.input :password_confirmation, :label =>
|
14
|
-
= f.button :submit,
|
14
|
+
= f.input :password_confirmation, :label => I18n.t('socialite.labels.confirm_password'), :as => 'password', :input_html => {:name => 'password_confirmation'}
|
15
|
+
= f.button :submit, I18n.t(:sign_up, scope: labels_scope)
|
@@ -1,30 +1,33 @@
|
|
1
|
-
|
1
|
+
- i18n_scope = "socialite.sessions.new"
|
2
|
+
- labels_scope = "socialite.labels"
|
3
|
+
|
4
|
+
%h1= I18n.t(:header, scope: i18n_scope)
|
2
5
|
|
3
6
|
%p
|
4
|
-
%strong
|
7
|
+
%strong= I18n.t(:services_header, scope: i18n_scope)
|
5
8
|
|
6
9
|
.auth_providers
|
7
10
|
- if defined?(OmniAuth::Strategies::Twitter)
|
8
11
|
%a.auth_provider{:href => "/auth/twitter"}
|
9
|
-
= image_tag "twitter_64.png", :size => "64x64", :alt =>
|
10
|
-
|
12
|
+
= image_tag "twitter_64.png", :size => "64x64", :alt => I18n.t('socialite.providers.twitter')
|
13
|
+
= I18n.t('socialite.providers.twitter')
|
11
14
|
- if defined?(OmniAuth::Strategies::Facebook)
|
12
15
|
%a.auth_provider{:href => "/auth/facebook"}
|
13
|
-
= image_tag "facebook_64.png", :size => "64x64", :alt =>
|
14
|
-
|
16
|
+
= image_tag "facebook_64.png", :size => "64x64", :alt => I18n.t('socialite.providers.facebook')
|
17
|
+
= I18n.t('socialite.providers.facebook')
|
15
18
|
|
16
19
|
%p
|
17
|
-
%strong
|
18
|
-
|
20
|
+
%strong= I18n.t(:identity_header, scope: i18n_scope)
|
21
|
+
= I18n.t('create_account_text.html', scope: i18n_scope, :create_account_link => link_to(I18n.t('create_account_link_text', scope: i18n_scope), signup_path))
|
19
22
|
|
20
23
|
= form_tag "/auth/identity/callback" do
|
21
24
|
.field
|
22
|
-
= label_tag :auth_key,
|
25
|
+
= label_tag :auth_key, I18n.t(:auth_key, scope: labels_scope)
|
23
26
|
%br
|
24
27
|
= text_field_tag :auth_key
|
25
28
|
.field
|
26
|
-
= label_tag :password
|
29
|
+
= label_tag :password, I18n.t(:password, scope: labels_scope)
|
27
30
|
%br
|
28
31
|
= password_field_tag :password
|
29
32
|
.actions
|
30
|
-
= submit_tag
|
33
|
+
= submit_tag I18n.t(:sign_in, scope: labels_scope)
|
@@ -1,10 +1,12 @@
|
|
1
1
|
-# UsersController#new registration form is ONLY used with omniauth-identity
|
2
|
+
- i18n_scope = "socialite.users.new"
|
3
|
+
- labels_scope = "socialite.labels"
|
2
4
|
|
3
|
-
= simple_form_for
|
4
|
-
%h1
|
5
|
+
= simple_form_for(@user, :url => '/auth/identity/register') do |f|
|
6
|
+
%h1= I18n.t(:header, scope: i18n_scope)
|
5
7
|
-# specify :input_html to avoid params nesting
|
6
8
|
-# = f.input :name, :input_html => {:name => 'name'}
|
7
9
|
= f.input :email, :input_html => {:name => 'email'}
|
8
10
|
= f.input :password, :as => 'password', :input_html => {:name => 'password'}
|
9
|
-
= f.input :password_confirmation, :label =>
|
10
|
-
= f.button :submit,
|
11
|
+
= f.input :password_confirmation, :label => I18n.t(:confirm_password, scope: labels_scope), :as => 'password', :input_html => {:name => 'password_confirmation'}
|
12
|
+
= f.button :submit, I18n.t(:sign_up, scope: labels_scope)
|
@@ -0,0 +1,53 @@
|
|
1
|
+
en:
|
2
|
+
socialite:
|
3
|
+
already_registered: "You are already registered"
|
4
|
+
already_linked_account: "You have already linked this account"
|
5
|
+
successful_signup: "Account successfully authenticated"
|
6
|
+
successful_signin: "Signed in!"
|
7
|
+
successful_signout: "Signed out!"
|
8
|
+
unsuccessful_signup: "Authentication failed, please try again."
|
9
|
+
welcome: "Welcome to the app!"
|
10
|
+
confirm_unlink: "Are your sure?"
|
11
|
+
login_required: "You must be logged in to use this feature"
|
12
|
+
|
13
|
+
identities:
|
14
|
+
new:
|
15
|
+
header: "New Account"
|
16
|
+
submit_label: "Register"
|
17
|
+
|
18
|
+
sessions:
|
19
|
+
new:
|
20
|
+
header: "Sign In"
|
21
|
+
services_header: "Sign in through one of these services:"
|
22
|
+
identity_header: "Don't use these services?"
|
23
|
+
create_account_link_text: "Create an account"
|
24
|
+
create_account_text:
|
25
|
+
html: "%{create_account_link} or login below."
|
26
|
+
|
27
|
+
users:
|
28
|
+
new:
|
29
|
+
header: "Create an Account"
|
30
|
+
|
31
|
+
#### Providers
|
32
|
+
providers:
|
33
|
+
twitter: "Twitter"
|
34
|
+
facebook: "Facebook"
|
35
|
+
|
36
|
+
#### LABELS
|
37
|
+
labels:
|
38
|
+
provider: "Provider"
|
39
|
+
unique_id: "Unique ID"
|
40
|
+
additional_auth_information: "Additional"
|
41
|
+
actions: "Actions"
|
42
|
+
auth_key: "Email"
|
43
|
+
password: "Password"
|
44
|
+
unlink_account: "Unlink"
|
45
|
+
register: "Register"
|
46
|
+
confirm_password: "Confirm Password"
|
47
|
+
sign_up: "Sign Up!"
|
48
|
+
sign_in: "Sign in"
|
49
|
+
|
50
|
+
errors:
|
51
|
+
create_fail:
|
52
|
+
one: "%{error_count} error prohibited this account from being saved:"
|
53
|
+
other: "%{error_count} errors prohibited this account from being saved:"
|
@@ -20,7 +20,8 @@ module Socialite
|
|
20
20
|
validates :email,
|
21
21
|
:presence => true,
|
22
22
|
:format => { :with => /.+@.+\..+/i },
|
23
|
-
:uniqueness => { :case_sensitive => false }
|
23
|
+
:uniqueness => { :case_sensitive => false },
|
24
|
+
:if => :authorized?
|
24
25
|
end
|
25
26
|
|
26
27
|
module ClassMethods
|
@@ -91,6 +92,13 @@ module Socialite
|
|
91
92
|
# save(:validate => false)
|
92
93
|
# end
|
93
94
|
# end
|
95
|
+
|
96
|
+
# Used for overloading the validations on username and email.
|
97
|
+
#
|
98
|
+
# @return [Boolean]
|
99
|
+
def authorized?
|
100
|
+
true
|
101
|
+
end
|
94
102
|
end
|
95
103
|
end
|
96
104
|
end
|
data/lib/socialite/version.rb
CHANGED
metadata
CHANGED
@@ -1,267 +1,304 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: 6
|
5
|
+
version: 0.1.0.pre.6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Justin Smestad
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-04-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
16
|
+
type: :runtime
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 3.2.12
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
+
none: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - ~>
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: 3.2.12
|
28
|
+
none: false
|
29
|
+
prerelease: false
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: sass-rails
|
32
|
+
type: :runtime
|
29
33
|
requirement: !ruby/object:Gem::Requirement
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
|
-
|
35
|
-
prerelease: false
|
38
|
+
none: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - '>='
|
41
|
+
- - ! '>='
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '0'
|
44
|
+
none: false
|
45
|
+
prerelease: false
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: haml
|
48
|
+
type: :runtime
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
|
-
|
49
|
-
prerelease: false
|
54
|
+
none: false
|
50
55
|
version_requirements: !ruby/object:Gem::Requirement
|
51
56
|
requirements:
|
52
|
-
- - '>='
|
57
|
+
- - ! '>='
|
53
58
|
- !ruby/object:Gem::Version
|
54
59
|
version: '0'
|
60
|
+
none: false
|
61
|
+
prerelease: false
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: omniauth
|
64
|
+
type: :runtime
|
57
65
|
requirement: !ruby/object:Gem::Requirement
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: 1.1.0
|
62
|
-
|
63
|
-
prerelease: false
|
70
|
+
none: false
|
64
71
|
version_requirements: !ruby/object:Gem::Requirement
|
65
72
|
requirements:
|
66
73
|
- - ~>
|
67
74
|
- !ruby/object:Gem::Version
|
68
75
|
version: 1.1.0
|
76
|
+
none: false
|
77
|
+
prerelease: false
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
79
|
+
name: omniauth-identity
|
80
|
+
type: :runtime
|
71
81
|
requirement: !ruby/object:Gem::Requirement
|
72
82
|
requirements:
|
73
|
-
- - '>='
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
|
77
|
-
prerelease: false
|
85
|
+
version: '0'
|
86
|
+
none: false
|
78
87
|
version_requirements: !ruby/object:Gem::Requirement
|
79
88
|
requirements:
|
80
|
-
- - '>='
|
89
|
+
- - ! '>='
|
81
90
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
91
|
+
version: '0'
|
92
|
+
none: false
|
93
|
+
prerelease: false
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
95
|
+
name: bcrypt-ruby
|
96
|
+
type: :development
|
85
97
|
requirement: !ruby/object:Gem::Requirement
|
86
98
|
requirements:
|
87
|
-
- - '>='
|
99
|
+
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
|
91
|
-
prerelease: false
|
101
|
+
version: 3.0.0
|
102
|
+
none: false
|
92
103
|
version_requirements: !ruby/object:Gem::Requirement
|
93
104
|
requirements:
|
94
|
-
- - '>='
|
105
|
+
- - ! '>='
|
95
106
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
107
|
+
version: 3.0.0
|
108
|
+
none: false
|
109
|
+
prerelease: false
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
111
|
+
name: simple_form
|
112
|
+
type: :development
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- - '>='
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
|
-
|
105
|
-
prerelease: false
|
118
|
+
none: false
|
106
119
|
version_requirements: !ruby/object:Gem::Requirement
|
107
120
|
requirements:
|
108
|
-
- - '>='
|
121
|
+
- - ! '>='
|
109
122
|
- !ruby/object:Gem::Version
|
110
123
|
version: '0'
|
124
|
+
none: false
|
125
|
+
prerelease: false
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: omniauth-facebook
|
128
|
+
type: :development
|
113
129
|
requirement: !ruby/object:Gem::Requirement
|
114
130
|
requirements:
|
115
|
-
- - '>='
|
131
|
+
- - ! '>='
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: '0'
|
118
|
-
|
119
|
-
prerelease: false
|
134
|
+
none: false
|
120
135
|
version_requirements: !ruby/object:Gem::Requirement
|
121
136
|
requirements:
|
122
|
-
- - '>='
|
137
|
+
- - ! '>='
|
123
138
|
- !ruby/object:Gem::Version
|
124
139
|
version: '0'
|
140
|
+
none: false
|
141
|
+
prerelease: false
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: omniauth-twitter
|
144
|
+
type: :development
|
127
145
|
requirement: !ruby/object:Gem::Requirement
|
128
146
|
requirements:
|
129
|
-
- - '>='
|
147
|
+
- - ! '>='
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: '0'
|
132
|
-
|
133
|
-
prerelease: false
|
150
|
+
none: false
|
134
151
|
version_requirements: !ruby/object:Gem::Requirement
|
135
152
|
requirements:
|
136
|
-
- - '>='
|
153
|
+
- - ! '>='
|
137
154
|
- !ruby/object:Gem::Version
|
138
155
|
version: '0'
|
156
|
+
none: false
|
157
|
+
prerelease: false
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: sqlite3
|
160
|
+
type: :development
|
141
161
|
requirement: !ruby/object:Gem::Requirement
|
142
162
|
requirements:
|
143
|
-
- - '>='
|
163
|
+
- - ! '>='
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: '0'
|
146
|
-
|
147
|
-
prerelease: false
|
166
|
+
none: false
|
148
167
|
version_requirements: !ruby/object:Gem::Requirement
|
149
168
|
requirements:
|
150
|
-
- - '>='
|
169
|
+
- - ! '>='
|
151
170
|
- !ruby/object:Gem::Version
|
152
171
|
version: '0'
|
172
|
+
none: false
|
173
|
+
prerelease: false
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: yard
|
176
|
+
type: :development
|
155
177
|
requirement: !ruby/object:Gem::Requirement
|
156
178
|
requirements:
|
157
|
-
- - '>='
|
179
|
+
- - ! '>='
|
158
180
|
- !ruby/object:Gem::Version
|
159
181
|
version: '0'
|
160
|
-
|
161
|
-
prerelease: false
|
182
|
+
none: false
|
162
183
|
version_requirements: !ruby/object:Gem::Requirement
|
163
184
|
requirements:
|
164
|
-
- - '>='
|
185
|
+
- - ! '>='
|
165
186
|
- !ruby/object:Gem::Version
|
166
187
|
version: '0'
|
188
|
+
none: false
|
189
|
+
prerelease: false
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: rspec-rails
|
192
|
+
type: :development
|
169
193
|
requirement: !ruby/object:Gem::Requirement
|
170
194
|
requirements:
|
171
|
-
- - '>='
|
195
|
+
- - ! '>='
|
172
196
|
- !ruby/object:Gem::Version
|
173
197
|
version: '0'
|
174
|
-
|
175
|
-
prerelease: false
|
198
|
+
none: false
|
176
199
|
version_requirements: !ruby/object:Gem::Requirement
|
177
200
|
requirements:
|
178
|
-
- - '>='
|
201
|
+
- - ! '>='
|
179
202
|
- !ruby/object:Gem::Version
|
180
203
|
version: '0'
|
204
|
+
none: false
|
205
|
+
prerelease: false
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: factory_girl_rails
|
208
|
+
type: :development
|
183
209
|
requirement: !ruby/object:Gem::Requirement
|
184
210
|
requirements:
|
185
|
-
- - '>='
|
211
|
+
- - ! '>='
|
186
212
|
- !ruby/object:Gem::Version
|
187
213
|
version: '0'
|
188
|
-
|
189
|
-
prerelease: false
|
214
|
+
none: false
|
190
215
|
version_requirements: !ruby/object:Gem::Requirement
|
191
216
|
requirements:
|
192
|
-
- - '>='
|
217
|
+
- - ! '>='
|
193
218
|
- !ruby/object:Gem::Version
|
194
219
|
version: '0'
|
220
|
+
none: false
|
221
|
+
prerelease: false
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: ffaker
|
224
|
+
type: :development
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
198
226
|
requirements:
|
199
|
-
- - '>='
|
227
|
+
- - ! '>='
|
200
228
|
- !ruby/object:Gem::Version
|
201
229
|
version: '0'
|
202
|
-
|
203
|
-
prerelease: false
|
230
|
+
none: false
|
204
231
|
version_requirements: !ruby/object:Gem::Requirement
|
205
232
|
requirements:
|
206
|
-
- - '>='
|
233
|
+
- - ! '>='
|
207
234
|
- !ruby/object:Gem::Version
|
208
235
|
version: '0'
|
236
|
+
none: false
|
237
|
+
prerelease: false
|
209
238
|
- !ruby/object:Gem::Dependency
|
210
239
|
name: shoulda-matchers
|
240
|
+
type: :development
|
211
241
|
requirement: !ruby/object:Gem::Requirement
|
212
242
|
requirements:
|
213
|
-
- - '>='
|
243
|
+
- - ! '>='
|
214
244
|
- !ruby/object:Gem::Version
|
215
245
|
version: '0'
|
216
|
-
|
217
|
-
prerelease: false
|
246
|
+
none: false
|
218
247
|
version_requirements: !ruby/object:Gem::Requirement
|
219
248
|
requirements:
|
220
|
-
- - '>='
|
249
|
+
- - ! '>='
|
221
250
|
- !ruby/object:Gem::Version
|
222
251
|
version: '0'
|
252
|
+
none: false
|
253
|
+
prerelease: false
|
223
254
|
- !ruby/object:Gem::Dependency
|
224
255
|
name: capybara
|
256
|
+
type: :development
|
225
257
|
requirement: !ruby/object:Gem::Requirement
|
226
258
|
requirements:
|
227
|
-
- - '>='
|
259
|
+
- - ! '>='
|
228
260
|
- !ruby/object:Gem::Version
|
229
261
|
version: 2.0.2
|
230
|
-
|
231
|
-
prerelease: false
|
262
|
+
none: false
|
232
263
|
version_requirements: !ruby/object:Gem::Requirement
|
233
264
|
requirements:
|
234
|
-
- - '>='
|
265
|
+
- - ! '>='
|
235
266
|
- !ruby/object:Gem::Version
|
236
267
|
version: 2.0.2
|
268
|
+
none: false
|
269
|
+
prerelease: false
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: database_cleaner
|
272
|
+
type: :development
|
239
273
|
requirement: !ruby/object:Gem::Requirement
|
240
274
|
requirements:
|
241
|
-
- - '>='
|
275
|
+
- - ! '>='
|
242
276
|
- !ruby/object:Gem::Version
|
243
277
|
version: '0'
|
244
|
-
|
245
|
-
prerelease: false
|
278
|
+
none: false
|
246
279
|
version_requirements: !ruby/object:Gem::Requirement
|
247
280
|
requirements:
|
248
|
-
- - '>='
|
281
|
+
- - ! '>='
|
249
282
|
- !ruby/object:Gem::Version
|
250
283
|
version: '0'
|
284
|
+
none: false
|
285
|
+
prerelease: false
|
251
286
|
- !ruby/object:Gem::Dependency
|
252
287
|
name: ammeter
|
288
|
+
type: :development
|
253
289
|
requirement: !ruby/object:Gem::Requirement
|
254
290
|
requirements:
|
255
|
-
- - '>='
|
291
|
+
- - ! '>='
|
256
292
|
- !ruby/object:Gem::Version
|
257
293
|
version: '0'
|
258
|
-
|
259
|
-
prerelease: false
|
294
|
+
none: false
|
260
295
|
version_requirements: !ruby/object:Gem::Requirement
|
261
296
|
requirements:
|
262
|
-
- - '>='
|
297
|
+
- - ! '>='
|
263
298
|
- !ruby/object:Gem::Version
|
264
299
|
version: '0'
|
300
|
+
none: false
|
301
|
+
prerelease: false
|
265
302
|
description: Rails engine supporting multiple auth providers per user.
|
266
303
|
email: justin.smestad@gmail.com
|
267
304
|
executables: []
|
@@ -280,6 +317,7 @@ files:
|
|
280
317
|
- app/views/socialite/identities/new.html.haml
|
281
318
|
- app/views/socialite/sessions/new.html.haml
|
282
319
|
- app/views/socialite/users/new.html.haml
|
320
|
+
- config/locales/en.yml
|
283
321
|
- config/routes.rb
|
284
322
|
- lib/generators/socialite/install_generator.rb
|
285
323
|
- lib/generators/socialite/migrations_generator.rb
|
@@ -361,26 +399,30 @@ files:
|
|
361
399
|
- spec/support/omniauth.rb
|
362
400
|
homepage: http://github.com/jsmestad/socialite
|
363
401
|
licenses: []
|
364
|
-
metadata: {}
|
365
402
|
post_install_message:
|
366
403
|
rdoc_options: []
|
367
404
|
require_paths:
|
368
405
|
- lib
|
369
406
|
required_ruby_version: !ruby/object:Gem::Requirement
|
370
407
|
requirements:
|
371
|
-
- - '>='
|
408
|
+
- - ! '>='
|
372
409
|
- !ruby/object:Gem::Version
|
410
|
+
segments:
|
411
|
+
- 0
|
412
|
+
hash: 1237804995330320058
|
373
413
|
version: '0'
|
414
|
+
none: false
|
374
415
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
375
416
|
requirements:
|
376
|
-
- - '>'
|
417
|
+
- - ! '>'
|
377
418
|
- !ruby/object:Gem::Version
|
378
419
|
version: 1.3.1
|
420
|
+
none: false
|
379
421
|
requirements: []
|
380
422
|
rubyforge_project:
|
381
|
-
rubygems_version:
|
423
|
+
rubygems_version: 1.8.23
|
382
424
|
signing_key:
|
383
|
-
specification_version:
|
425
|
+
specification_version: 3
|
384
426
|
summary: Rails engine supporting multiple auth providers per user.
|
385
427
|
test_files:
|
386
428
|
- spec/dummy/README.rdoc
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 47169664caee3fd761cc4d1f36008e7539a099f3
|
4
|
-
data.tar.gz: 8f57aed1133b3c8fccc9146bbc41d27c3d26dbb2
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 6f46c8c1b4a86827ade860a5fa23ddb856c76bf89bafd0f57de5a764055f3cf4621fb713ef2d21e4533716545146fdc477dd1b098d950f4cd79e1c9e7a15e2d6
|
7
|
-
data.tar.gz: e663c6e8582dca08e4a9a2e099ebbb1ac0c228c452b4cce16fb83d97bf59fbed5c5441e9113dd604c0a47431c6274e9c43161a303fd2f09cc5a2ee732ce5036a
|