rack-oauth2-server 2.0.0.beta3 → 2.0.0.beta4

Sign up to get free protection for your applications and to get access to all the features.
data/test/setup.rb CHANGED
@@ -93,8 +93,8 @@ class Test::Unit::TestCase
93
93
 
94
94
  def setup
95
95
  Server.database = DATABASE
96
- Server::Admin.scopes = %{read write}
97
- @client = Server::Client.create(:display_name=>"UberClient", :redirect_uri=>"http://uberclient.dot/callback", :scopes=>%w{read write})
96
+ Server::Admin.scope = %{read write}
97
+ @client = Server.register(:display_name=>"UberClient", :redirect_uri=>"http://uberclient.dot/callback", :scope=>%w{read write oauth-admin})
98
98
  end
99
99
 
100
100
  attr_reader :client, :end_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-oauth2-server
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1848230037
4
+ hash: -1848230040
5
5
  prerelease: true
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 0
10
- - beta3
11
- version: 2.0.0.beta3
10
+ - beta4
11
+ version: 2.0.0.beta4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Assaf Arkin
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-16 00:00:00 -08:00
19
+ date: 2010-11-17 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -159,7 +159,7 @@ licenses:
159
159
  post_install_message: To get started, run the command oauth2-server
160
160
  rdoc_options:
161
161
  - --title
162
- - rack-oauth2-server 2.0.0.beta3
162
+ - rack-oauth2-server 2.0.0.beta4
163
163
  - --main
164
164
  - README.rdoc
165
165
  - --webcvs