Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: add local dev notes and fix example (#233)
## Which problem is this PR solving? - lack of notes on local development - dependabot alert on example app (example dep, not a security problem for users of this library) ## Short description of the changes - Add basic `DEVELOPING.md` for when occasional maintenance is necessary - Replace the `datadog/squid` image in the rails52 example with `ubuntu/squid` because the former has been removed from docker - Add `Gemfile.lock` to the `.gitignore` file - we already intentionally don't check it in, so this just makes it less likely to inadvertently check it in - Update puma in rails52 example to quiet dependabot alert
- Loading branch information
1 parent
1653665
commit 0a0eafe
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,6 @@ | |
.rspec_status | ||
|
||
/examples/**/*.lock | ||
|
||
# intentionally omitting lock files | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Local Development | ||
|
||
## Requirements | ||
|
||
Ruby: <https://www.ruby-lang.org/en/documentation/installation/> | ||
|
||
Rake: | ||
|
||
```shell | ||
gem install rake | ||
``` | ||
|
||
## Install dependencies | ||
|
||
```shell | ||
bundle install | ||
``` | ||
|
||
## Run Tests | ||
|
||
To run all tests: | ||
|
||
```shell | ||
bundle exec rake test | ||
``` | ||
|
||
To run individual tests: | ||
|
||
```shell | ||
bundle exec rake test TEST=spec/honeycomb/trace_spec.rb | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters