-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support thor-1.1.0 #329
Support thor-1.1.0 #329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🙆♀️
lib/itamae/cli.rb
Outdated
@@ -117,7 +117,7 @@ def destroy(target, name) | |||
end | |||
|
|||
private | |||
def options | |||
def self.options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change works with both thor v1.1.0
and thor v1.0.1
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed it works. But the self.options
method is declared under the private
modifier it's not a private method. It's confusing.
Cloud you move this class method up to the private
modifier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I will release it today. |
Fixed the following errors