Skip to content

Commit

Permalink
Rename generator to polymorphic_resource_owner
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Mar 10, 2020
1 parent ec94c09 commit 5f8dd65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/doorkeeper-sequel/gem_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def self.gem_version

module VERSION
MAJOR = 2
MINOR = 1
MINOR = 2
TINY = 0

STRING = [MAJOR, MINOR, TINY].compact.join(".")
Expand Down
2 changes: 1 addition & 1 deletion lib/doorkeeper-sequel/tasks/doorkeeper-sequel.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f8dd65

Please sign in to comment.