Gives models that are integrated with the QuickTravel API
Add to your Gemfile:
gem 'quicktravel_client'
In QuickTravel:
mysql quicktravel_test < ../quicktravel_test/bootstrap.sql
TIMECOP=1 WEBMOCK=0 QUICKTRAVEL_CONFIG_DIR=spec/support/config RAILS_ENV=test bundle exec rails s -p8080
In Payment Service: (if needing to generate checkout cassettes):
bundle exec puma -Ilib -p7000
In QuickTravel Client:
rm spec/support/cassettes/ -rf
QT_KEYS=a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2,1b0a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a bundle exec rspec
To publish a new version of this gem the following steps must be taken.
- Update the version in the following files
CHANGELOG.md lib/quick_travel/version.rb
- Create a tag using the format v0.1.0
- Follow build progress in GitHub actions