empower 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +55 -51
- data/app/helpers/empower/omniauth_helper.rb +3 -3
- data/empower.gemspec +1 -2
- data/lib/empower/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9d38127c68a042d5d114446cf70d249568de263
|
4
|
+
data.tar.gz: 4e0db7802086886a79300d3f953c863536fd18ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3681a331b7a41cd60c5f05640b5a12d3f18610bb37cb48b4dae70abe330ba87821b359207293c8d60521d3c6d333153e030647649492e6908eb53324ba618a
|
7
|
+
data.tar.gz: 5fee16662fd228d2d7e90347a1133e8bde580a941f25a8e62834870c69112f2bacb9036daf0b0238fd6d147908980626201298a0f4d400765af140f34c215e29
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
empower (1.
|
5
|
-
devise
|
4
|
+
empower (1.1.0)
|
5
|
+
devise (~> 4.0.0)
|
6
6
|
omniauth
|
7
7
|
omniauth-facebook
|
8
8
|
omniauth-google-oauth2
|
@@ -12,105 +12,106 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
actionpack (4.2.
|
16
|
-
actionview (= 4.2.
|
17
|
-
activesupport (= 4.2.
|
15
|
+
actionpack (4.2.6)
|
16
|
+
actionview (= 4.2.6)
|
17
|
+
activesupport (= 4.2.6)
|
18
18
|
rack (~> 1.6)
|
19
19
|
rack-test (~> 0.6.2)
|
20
20
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
21
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
22
|
-
actionview (4.2.
|
23
|
-
activesupport (= 4.2.
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
22
|
+
actionview (4.2.6)
|
23
|
+
activesupport (= 4.2.6)
|
24
24
|
builder (~> 3.1)
|
25
25
|
erubis (~> 2.7.0)
|
26
26
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
27
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
28
|
-
activemodel (4.2.
|
29
|
-
activesupport (= 4.2.
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
+
activemodel (4.2.6)
|
29
|
+
activesupport (= 4.2.6)
|
30
30
|
builder (~> 3.1)
|
31
|
-
activesupport (4.2.
|
31
|
+
activesupport (4.2.6)
|
32
32
|
i18n (~> 0.7)
|
33
33
|
json (~> 1.7, >= 1.7.7)
|
34
34
|
minitest (~> 5.1)
|
35
35
|
thread_safe (~> 0.3, >= 0.3.4)
|
36
36
|
tzinfo (~> 1.1)
|
37
|
-
bcrypt (3.1.
|
37
|
+
bcrypt (3.1.11)
|
38
38
|
builder (3.2.2)
|
39
|
-
devise (
|
39
|
+
devise (4.0.1)
|
40
40
|
bcrypt (~> 3.0)
|
41
41
|
orm_adapter (~> 0.1)
|
42
|
-
railties (>=
|
42
|
+
railties (>= 4.1.0, < 5.1)
|
43
43
|
responders
|
44
|
-
thread_safe (~> 0.1)
|
45
44
|
warden (~> 1.2.3)
|
46
45
|
erubis (2.7.0)
|
47
|
-
faraday (0.9.
|
46
|
+
faraday (0.9.2)
|
48
47
|
multipart-post (>= 1.2, < 3)
|
49
|
-
hashie (3.4.
|
48
|
+
hashie (3.4.3)
|
50
49
|
i18n (0.7.0)
|
51
|
-
json (1.8.
|
52
|
-
jwt (1.5.
|
53
|
-
loofah (2.0.
|
50
|
+
json (1.8.3)
|
51
|
+
jwt (1.5.1)
|
52
|
+
loofah (2.0.3)
|
54
53
|
nokogiri (>= 1.5.9)
|
55
|
-
|
56
|
-
minitest (5.
|
57
|
-
multi_json (1.11.
|
54
|
+
mini_portile2 (2.0.0)
|
55
|
+
minitest (5.8.4)
|
56
|
+
multi_json (1.11.3)
|
58
57
|
multi_xml (0.5.5)
|
59
58
|
multipart-post (2.0.0)
|
60
|
-
nokogiri (1.6.
|
61
|
-
|
62
|
-
oauth (0.
|
63
|
-
oauth2 (1.
|
59
|
+
nokogiri (1.6.7.2)
|
60
|
+
mini_portile2 (~> 2.0.0.rc2)
|
61
|
+
oauth (0.5.1)
|
62
|
+
oauth2 (1.1.0)
|
64
63
|
faraday (>= 0.8, < 0.10)
|
65
|
-
jwt (~> 1.0)
|
64
|
+
jwt (~> 1.0, < 1.5.2)
|
66
65
|
multi_json (~> 1.3)
|
67
66
|
multi_xml (~> 0.5)
|
68
|
-
rack (
|
69
|
-
omniauth (1.
|
67
|
+
rack (>= 1.2, < 3)
|
68
|
+
omniauth (1.3.1)
|
70
69
|
hashie (>= 1.2, < 4)
|
71
|
-
rack (
|
72
|
-
omniauth-facebook (
|
70
|
+
rack (>= 1.0, < 3)
|
71
|
+
omniauth-facebook (3.0.0)
|
73
72
|
omniauth-oauth2 (~> 1.2)
|
74
|
-
omniauth-google-oauth2 (0.
|
75
|
-
|
76
|
-
|
73
|
+
omniauth-google-oauth2 (0.4.0)
|
74
|
+
jwt (~> 1.5.0)
|
75
|
+
multi_json (~> 1.3)
|
76
|
+
omniauth (>= 1.1.1)
|
77
|
+
omniauth-oauth2 (>= 1.3.1)
|
77
78
|
omniauth-oauth (1.1.0)
|
78
79
|
oauth
|
79
80
|
omniauth (~> 1.0)
|
80
|
-
omniauth-oauth2 (1.
|
81
|
+
omniauth-oauth2 (1.4.0)
|
81
82
|
oauth2 (~> 1.0)
|
82
83
|
omniauth (~> 1.2)
|
83
|
-
omniauth-twitter (1.2.
|
84
|
+
omniauth-twitter (1.2.1)
|
84
85
|
json (~> 1.3)
|
85
86
|
omniauth-oauth (~> 1.1)
|
86
87
|
orm_adapter (0.5.0)
|
87
|
-
rack (1.6.
|
88
|
+
rack (1.6.4)
|
88
89
|
rack-test (0.6.3)
|
89
90
|
rack (>= 1.0)
|
90
91
|
rails-deprecated_sanitizer (1.0.3)
|
91
92
|
activesupport (>= 4.2.0.alpha)
|
92
|
-
rails-dom-testing (1.0.
|
93
|
+
rails-dom-testing (1.0.7)
|
93
94
|
activesupport (>= 4.2.0.beta, < 5.0)
|
94
95
|
nokogiri (~> 1.6.0)
|
95
96
|
rails-deprecated_sanitizer (>= 1.0.1)
|
96
|
-
rails-html-sanitizer (1.0.
|
97
|
+
rails-html-sanitizer (1.0.3)
|
97
98
|
loofah (~> 2.0)
|
98
|
-
railties (4.2.
|
99
|
-
actionpack (= 4.2.
|
100
|
-
activesupport (= 4.2.
|
99
|
+
railties (4.2.6)
|
100
|
+
actionpack (= 4.2.6)
|
101
|
+
activesupport (= 4.2.6)
|
101
102
|
rake (>= 0.8.7)
|
102
103
|
thor (>= 0.18.1, < 2.0)
|
103
|
-
rake (
|
104
|
-
responders (2.1.
|
105
|
-
railties (>= 4.2.0, < 5)
|
106
|
-
simple_form (3.1
|
107
|
-
actionpack (
|
108
|
-
activemodel (
|
104
|
+
rake (11.1.2)
|
105
|
+
responders (2.1.2)
|
106
|
+
railties (>= 4.2.0, < 5.1)
|
107
|
+
simple_form (3.2.1)
|
108
|
+
actionpack (> 4, < 5.1)
|
109
|
+
activemodel (> 4, < 5.1)
|
109
110
|
thor (0.19.1)
|
110
111
|
thread_safe (0.3.5)
|
111
112
|
tzinfo (1.2.2)
|
112
113
|
thread_safe (~> 0.1)
|
113
|
-
warden (1.2.
|
114
|
+
warden (1.2.6)
|
114
115
|
rack (>= 1.0)
|
115
116
|
|
116
117
|
PLATFORMS
|
@@ -119,3 +120,6 @@ PLATFORMS
|
|
119
120
|
DEPENDENCIES
|
120
121
|
bundler (~> 1.6)
|
121
122
|
empower!
|
123
|
+
|
124
|
+
BUNDLED WITH
|
125
|
+
1.10.6
|
@@ -4,7 +4,7 @@ module Empower
|
|
4
4
|
def facebook_login_button(text = 'Sign in with Facebook')
|
5
5
|
link_to(
|
6
6
|
text,
|
7
|
-
main_app.
|
7
|
+
main_app.user_facebook_omniauth_authorize_path,
|
8
8
|
:class => 'button facebook'
|
9
9
|
) unless user_signed_in?
|
10
10
|
end
|
@@ -12,7 +12,7 @@ module Empower
|
|
12
12
|
def google_login_button(text = 'Sign in with Google')
|
13
13
|
link_to(
|
14
14
|
text,
|
15
|
-
main_app.
|
15
|
+
main_app.user_google_oauth2_omniauth_authorize_path,
|
16
16
|
:class => 'button google'
|
17
17
|
) unless user_signed_in?
|
18
18
|
end
|
@@ -20,7 +20,7 @@ module Empower
|
|
20
20
|
def twitter_login_button(text = 'Sign in with Twitter')
|
21
21
|
link_to(
|
22
22
|
text,
|
23
|
-
main_app.
|
23
|
+
main_app.user_twitter_omniauth_authorize_path,
|
24
24
|
:class => 'button twitter'
|
25
25
|
) unless user_signed_in?
|
26
26
|
end
|
data/empower.gemspec
CHANGED
@@ -19,8 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
|
23
|
-
spec.add_dependency 'devise'
|
22
|
+
spec.add_dependency 'devise', '~> 4.0.0'
|
24
23
|
spec.add_dependency 'omniauth'
|
25
24
|
spec.add_dependency 'omniauth-facebook'
|
26
25
|
spec.add_dependency 'omniauth-google-oauth2'
|
data/lib/empower/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: empower
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean C Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.4.
|
163
|
+
rubygems_version: 2.4.5.1
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: ''
|