Permalink
Browse files

Updating version

  • Loading branch information...
1 parent d3e92b0 commit a17f7c7f04d5b125a6c5bca0c9e2e9f08c18663d John Allison committed Aug 2, 2009
Showing with 15 additions and 11 deletions.
  1. +5 −1 CHANGELOG.rdoc
  2. +10 −10 lib/authlogic_oauth/version.rb
View
@@ -1,3 +1,7 @@
+== 1.0.8 release 2009-8-2
+
+* Fixing unauthorized errors when you before_filter :require_no_user on the UserController#create action.
+
== 1.0.7 release 2009-7-20
* Fixing a OAuth unauthorized error when updating a user object with new oauth token/secret via the 'Register with OAuth' helper.
@@ -15,7 +19,7 @@
* Using oauth's callback_url parameter to control where the oauth server returns the user to the application.
The callback_url parameter was temporarily disabled on major oauth sites due to security concerns, but has been resolved.
-
+
* Removed the need to add specific oauth routes and an oauth_controller (YAY!). This makes using the plugin much easier.
== 1.0.1 released 2009-6-4
@@ -4,45 +4,45 @@ module AuthlogicOauth
# +tiny+ (or +patch+) number.
class Version
include Comparable
-
+
# A convenience method for instantiating a new Version instance with the
# given +major+, +minor+, and +tiny+ components.
def self.[](major, minor, tiny)
new(major, minor, tiny)
end
-
+
attr_reader :major, :minor, :tiny
-
+
# Create a new Version object with the given components.
def initialize(major, minor, tiny)
@major, @minor, @tiny = major, minor, tiny
end
-
+
# Compare this version to the given +version+ object.
def <=>(version)
to_i <=> version.to_i
end
-
+
# Converts this version object to a string, where each of the three
# version components are joined by the '.' character. E.g., 2.0.0.
def to_s
@to_s ||= [@major, @minor, @tiny].join(".")
end
-
+
# Converts this version to a canonical integer that may be compared
# against other version objects.
def to_i
@to_i ||= @major * 1_000_000 + @minor * 1_000 + @tiny
end
-
+
def to_a
[@major, @minor, @tiny]
end
-
+
MAJOR = 1
MINOR = 0
- TINY = 7
-
+ TINY = 8
+
# The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)
# The current version as a String

0 comments on commit a17f7c7

Please sign in to comment.