oauth2-auth-server 0.0.1 → 0.0.2

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.
@@ -4,7 +4,7 @@ require 'oauth2-auth-server/version'
4
4
  require 'oauth2-auth-server/schema'
5
5
  require 'oauth2-auth-server/routes'
6
6
 
7
- module Oauth2
7
+ module OAuth2
8
8
  module Auth
9
9
  module Server
10
10
  autoload :SecureToken, 'oauth2-auth-server/secure_token'
@@ -1,4 +1,4 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module Authentication
@@ -1,4 +1,4 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module Endpoints
@@ -1,4 +1,4 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module Endpoints
@@ -1,10 +1,10 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module Models
5
5
  class AccessToken < ActiveRecord::Base
6
6
  cattr_accessor :default_lifetime
7
- self.default_lifetime = Oauth2::Auth::Server.default_lifetime
7
+ self.default_lifetime = OAuth2::Auth::Server.default_lifetime
8
8
 
9
9
  belongs_to :client
10
10
 
@@ -1,4 +1,4 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module Models
@@ -1,6 +1,6 @@
1
1
  # require 'action_dispatch/routing/mapper'
2
2
 
3
- module Oauth2
3
+ module OAuth2
4
4
  module Auth
5
5
  module Server
6
6
  module ActionDispatch::Routing
@@ -1,6 +1,6 @@
1
1
  require 'active_record/connection_adapters/abstract/schema_definitions'
2
2
 
3
- module Oauth2
3
+ module OAuth2
4
4
  module Auth
5
5
  module Server
6
6
  module Schema
@@ -22,5 +22,5 @@ module Oauth2
22
22
  end
23
23
  end
24
24
 
25
- ActiveRecord::ConnectionAdapters::Table.send :include, Oauth2::Auth::Server::Schema
26
- ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Oauth2::Auth::Server::Schema
25
+ ActiveRecord::ConnectionAdapters::Table.send :include, OAuth2::Auth::Server::Schema
26
+ ActiveRecord::ConnectionAdapters::TableDefinition.send :include, OAuth2::Auth::Server::Schema
@@ -1,4 +1,4 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
4
  module SecureToken
@@ -1,7 +1,7 @@
1
- module Oauth2
1
+ module OAuth2
2
2
  module Auth
3
3
  module Server
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -4,7 +4,7 @@ require "oauth2-auth-server/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "oauth2-auth-server"
7
- s.version = Oauth2::Auth::Server::VERSION
7
+ s.version = OAuth2::Auth::Server::VERSION
8
8
  s.authors = ["Renato Neves"]
9
9
  s.email = ["renatosn_rg@yahoo.com.br"]
10
10
  s.homepage = ""
@@ -1,9 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe Oauth2::Auth::Server do
3
+ describe OAuth2::Auth::Server do
4
4
 
5
5
  it 'has a non-null VERSION constant' do
6
- Oauth2::Auth::Server::VERSION.should_not be_nil
6
+ OAuth2::Auth::Server::VERSION.should_not be_nil
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2-auth-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack-oauth2
17
- requirement: &2156427280 !ruby/object:Gem::Requirement
17
+ requirement: &2165002460 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 0.14.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156427280
25
+ version_requirements: *2165002460
26
26
  description: An implementation of OAuth2 Authorization Server
27
27
  email:
28
28
  - renatosn_rg@yahoo.com.br