Skip to content

Commit

Permalink
Add apprasials
Browse files Browse the repository at this point in the history
  • Loading branch information
a-maas committed Mar 20, 2024
1 parent 916f6e3 commit 2af0cf9
Show file tree
Hide file tree
Showing 16 changed files with 1,358 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "CI"
on: push
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ["2.5", "2.7", "3.0", "3.1", "3.2"]
gemfile:
- rails_5_2
- rails_6
- rails_6_1
- rails_7
- rails_7_1
exclude:
- ruby: "3.2"
gemfile: "rails_6"
- ruby: "3.2"
gemfile: "rails_5_2"
- ruby: "3.1"
gemfile: "rails_6"
- ruby: "3.1"
gemfile: "rails_5_2"
- ruby: "3.0"
gemfile: "rails_6"
- ruby: "3.0"
gemfile: "rails_5_2"
- ruby: "2.7"
gemfile: "rails_5_2"
- ruby: "2.5"
gemfile: "rails_7_1"
- ruby: "2.5"
gemfile: "rails_7"

runs-on: ubuntu-22.04
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
steps:
- name: Checkout code
uses: actions/checkout@v3
# Add or replace dependency steps here
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
# Add or replace test runners here
- name: Run tests
run: bin/rake test
19 changes: 19 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
appraise "rails-5-2" do
gem "rails", "~> 5.2.8.1"
end

appraise "rails-6" do
gem "rails", "~> 6.0.6.1"
end

appraise "rails-6-1" do
gem "rails", "~> 6.1.7.7"
end

appraise "rails-7" do
gem "rails", "~> 7.0.8.1"
end

appraise "rails-7-1" do
gem "rails", "~> 7.1.3.2"
end
2 changes: 2 additions & 0 deletions gemfiles/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_RETRY: "1"
12 changes: 12 additions & 0 deletions gemfiles/rails_5_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 5.2.8.1"

group :test do
gem "minitest-ci", require: false
gem "simplecov", "< 0.18", require: false
end

gemspec path: "../"
225 changes: 225 additions & 0 deletions gemfiles/rails_5_2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
PATH
remote: ..
specs:
vertex_client (0.10.2)
activesupport
savon (>= 2.11)

GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.8.1)
actionpack (= 5.2.8.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.8.1)
actionpack (= 5.2.8.1)
actionview (= 5.2.8.1)
activejob (= 5.2.8.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.8.1)
actionview (= 5.2.8.1)
activesupport (= 5.2.8.1)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.8.1)
activesupport (= 5.2.8.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.8.1)
activesupport (= 5.2.8.1)
globalid (>= 0.3.6)
activemodel (5.2.8.1)
activesupport (= 5.2.8.1)
activerecord (5.2.8.1)
activemodel (= 5.2.8.1)
activesupport (= 5.2.8.1)
arel (>= 9.0)
activestorage (5.2.8.1)
actionpack (= 5.2.8.1)
activerecord (= 5.2.8.1)
marcel (~> 1.0.0)
activesupport (5.2.8.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
akami (1.3.3)
base64
gyoku (>= 0.4.0)
nokogiri
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
arel (9.0.0)
awesome_print (1.9.2)
base64 (0.2.0)
bigdecimal (3.1.7)
builder (3.2.4)
byebug (11.1.3)
circuitbox (2.0.0)
concurrent-ruby (1.2.3)
crack (1.0.0)
bigdecimal
rexml
crass (1.0.6)
date (3.3.4)
docile (1.4.0)
dotenv (3.1.0)
erubi (1.12.0)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
globalid (1.1.0)
activesupport (>= 5.0)
gyoku (1.4.0)
builder (>= 2.1.2)
rexml (~> 3.0)
hashdiff (1.1.0)
httpi (4.0.1)
base64
mutex_m
nkf
rack (>= 2.0, < 3.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.4)
method_source (1.0.0)
mini_mime (1.1.5)
minitest (5.22.3)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
mocha (2.1.0)
ruby2_keywords (>= 0.0.5)
mutex_m (0.2.0)
net-http (0.4.1)
uri
net-imap (0.4.10)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.4.0.1)
net-protocol
nio4r (2.7.0)
nkf (0.2.0)
nokogiri (1.16.3-arm64-darwin)
racc (~> 1.4)
nori (2.7.0)
bigdecimal
public_suffix (5.0.4)
racc (1.7.3)
rack (2.2.8.1)
rack-test (2.1.0)
rack (>= 1.3)
rails (5.2.8.1)
actioncable (= 5.2.8.1)
actionmailer (= 5.2.8.1)
actionpack (= 5.2.8.1)
actionview (= 5.2.8.1)
activejob (= 5.2.8.1)
activemodel (= 5.2.8.1)
activerecord (= 5.2.8.1)
activestorage (= 5.2.8.1)
activesupport (= 5.2.8.1)
bundler (>= 1.3.0)
railties (= 5.2.8.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (5.2.8.1)
actionpack (= 5.2.8.1)
activesupport (= 5.2.8.1)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (13.1.0)
rexml (3.2.6)
ruby2_keywords (0.0.5)
savon (2.15.0)
akami (~> 1.2)
builder (>= 2.1.2)
gyoku (~> 1.2)
httpi (>= 2.4.5, < 5)
mail (~> 2.5)
nokogiri (>= 1.8.1)
nori (~> 2.4)
wasabi (>= 3.7, < 6)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
thor (1.3.1)
thread_safe (0.3.6)
timeout (0.4.1)
tzinfo (1.2.11)
thread_safe (~> 0.1)
uri (0.13.0)
vcr (6.2.0)
wasabi (5.0.2)
addressable
faraday (~> 2.8)
nokogiri (>= 1.13.9)
webmock (3.23.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)

PLATFORMS
arm64-darwin-23

DEPENDENCIES
appraisal
awesome_print
bundler
byebug
circuitbox
dotenv
minitest (~> 5.0)
minitest-ci
mocha
rails (~> 5.2.8.1)
rake
simplecov (< 0.18)
vcr
vertex_client!
webmock

BUNDLED WITH
2.4.12
12 changes: 12 additions & 0 deletions gemfiles/rails_6.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 6.0.6.1"

group :test do
gem "minitest-ci", require: false
gem "simplecov", "< 0.18", require: false
end

gemspec path: "../"
Loading

0 comments on commit 2af0cf9

Please sign in to comment.