-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Fix up approx 20% of the rubocop issues in aruba #654
Changes from 6 commits
eb91715
48bb49c
a057d4e
9359aa5
8942d11
f0be290
bc8fc13
32538a7
48890a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env ruby | ||
|
||
$LOAD_PATH << File.expand_path('../../lib', __FILE__) | ||
$LOAD_PATH << File.expand_path('../lib', __dir__) | ||
require 'cli/app' | ||
|
||
exit 0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ module Core | |
|
||
# Aruba Runtime | ||
def aruba | ||
@_aruba_runtime ||= Runtime.new | ||
@aruba ||= Runtime.new | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This may break things since There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked everywhere that module was included and there was no mention of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this change may be responsible for a lot of the build failures. |
||
end | ||
|
||
# Clean the working directory of aruba | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,9 @@ def method_missing(name, *args) | |
|
||
config[name] | ||
end | ||
|
||
def respond_to_missing?(*) | ||
true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should probably do something like |
||
end | ||
end | ||
end |
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.
👍