sinatra-g_auth 0.0.3 → 0.0.4
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/README.md +1 -1
- data/lib/sinatra/g_auth/version.rb +1 -1
- data/sinatra-g_auth.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11b4a0beac50603b529b55bdf3e0e5de1d9db35e
|
|
4
|
+
data.tar.gz: 9a6996eeac39dd4893eacd0f8d6d6e20b464a3ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65019c0711bbb2335482b4e22bdabd1c8cdf47d2347e5f82d286fd1a85a36a5c539c48155a7904afef510d993e0106ef46a7906ace9c1936d4356599a271712c
|
|
7
|
+
data.tar.gz: b6a8168b8755a031e824929799680b82c7b524f7817764075673a7fab0bf2444126a02d9a4e92312eb8df4748257fb74af877b879767d2f4b7f45a39791e058e
|
data/README.md
CHANGED
|
@@ -22,10 +22,10 @@ Configure the settings and register the extension to get up and running.
|
|
|
22
22
|
|
|
23
23
|
````ruby
|
|
24
24
|
class App < Sinatra::Base
|
|
25
|
+
register Sinatra::GAuth # add the sinatra extension to your stack
|
|
25
26
|
set :gauth_domain, 'example.org' # set this to your google apps domain
|
|
26
27
|
set :gauth_tmp_dir, './tmp' # path to a directory that's writable by your web process
|
|
27
28
|
set :gauth_redirect, '/' # where to redirect users after they've authenticated
|
|
28
|
-
register Sinatra::GAuth # add the sinatra extension to your stack
|
|
29
29
|
|
|
30
30
|
get '/protected' do
|
|
31
31
|
protect_with_gauth! # add this to any route you want protected
|
data/sinatra-g_auth.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ require 'sinatra/g_auth/version'
|
|
|
6
6
|
Gem::Specification.new do |gem|
|
|
7
7
|
gem.name = "sinatra-g_auth"
|
|
8
8
|
gem.version = Sinatra::GAuth::VERSION
|
|
9
|
-
gem.authors = ["
|
|
10
|
-
gem.email = ["
|
|
9
|
+
gem.authors = ["StyleSeek Engineering"]
|
|
10
|
+
gem.email = ["engineering@styleseek.com"]
|
|
11
11
|
gem.description = %q{Sinatra + oAuth via Google Apps}
|
|
12
12
|
gem.summary = %q{Quickly add Google Apps authentication to any Sintra app.}
|
|
13
13
|
gem.homepage = "https://github.com/styleseek/sinatra-g_auth"
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sinatra-g_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- StyleSeek Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
@@ -110,7 +110,7 @@ dependencies:
|
|
|
110
110
|
version: '0'
|
|
111
111
|
description: Sinatra + oAuth via Google Apps
|
|
112
112
|
email:
|
|
113
|
-
-
|
|
113
|
+
- engineering@styleseek.com
|
|
114
114
|
executables: []
|
|
115
115
|
extensions: []
|
|
116
116
|
extra_rdoc_files: []
|