From 1f519dd45a8a9d9f84864595253dba97562324ba Mon Sep 17 00:00:00 2001 From: laserlemon Date: Mon, 11 Oct 2010 22:14:36 -0400 Subject: [PATCH] Add the SimpleOAuth::Version module. --- lib/simple_oauth.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/simple_oauth.rb b/lib/simple_oauth.rb index d135e38..b37ef92 100644 --- a/lib/simple_oauth.rb +++ b/lib/simple_oauth.rb @@ -4,6 +4,13 @@ require 'openssl' require 'uri' module SimpleOAuth + module Version + MAJOR = 0 + MINOR = 1 + PATCH = 0 + STRING = [MAJOR, MINOR, PATCH].join('.') + end + class Header ATTRIBUTE_KEYS = [:consumer_key, :nonce, :signature, :signature_method, :timestamp, :token, :version]