omniauth-digitalocean 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/examples/sinatra/README.md +7 -0
- data/examples/sinatra/config.ru +1 -1
- data/lib/omniauth-digitalocean/version.rb +1 -1
- data/omniauth-digitalocean.gemspec +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ecf5857a455548bfac71fabcd0652fc2a6e5688
|
4
|
+
data.tar.gz: 9d75f94f15bbe926e341a3f78688cc656a34071c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a130160fd01c55795ed5403a31b493ef3e4819364cacd19aa70937619601449ec7470ae89ba16787cd07bbfe36fb18b5c9531abeafa2b04f585d5cee61043d8
|
7
|
+
data.tar.gz: 7773ec958e792fd55cc7229eab21413b3b76ff25733caf5754f703973aa4f815636d50046b457ad7845876c922977c53a138d29c121c5aad85cfcda54de167b2
|
data/README.md
CHANGED
@@ -36,7 +36,7 @@ end
|
|
36
36
|
|
37
37
|
For additional information, refer to the [OmniAuth wiki](https://github.com/intridea/omniauth/wiki).
|
38
38
|
|
39
|
-
See the [example](https://github.com/digitaloceancloud/omniauth-digitalocean/blob/master/
|
39
|
+
See the [example](https://github.com/digitaloceancloud/omniauth-digitalocean/blob/master/examples/sinatra/config.ru) Sinatra app for full examples
|
40
40
|
|
41
41
|
Note: before running example app, please add your applicaation id and secret to ` example/config.ru ` file.
|
42
42
|
|
data/examples/sinatra/config.ru
CHANGED
@@ -20,5 +20,5 @@ end
|
|
20
20
|
use Rack::Session::Cookie
|
21
21
|
|
22
22
|
use OmniAuth::Builder do
|
23
|
-
provider :digitalocean, "
|
23
|
+
provider :digitalocean, ENV["DIGITALOCEAN_APP_ID"], ENV["DIGITALOCEAN_SECRET"], scope: "read write"
|
24
24
|
end
|
@@ -7,8 +7,8 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.version = Omniauth::Digitalocean::VERSION
|
8
8
|
spec.authors = ["Phillip Baker"]
|
9
9
|
spec.email = ["phillip@digitalocean.com"]
|
10
|
-
spec.summary = %q{
|
11
|
-
spec.description = %q{
|
10
|
+
spec.summary = %q{Official OmniAuth strategy for Digitalocean}
|
11
|
+
spec.description = %q{Official OmniAuth strategy for Digitalocean}
|
12
12
|
spec.homepage = ""
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phillip Baker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description:
|
125
|
+
description: Official OmniAuth strategy for Digitalocean
|
126
126
|
email:
|
127
127
|
- phillip@digitalocean.com
|
128
128
|
executables: []
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- README.md
|
136
136
|
- Rakefile
|
137
137
|
- examples/sinatra/Gemfile
|
138
|
+
- examples/sinatra/README.md
|
138
139
|
- examples/sinatra/config.ru
|
139
140
|
- lib/omniauth-digitalocean.rb
|
140
141
|
- lib/omniauth-digitalocean/version.rb
|
@@ -165,7 +166,7 @@ rubyforge_project:
|
|
165
166
|
rubygems_version: 2.2.0
|
166
167
|
signing_key:
|
167
168
|
specification_version: 4
|
168
|
-
summary:
|
169
|
+
summary: Official OmniAuth strategy for Digitalocean
|
169
170
|
test_files:
|
170
171
|
- spec/omniauth/strategies/digitalocean_spec.rb
|
171
172
|
- spec/spec_helper.rb
|