sinatra_auth_github 0.13.1 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -23,7 +23,7 @@ Running the Example
23
23
  % bundle install
24
24
  % GITHUB_CLIENT_ID="<from GH>" GITHUB_CLIENT_SECRET="<from GH>" bundle exec rackup -p9393
25
25
 
26
- There's an example app in [spec/app.rb](/atmos/sinatra_auth_github/blob/master/spec/app.rb).
26
+ There's an example app in [spec/app.rb](/spec/app.rb).
27
27
 
28
28
  Example App Functionality
29
29
  =========================
@@ -1,5 +1,5 @@
1
1
  require 'warden/test/helpers'
2
- require 'warden-github/user'
2
+ require 'warden/github/user'
3
3
 
4
4
  module Sinatra
5
5
  module Auth
@@ -11,7 +11,7 @@ module Sinatra
11
11
  User.make(attrs)
12
12
  end
13
13
 
14
- class User < Warden::Github::Oauth::User
14
+ class User < Warden::GitHub::User
15
15
  def self.make(attrs = {})
16
16
  default_attrs = {
17
17
  'login' => "test_user",
@@ -1,7 +1,7 @@
1
1
  module Sinatra
2
2
  module Auth
3
3
  module Github
4
- VERSION = "0.13.1"
4
+ VERSION = "0.13.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra_auth_github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-06 00:00:00.000000000 Z
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra