Skip to content

Commit

Permalink
Merge pull request #29 from pact-foundation/chore/deps
Browse files Browse the repository at this point in the history
Chore/deps
  • Loading branch information
YOU54F authored Oct 13, 2023
2 parents 77a3634 + bfa672d commit ad1eb60
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 314 deletions.
17 changes: 0 additions & 17 deletions .appveyor.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
ruby_version: ["2.7","3.0","3.1","3.2"]
os: ["ubuntu-latest","windows-latest","macos-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- run: "bundle install"
- run: "bundle exec rake spec"
- run: "bundle exec rake pact:verify:foobar"
if: matrix.os != 'windows-latest'
- run: "ruby.exe -S pact verify --pact-helper ./provider/spec/pact_helper.rb --pact-uri ./consumer/spec/pacts/foo-bar.json"
if: matrix.os == 'windows-latest'
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pact_broker/log
Gemfile.lock
*.sqlite3
/log
/provider/reports
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ if ENV['X_PACT_DEVELOPMENT']
gem "pact-support", path: '../pact-support'
gem "pact-mock_service", path: '../pact-mock_service'
else
gem "pact", "~> 1.12"
gem "pact", "~> 1.63"
end

gem "pact_broker-client"
gem "rake", "~> 12.0"
gem "rspec", "~> 3.6"
gem "faraday", "~> 0.12"
gem "pry-byebug", "~> 3.4"
gem "rake", "~> 12"
gem "rspec", "~> 3"
gem "faraday", "~> 1.0", "< 3.0"
gem "pry-byebug", "~> 3"
97 changes: 0 additions & 97 deletions Gemfile.lock

This file was deleted.

5 changes: 4 additions & 1 deletion pact_broker/Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
source 'https://rubygems.org'

gem 'rake'
gem 'pact_broker', '~>2.0'
gem 'pact_broker', '~>2'
gem 'sqlite3'
gem 'thin'
gem 'pry-byebug'

gem "sucker_punch", git: "https://github.com/pact-foundation/sucker_punch.git",
ref: "fix/rename-is-singleton-class-method-2"
191 changes: 0 additions & 191 deletions pact_broker/Gemfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions pact_broker/config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ require 'pact_broker'
DATABASE_CREDENTIALS = {adapter: "sqlite", database: "pact_broker_database.sqlite3", :encoding => 'utf8'}

app = PactBroker::App.new do | config |
config.log_stream = "stdout"
config.database_connection = Sequel.connect(DATABASE_CREDENTIALS.merge(:logger => config.logger))
end

Expand Down

0 comments on commit ad1eb60

Please sign in to comment.