Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
GrantBirki 9ca75f1b63
match bundler in Dockerfile 2024-05-30 10:30:58 -07:00
GrantBirki d1ed45f4d0
make the Ruby dockerfile version match 2024-05-30 10:28:06 -07:00
GrantBirki d88fdf7eaf
remove unused imports 2024-05-29 13:21:31 -07:00
GrantBirki 4e951bf157
fix root dir for spec tests 2024-05-29 13:14:50 -07:00
GrantBirki 99ecdc2c58
use a modern test script 2024-05-29 12:59:17 -07:00
GrantBirki 7c87f34399
fix broken acceptance tests and pin bundler to a version for stability 2024-03-18 09:39:34 -06:00
GrantBirki 3da705c7be
use our standard 'lib/version.rb' file 2023-08-29 14:08:25 -06:00
Eléonore Carpentier b5c1f18a11 Fix tests 2023-04-03 09:15:37 +02:00
Dan Hoerst 8d63a8de86
Merge branch 'main' into allow-ignoring-expirations 2022-11-09 11:00:04 -05:00
Rick Bradley 6dd13e2eeb
Merge branch 'main' into allow-ignoring-expirations 2022-09-05 12:59:14 -05:00
Chris Gavin f5d650894b
Add a configuration option for ignoring expirations. 2022-09-02 14:22:07 +01:00
Rick Bradley a68a540ef1 Bring back ruby2 Dockerfile as -ruby2 Dockerfile for acceptance matrix 2022-08-09 21:24:19 -05:00
Rick Bradley 3b43218946 Start splitting Dockerfile for acceptance tests based on ruby version 2022-08-09 21:20:37 -05:00
Rick Bradley 9f902bb1fe Rename lib file to appease rubocop 2022-08-09 16:03:55 -05:00
Rick Bradley ba8ea8d3c1 Extract ruby version checks into a lib/ library 2022-08-09 16:01:39 -05:00
Rick Bradley 1070bf3764 Add one more :nocov:, drop debugging output 2022-08-09 14:45:40 -05:00
Rick Bradley 20d384e3ff Use __dir__ to get actual contracts lib path(s) 2022-08-09 14:43:42 -05:00
Rick Bradley b2ae9ddd6f Tweak spec helper require path 2022-08-09 13:00:11 -05:00
Rick Bradley fd51b0f3d1 Use LOAD_PATH instead of require_relative
Seeing that all the contracts library's internal requires are not relative
and then freak out
2022-08-09 12:56:02 -05:00
Rick Bradley 11d0b96197 Include forgotten lib/ in relative contracts require paths 2022-08-09 12:50:40 -05:00
Rick Bradley 79f782c3e1 Use non-Entitlements module version check for contracts require in spec helper 2022-08-09 12:48:36 -05:00
Rick Bradley 4d6daf8cdb Clean up contracts require loose ends 2022-08-09 12:34:13 -05:00
Rick Bradley d57297e929 Use ruby version predicates to support ruby2/ruby3 2022-08-08 16:43:36 -05:00
Rick Bradley b8b6ad541a Merge remote-tracking branch 'origin/main' into ruby3 2022-08-08 16:13:37 -05:00
Rick Bradley ad2ab3af37 Update docker-compose service name 2022-08-08 15:24:45 -05:00
Rick Bradley 7c68ec2209 Rename Dockerfile 2022-08-08 15:11:50 -05:00
Rick Bradley de4862bd5f Build Docker container with renamed gemspec file 2022-08-08 15:10:42 -05:00
Rick Bradley 374a2b7ae2 Adjust docker paths to entitlements-app 2022-08-08 15:02:22 -05:00
Rick Bradley b0f06bb29a Update spec for how this failure now returns from the Contracts gem
I can't pin down exactly where in the contracts.ruby changelog this happened but I believe
this is the correct patch for this version of contracts.ruby. I bopped around in the debugger
for a while and this looks to be the correct test tweak. This won't backport to ruby2 without
a conditional.
2022-08-03 18:27:34 -05:00
Rick Bradley 81c588b762 Provide rspec instance_doubles with correct negative is_a? answer
This comes into play in contracts.ruby where it now sometimes asks:

36b055b805/lib/contracts/method_handler.rb (L138)
``` ruby
  return result unless result.is_a?(ParamContractError)
```

so our instance_double um instances need to return false when asked that question.
2022-08-03 17:40:31 -05:00
Rick Bradley 39f43a83da Add git to Dockerfile for acceptance test use 2022-08-02 17:14:23 -05:00
Rick Bradley 4eff660151 continue telling The Story About Ping 2022-08-02 17:08:44 -05:00
Rick Bradley 991cf1a30e Install ping debian package for acceptance tests 2022-08-02 17:04:53 -05:00
Rick Bradley cb228140ea Install pkg-config in Dockerfile to enable building rugged gem 2022-08-02 16:58:20 -05:00
Rick Bradley 03ada08dd0 Upgrade acceptance testing Dockerfile 2022-08-02 16:33:14 -05:00
Rick Bradley dc830ba6f0 Copy-pasta inline Contracts::Rspec::Mocks
via 0c14875737/lib/contracts/rspec/mocks.rb
license: MIT
2022-08-02 15:07:28 -05:00
Rick Bradley 1c5e420a12 Remove Contracts::Rspec::Mocks module inclusion 2022-08-02 15:03:51 -05:00
Rick Bradley d6ff09b3cb Drop contracts/rspec library require from spec_helper 2022-08-02 14:57:50 -05:00
Dan Hoerst 4b82cddcc7 entitlements-app 2022-06-07 12:20:09 -04:00