diff --git a/README.md b/README.md index f4d9c02..ded7ba9 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ rake doorkeeper_sequel:generate:application_owner rake doorkeeper_sequel:generate:previous_refresh_token rake doorkeeper_sequel:generate:confidential_applications # for Doorkeeper >= 4.4 rake doorkeeper_sequel:generate:pkce # for Doorkeeper >= 5.x +rake doorkeeper_sequel:generate:polymorphic_resource_owner # for Doorkeeper >= 5.3 ``` ## Tests diff --git a/lib/doorkeeper-sequel/gem_version.rb b/lib/doorkeeper-sequel/gem_version.rb index 10a4c6b..db68604 100644 --- a/lib/doorkeeper-sequel/gem_version.rb +++ b/lib/doorkeeper-sequel/gem_version.rb @@ -7,7 +7,7 @@ def self.gem_version module VERSION MAJOR = 2 - MINOR = 1 + MINOR = 2 TINY = 0 STRING = [MAJOR, MINOR, TINY].compact.join(".") diff --git a/lib/doorkeeper-sequel/tasks/doorkeeper-sequel.rake b/lib/doorkeeper-sequel/tasks/doorkeeper-sequel.rake index 4cbddc9..3b9d899 100644 --- a/lib/doorkeeper-sequel/tasks/doorkeeper-sequel.rake +++ b/lib/doorkeeper-sequel/tasks/doorkeeper-sequel.rake @@ -28,7 +28,7 @@ namespace :doorkeeper_sequel do end desc "Add resource owner type to Access tokens and grants" - task :resource_owner_type do + task :polymorphic_resource_owner do DoorkeeperSequel::PolymorphicResourceOwnerGenerator.start end end