-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update Ruby examples to latest versions #36
Conversation
set_http_auth | ||
end | ||
|
||
def set_http_auth |
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.
These tests weren't working because they weren't setting authentication credentials. This fixes them to work with basic auth.
@@ -0,0 +1 @@ | |||
export DD_API_KEY=<Your Datadog API key here> |
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.
Added .envrc
to allow users who use Direnv to setup their API key, without needing to modify code that's checked into Git.
|
||
# queues | ||
gem 'delayed_job_active_record' | ||
gem 'daemons' | ||
|
||
# testing | ||
gem 'rails-controller-testing' |
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.
These gems were extracted from Rails 5 and need to be added.
get '/' | ||
end | ||
end | ||
# Currently broken in 0.0.7 of rails-perftest. |
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.
These tests don't work anymore, because rails-perftest
has a bug in it that hasn't been fixed. We can enable this again whenever they get around to fixing it.
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.
Thank you very much!
6de2b58
to
d5f9f49
Compare
d5f9f49
to
308137e
Compare
Ready for review now. |
Our Ruby examples are out of date, showing Rails 3 apps. Let's update them to the latest Rails and
dd-trace-rb
version.