digest-crc
A Cyclic Redundancy Check (CRC) library for Ruby.
File Explorer
Download Latest Version (.zip)- integration.yml
- ruby.yml
- ruby.h
- crc12_3gpp.c
- crc12_3gpp.h
- crc12_3gpp_ext.c
- extconf.rb
- crc15.c
- crc15.h
- crc15_ext.c
- extconf.rb
- crc16.c
- crc16.h
- crc16_ext.c
- extconf.rb
- crc16_ccitt.c
- crc16_ccitt.h
- crc16_ccitt_ext.c
- extconf.rb
- crc16_dnp.c
- crc16_dnp.h
- crc16_dnp_ext.c
- extconf.rb
- crc16_genibus.c
- crc16_genibus.h
- crc16_genibus_ext.c
- extconf.rb
- crc16_kermit.c
- crc16_kermit.h
- crc16_kermit_ext.c
- extconf.rb
- crc16_modbus.c
- crc16_modbus.h
- crc16_modbus_ext.c
- extconf.rb
- crc16_usb.c
- crc16_usb.h
- crc16_usb_ext.c
- extconf.rb
- crc16_x_25.c
- crc16_x_25.h
- crc16_x_25_ext.c
- extconf.rb
- crc16_xmodem.c
- crc16_xmodem.h
- crc16_xmodem_ext.c
- extconf.rb
- crc16_zmodem.c
- crc16_zmodem.h
- crc16_zmodem_ext.c
- extconf.rb
- crc24.c
- crc24.h
- crc24_ext.c
- extconf.rb
- crc32.c
- crc32.h
- crc32_ext.c
- extconf.rb
- crc32_bzip2.c
- crc32_bzip2.h
- crc32_bzip2_ext.c
- extconf.rb
- crc32_jam.c
- crc32_jam.h
- crc32_jam_ext.c
- extconf.rb
- crc32_mpeg.c
- crc32_mpeg.h
- crc32_mpeg_ext.c
- extconf.rb
- crc32_posix.c
- crc32_posix.h
- crc32_posix_ext.c
- extconf.rb
- crc32_xfer.c
- crc32_xfer.h
- crc32_xfer_ext.c
- extconf.rb
- crc32c.c
- crc32c.h
- crc32c_ext.c
- extconf.rb
- crc5.c
- crc5.h
- crc5_ext.c
- extconf.rb
- crc64.c
- crc64.h
- crc64_ext.c
- extconf.rb
- crc64_jones.c
- crc64_jones.h
- crc64_jones_ext.c
- extconf.rb
- crc64_nvme.c
- crc64_nvme.h
- crc64_nvme_ext.c
- extconf.rb
- crc64_xz.c
- crc64_xz.h
- crc64_xz_ext.c
- extconf.rb
- crc8.c
- crc8.h
- crc8_ext.c
- extconf.rb
- crc8_1wire.c
- crc8_1wire.h
- crc8_1wire_ext.c
- extconf.rb
- Rakefile
- crc.rb
- crc1.rb
- crc15.rb
- crc16.rb
- crc16_ccitt.rb
- crc16_dnp.rb
- crc16_genibus.rb
- crc16_kermit.rb
- crc16_modbus.rb
- crc16_qt.rb
- crc16_usb.rb
- crc16_x_25.rb
- crc16_xmodem.rb
- crc16_zmodem.rb
- crc24.rb
- crc32.rb
- crc32_bzip2.rb
- crc32_jam.rb
- crc32_mpeg.rb
- crc32_posix.rb
- crc32_xfer.rb
- crc32c.rb
- crc5.rb
- crc64.rb
- crc64_jones.rb
- crc64_nvme.rb
- crc64_xz.rb
- crc8.rb
- crc8_1wire.rb
- Dockerfile.base
- Dockerfile.with-gcc
- Dockerfile.with-gcc-and-make
- install_spec.rb
- crc15_spec.rb
- crc16_ccitt_spec.rb
- crc16_genibus_spec.rb
- crc16_kermit_spec.rb
- crc16_modbus_spec.rb
- crc16_qt_spec.rb
- crc16_spec.rb
- crc16_usb_spec.rb
- crc16_x_25_spec.rb
- crc16_xmodem_spec.rb
- crc16_zmodem_spec.rb
- crc1_spec.rb
- crc24_spec.rb
- crc32_bzip2_spec.rb
- crc32_jam_spec.rb
- crc32_mpeg_spec.rb
- crc32_posix_spec.rb
- crc32_spec.rb
- crc32_xfer_spec.rb
- crc32c_spec.rb
- crc5_spec.rb
- crc64_jones_spec.rb
- crc64_nvme_spec.rb
- crc64_spec.rb
- crc64_xz_spec.rb
- crc8_1wire_spec.rb
- crc8_spec.rb
- crc_examples.rb
- crc_spec.rb
- spec_helper.rb
- .gitignore
- .rspec
- .yardopts
- benchmarks.rb
- ChangeLog.md
- digest-crc.gemspec
- Gemfile
- gemspec.yml
- LICENSE.txt
- Rakefile
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/postmodern/digest-crc
Downloads the entire project code from GitHub to your computer.
cd digest-crc
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Ruby Ruby is required to use gem.
gem install digest-crc
Installs the package published on RubyGems directly.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Docker
EasyPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f spec/integration/docker/Dockerfile.base -t digest-crc .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 digest-crc
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
4. Ruby
EasyPrerequisites
$ bundle exec rake clean
Type this command into your terminal and run it.
$ bundle exec ./benchmarks.rb
Type this command into your terminal and run it.
$ bundle exec rake build:c_exts
Type this command into your terminal and run it.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
