Skip to content

Commit

Permalink
Merge pull request #48 from barhot/patch-3
Browse files Browse the repository at this point in the history
Prevent white-spaces within VERSION constant
  • Loading branch information
nov committed Apr 2, 2015
2 parents 0532ad6 + 66b7518 commit 91c065e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rack/oauth2.rb
Expand Up @@ -11,7 +11,7 @@ module Rack
module OAuth2
VERSION = ::File.read(
::File.join(::File.dirname(__FILE__), '../../VERSION')
)
).strip

def self.logger
@@logger
Expand Down Expand Up @@ -65,4 +65,4 @@ def self.reset_http_config!
require 'rack/oauth2/server'
require 'rack/oauth2/client'
require 'rack/oauth2/access_token'
require 'rack/oauth2/debugger'
require 'rack/oauth2/debugger'

0 comments on commit 91c065e

Please sign in to comment.