omniauth-sugarmate 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +127 -0
- data/lib/omniauth-sugarmate/version.rb +1 -1
- data/lib/omniauth/strategies/sugarmate.rb +2 -4
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bf7e2d29ebe63515c3ba3e42a46802cc0786418
|
4
|
+
data.tar.gz: 8cf9edf1456ba28371fa62cc3828f12803c88241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e684f1e31dbe8137d2964f841af2f78465f73a4db04d937a099f4bce7124155ef1342b7eb0ca72cfaf9bcfa42207409f965704e5212cda102de3128b20bd9fb8
|
7
|
+
data.tar.gz: f3eac283fd5ae1f3bc47b58b8ba8557903535589bebd7a0cf5a0b02c785d892509e907f33012d3803e151f9a2ceb5b4a9b30b5eea679b2f1340d97a94a716572
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
omniauth-sugarmate (0.1.1)
|
5
|
+
omniauth (~> 1.4.0)
|
6
|
+
omniauth-oauth2 (>= 1.4.0, < 2.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
addressable (2.5.0)
|
12
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
13
|
+
coderay (1.1.1)
|
14
|
+
crack (0.4.3)
|
15
|
+
safe_yaml (~> 1.0.0)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
docile (1.1.5)
|
18
|
+
faraday (0.10.1)
|
19
|
+
multipart-post (>= 1.2, < 3)
|
20
|
+
ffi (1.9.17)
|
21
|
+
formatador (0.2.5)
|
22
|
+
growl (1.0.3)
|
23
|
+
guard (2.14.1)
|
24
|
+
formatador (>= 0.2.4)
|
25
|
+
listen (>= 2.7, < 4.0)
|
26
|
+
lumberjack (~> 1.0)
|
27
|
+
nenv (~> 0.1)
|
28
|
+
notiffany (~> 0.0)
|
29
|
+
pry (>= 0.9.12)
|
30
|
+
shellany (~> 0.0)
|
31
|
+
thor (>= 0.18.1)
|
32
|
+
guard-bundler (2.1.0)
|
33
|
+
bundler (~> 1.0)
|
34
|
+
guard (~> 2.2)
|
35
|
+
guard-compat (~> 1.1)
|
36
|
+
guard-compat (1.2.1)
|
37
|
+
guard-rspec (4.7.3)
|
38
|
+
guard (~> 2.1)
|
39
|
+
guard-compat (~> 1.1)
|
40
|
+
rspec (>= 2.99.0, < 4.0)
|
41
|
+
hashdiff (0.3.2)
|
42
|
+
hashie (3.5.3)
|
43
|
+
json (2.0.3)
|
44
|
+
jwt (1.5.6)
|
45
|
+
listen (3.1.5)
|
46
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
47
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
48
|
+
ruby_dep (~> 1.2)
|
49
|
+
lumberjack (1.0.11)
|
50
|
+
method_source (0.8.2)
|
51
|
+
multi_json (1.12.1)
|
52
|
+
multi_xml (0.6.0)
|
53
|
+
multipart-post (2.0.0)
|
54
|
+
nenv (0.3.0)
|
55
|
+
notiffany (0.1.1)
|
56
|
+
nenv (~> 0.1)
|
57
|
+
shellany (~> 0.0)
|
58
|
+
oauth2 (1.3.0)
|
59
|
+
faraday (>= 0.8, < 0.11)
|
60
|
+
jwt (~> 1.0)
|
61
|
+
multi_json (~> 1.3)
|
62
|
+
multi_xml (~> 0.5)
|
63
|
+
rack (>= 1.2, < 3)
|
64
|
+
omniauth (1.4.2)
|
65
|
+
hashie (>= 1.2, < 4)
|
66
|
+
rack (>= 1.0, < 3)
|
67
|
+
omniauth-oauth2 (1.4.0)
|
68
|
+
oauth2 (~> 1.0)
|
69
|
+
omniauth (~> 1.2)
|
70
|
+
pry (0.10.4)
|
71
|
+
coderay (~> 1.1.0)
|
72
|
+
method_source (~> 0.8.1)
|
73
|
+
slop (~> 3.4)
|
74
|
+
public_suffix (2.0.5)
|
75
|
+
rack (2.0.1)
|
76
|
+
rack-test (0.6.3)
|
77
|
+
rack (>= 1.0)
|
78
|
+
rake (12.0.0)
|
79
|
+
rb-fsevent (0.9.8)
|
80
|
+
rb-inotify (0.9.8)
|
81
|
+
ffi (>= 0.5.0)
|
82
|
+
rspec (3.5.0)
|
83
|
+
rspec-core (~> 3.5.0)
|
84
|
+
rspec-expectations (~> 3.5.0)
|
85
|
+
rspec-mocks (~> 3.5.0)
|
86
|
+
rspec-core (3.5.4)
|
87
|
+
rspec-support (~> 3.5.0)
|
88
|
+
rspec-expectations (3.5.0)
|
89
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
+
rspec-support (~> 3.5.0)
|
91
|
+
rspec-mocks (3.5.0)
|
92
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
+
rspec-support (~> 3.5.0)
|
94
|
+
rspec-support (3.5.0)
|
95
|
+
ruby_dep (1.5.0)
|
96
|
+
safe_yaml (1.0.4)
|
97
|
+
shellany (0.0.1)
|
98
|
+
simplecov (0.13.0)
|
99
|
+
docile (~> 1.1.0)
|
100
|
+
json (>= 1.8, < 3)
|
101
|
+
simplecov-html (~> 0.10.0)
|
102
|
+
simplecov-html (0.10.0)
|
103
|
+
slop (3.6.0)
|
104
|
+
thor (0.19.4)
|
105
|
+
webmock (2.3.2)
|
106
|
+
addressable (>= 2.3.6)
|
107
|
+
crack (>= 0.3.2)
|
108
|
+
hashdiff
|
109
|
+
|
110
|
+
PLATFORMS
|
111
|
+
ruby
|
112
|
+
|
113
|
+
DEPENDENCIES
|
114
|
+
growl
|
115
|
+
guard
|
116
|
+
guard-bundler
|
117
|
+
guard-rspec
|
118
|
+
omniauth-sugarmate!
|
119
|
+
rack-test
|
120
|
+
rake
|
121
|
+
rb-fsevent
|
122
|
+
rspec (~> 3.5)
|
123
|
+
simplecov
|
124
|
+
webmock
|
125
|
+
|
126
|
+
BUNDLED WITH
|
127
|
+
1.14.3
|
@@ -2,9 +2,8 @@ require 'omniauth-oauth2'
|
|
2
2
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
|
-
class
|
6
|
-
|
7
|
-
option :name, :doorkeeper
|
5
|
+
class Sugarmate < OmniAuth::Strategies::OAuth2
|
6
|
+
option :name, :sugarmate
|
8
7
|
|
9
8
|
option :client_options, {
|
10
9
|
:site => "http://sugarmate.io",
|
@@ -17,7 +16,6 @@ module OmniAuth
|
|
17
16
|
{
|
18
17
|
:email => raw_info["email"],
|
19
18
|
:nickname => raw_info["nickname"]
|
20
|
-
# and anything else you want to return to your API consumers
|
21
19
|
}
|
22
20
|
end
|
23
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-sugarmate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wild Village LLC
|
@@ -107,7 +107,9 @@ executables: []
|
|
107
107
|
extensions: []
|
108
108
|
extra_rdoc_files: []
|
109
109
|
files:
|
110
|
+
- ".gitignore"
|
110
111
|
- Gemfile
|
112
|
+
- Gemfile.lock
|
111
113
|
- Guardfile
|
112
114
|
- LICENSE.txt
|
113
115
|
- README.md
|