eighttrack
Version, currently 0.1.12 versions
- 0.1.1latestMay 4, 2021
- 0.1.0not indexedMay 4, 2021
github.com/russ/eighttrack
VCR for Crystal
11 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
eighttrack:
github: russ/eighttrack
version: ~> 0.1.1Then run:
shards installshard.yml
- Crystal
>=0.36.1, < 2.0.0- License
- MIT
- Author
- Russ Smith <russ@bashme.org>
Dependencies
Runtime Dependencies
- habitat~> 0.4.7github: luckyframework/habitat
README
# EightTrack
VCR for Crystal
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
eighttrack:
github: russ/eighttrack
```
## Usage
```crystal
require "eighttrack"
require "http/client"
EightTrack.use_tape("in-a-gadda-da-vita") do
response = HTTP::Client.get("https://ipapi.co/8.8.8.8/json")
end
```
Customize the location of where the tapes are stored. The default is `spec/fixtures/eighttracks`.
```
EightTrack.configure do
settings.tape_library_dir = "/some/path/eightracks"
end
```
## Contributing
1. Fork it ( https://github.com/russ/EightTrack/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [russ](https://github.com/russ) Russ Smith - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- May 4, 2021
- Commit
0287c1b3c146- Crystal
>=0.36.1, < 2.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/russ/eighttrack
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 2