oa-basic 0.0.5 → 0.1.0
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.
- metadata +7 -8
- data/lib/omniauth/strategies/gowalla.rb +0 -19
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oa-basic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
+
- 1
|
|
8
9
|
- 0
|
|
9
|
-
|
|
10
|
-
version: 0.0.5
|
|
10
|
+
version: 0.1.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Michael Bleigh
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-
|
|
18
|
+
date: 2010-10-01 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -24,12 +24,12 @@ dependencies:
|
|
|
24
24
|
requirements:
|
|
25
25
|
- - "="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
hash:
|
|
27
|
+
hash: 27
|
|
28
28
|
segments:
|
|
29
29
|
- 0
|
|
30
|
+
- 1
|
|
30
31
|
- 0
|
|
31
|
-
|
|
32
|
-
version: 0.0.5
|
|
32
|
+
version: 0.1.0
|
|
33
33
|
requirement: *id001
|
|
34
34
|
name: oa-core
|
|
35
35
|
prerelease: false
|
|
@@ -186,7 +186,6 @@ extra_rdoc_files: []
|
|
|
186
186
|
|
|
187
187
|
files:
|
|
188
188
|
- lib/omniauth/basic.rb
|
|
189
|
-
- lib/omniauth/strategies/gowalla.rb
|
|
190
189
|
- lib/omniauth/strategies/http_basic.rb
|
|
191
190
|
- README.rdoc
|
|
192
191
|
- LICENSE.rdoc
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Gowalla's API isn't authenticated yet
|
|
2
|
-
# so this won't actually work at all it
|
|
3
|
-
# turns out.
|
|
4
|
-
|
|
5
|
-
# require 'omniauth/basic'
|
|
6
|
-
#
|
|
7
|
-
# module OmniAuth
|
|
8
|
-
# module Strategies
|
|
9
|
-
# class Gowalla < OmniAuth::Strategies::HttpBasic #:nodoc:
|
|
10
|
-
# def initialize(app, api_key)
|
|
11
|
-
# super(app, :gowalla, nil, {'X-Gowalla-API-Key' => api_key, 'Accept' => 'application/json'})
|
|
12
|
-
# end
|
|
13
|
-
#
|
|
14
|
-
# def endpoint
|
|
15
|
-
# "http://#{request[:username]}:#{request[:password]}@api.gowalla.com/users/#{request[:username]}"
|
|
16
|
-
# end
|
|
17
|
-
# end
|
|
18
|
-
# end
|
|
19
|
-
# end
|