omniauth-digitalocean 0.0.1 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a2026f9593fd5db82cbc423791d3d677075ecea
4
- data.tar.gz: 2170318d211223151e5aab533e1bb2cee4d7a45e
3
+ metadata.gz: 1ecf5857a455548bfac71fabcd0652fc2a6e5688
4
+ data.tar.gz: 9d75f94f15bbe926e341a3f78688cc656a34071c
5
5
  SHA512:
6
- metadata.gz: 45c610ff7a46f2a066f2043db9d6d9600081bdd7c3ebd99f1233f72f5cbbcb7f7ebf3fd7e9b98d03a2c717ec0c025b19c205c5c907bf8491aaa7f2c8c078a005
7
- data.tar.gz: 114836396c8bd959a8fd23241824270edac9b3631ad80d389a5c398de420ada5d67330fc0658b3348c0cd0b55608370a58151e7609882ea8d76a48e056a0c754
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/example/sinatra/config.ru) Sinatra app for full examples
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
 
@@ -0,0 +1,7 @@
1
+ # Sinatra Example
2
+
3
+ How to use omniauth-digitalocean strategy with Sinatra.
4
+
5
+ ## Setup
6
+
7
+ Create an application on http://cloud.digitalocean.com/settings/application and set the ENV variables DIGITALOCEAN_APP_ID and DIGITALOCEAN_SECRET.
@@ -20,5 +20,5 @@ end
20
20
  use Rack::Session::Cookie
21
21
 
22
22
  use OmniAuth::Builder do
23
- provider :digitalocean, "2431aea9301744c9243e5777d31d6375cd4d8673f86569e125ad880b8f4f38b3", "a5e779f88e6f8053f400fb917aaa3cf89f23e2f72d85f3e375ebc02b93153787", scope: "read write"
23
+ provider :digitalocean, ENV["DIGITALOCEAN_APP_ID"], ENV["DIGITALOCEAN_SECRET"], scope: "read write"
24
24
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Digitalocean
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  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{Oauth2 strategy for authentication via DO.}
11
- spec.description = %q{Write a longer description. Optional.}
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.1
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-22 00:00:00.000000000 Z
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: Write a longer description. Optional.
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: Oauth2 strategy for authentication via DO.
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