Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against multiple rails versions #15

Open
wants to merge 751 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
751 commits
Select commit Hold shift + click to select a range
9316cbf
Upgrade to 4.3.0
kjvarga Nov 14, 2013
f3e1b60
Update README to describe some new features.
kjvarga Dec 10, 2013
4b4680e
Fix list numbers and format in README
Dec 18, 2013
f42e4bb
Merge pull request #135 from deivid-rodriguez/patch-1
kjvarga Dec 18, 2013
2fb334e
Merge branch 'mo-uncompressed_index' of https://github.com/roadtrippe…
kjvarga Jan 3, 2014
03c73bc
Remove deprecated methods and the SitemapNamer class.
kjvarga Jan 3, 2014
fe6c87a
Move the summary output to the location object.
kjvarga Jan 3, 2014
ed07840
Remove SitemapNamer class & all instances and start using SimpleNamer.
kjvarga Jan 4, 2014
36bd61e
Fix the location specs
kjvarga Jan 4, 2014
d2433fa
Fix the FileAdaptor
kjvarga Jan 4, 2014
cc76f09
Fix the LinkSet specs
kjvarga Jan 4, 2014
8f6569b
Remove remaining SitemapNamer instances.
kjvarga Jan 4, 2014
c24b1ea
Remove add_links deprecated method.
kjvarga Jan 4, 2014
944f5f9
Add specs for the FileAdapter
kjvarga Jan 4, 2014
8ebabda
Set compress value on location objects when set
kjvarga Jan 6, 2014
72c01cd
Update lock file for new version
kjvarga Jan 6, 2014
3515d8d
Move bytesize and ellipsis methods to Utilities
kjvarga Jan 7, 2014
5e344b1
Upgrade to 5.0.0.beta1
kjvarga Jan 7, 2014
11915ad
expose fog_path_style configuration
paolochiodi Jan 9, 2014
9e378ca
Add FogAdapter
laurynas Jan 14, 2014
1ae8088
Merge pull request #137 from paolochiodi/master
kjvarga Feb 5, 2014
55c2a1d
Merge branch 'uncompressed-sitemaps'
kjvarga Feb 5, 2014
e64d77f
Support FOG_PATH_STYLE ENV variable in S3Adapter, like all the other …
kjvarga Feb 5, 2014
2fc0b26
Upgrade to 5.0.0
kjvarga Feb 5, 2014
8e0a649
added Capistrano 3.x tasks
hobofan Feb 10, 2014
200f4c6
Merge pull request #141 from hobofan/master
kjvarga Mar 4, 2014
d5f4be6
* Remove yahoo_app_id accessor
kjvarga Mar 4, 2014
c5798e8
Merge branch 'master' of https://github.com/laurynas/sitemap_generato…
kjvarga Mar 4, 2014
94209e4
Update README
kjvarga Mar 4, 2014
4ccc37b
Number helper difference appeared in Ruby 1.9.3
kjvarga Mar 4, 2014
3ee4fc8
Upgrade to 5.0.1
kjvarga Mar 4, 2014
cb6af39
Fixes #147: Set file size limit to the more conservative 10,000,000 b…
kjvarga Apr 2, 2014
d614bef
Upgrade to v5.0.2
kjvarga Apr 2, 2014
237f482
add link to news and video sitemaps
sealocal Apr 17, 2014
a895d46
remove geo sitemaps broken link
sealocal Apr 17, 2014
e107e5c
added live
BenMorganIO May 13, 2014
c7e70da
added requires subscription
BenMorganIO May 13, 2014
ee50c26
typo
BenMorganIO May 13, 2014
93c839d
added live and requires subscription to readme
BenMorganIO May 13, 2014
1940422
Merge pull request #158 from BenMorganIO/master
kjvarga May 14, 2014
3550d6c
Improve video sitemaps README
kjvarga May 15, 2014
02af64c
Upgrade to v5.0.3
kjvarga May 15, 2014
5e85041
Merge pull request #151 from sealocal/master
kjvarga May 15, 2014
7a2ecfc
Don’t include media element by default
kjvarga May 16, 2014
ff995bf
Add license to gemspec, is MIT
bf4 May 30, 2014
bae8b1e
Merge pull request #162 from bf4/add_license_to_gemspec
kjvarga Jun 5, 2014
8837033
Allow any Fog storage options for S3 adapter
Jun 30, 2014
9c0a871
added code to fetch the stage to help determine the correct environme…
EntilZha Jul 12, 2014
3eeb899
Merge pull request #168 from EntilZha/master
kjvarga Jul 30, 2014
4d94b5d
Merge pull request #167 from kcdragon/feature-allow-any-fog-storage-o…
kjvarga Jul 30, 2014
8849dc3
Upgrade to v5.0.5
kjvarga Jul 30, 2014
1cdb877
Update links to sitemaps.org/protocol.html
charlespeach Aug 11, 2014
a90a61b
Use canonical url for www.sitemaps.org
charlespeach Aug 11, 2014
d690976
Merge pull request #174 from charlespeach/bugfix/sitemap.org-links
kjvarga Sep 11, 2014
a64d0bc
Whenever gem link added in README.md :thumbsup:
sagarjunnarkar Oct 13, 2014
f222fcc
Merge pull request #181 from sagarjunnarkar/master
kjvarga Oct 15, 2014
b92a1b9
Update README.md to close code escaping on l666, now the reference-st…
Nov 10, 2014
0adb33b
Merge pull request #183 from pskrz/master
kjvarga Nov 10, 2014
ce67d46
SitemapGenerator::Sitemap#respond_to?
be9 Dec 29, 2014
0e0454b
Use IAM when access key & secret not presented
dlackty Jan 24, 2015
4f210c1
Require 'fog/storage' rather than 'fog'
jstorimer May 6, 2015
e902aec
[ci skip] Fix comment
yui-knk Jul 6, 2015
5d43d39
Change 'hreflang' to optional element
keitaoouchi Jul 14, 2015
2c5d82d
Merge pull request #201 from yui-knk/fix/comment
kjvarga Jul 15, 2015
943c7a0
Merge pull request #196 from jstorimer/just-require-fog-storage
kjvarga Jul 15, 2015
e88ea05
Merge pull request #189 from dlackty/iam-profile
kjvarga Jul 15, 2015
f8e79ed
Merge pull request #185 from Shuttlerock/master
kjvarga Jul 15, 2015
2fd6fd9
Merge pull request #202 from keitaoouchi/fix/hreflang_element_to_opti…
kjvarga Jul 15, 2015
c1a9c20
Add spec for respond_to?
kjvarga Jul 15, 2015
0ac6abc
Upgrade to 5.1.0
kjvarga Jul 15, 2015
0282512
Update verbose instructions
kjvarga Sep 30, 2015
2b3f26d
Remove empty 'adapters' file
damn Oct 3, 2015
5aeb817
Load the rake task instead of requiring them
Nov 12, 2015
31e756b
AWS S3 adapter using the bare aws-sdk gem
lucas-nelson Dec 1, 2015
115a582
Fixes bing ping url
samuelpismel Dec 3, 2015
86b6520
Add link to README.md
brchristian Dec 25, 2015
cf5d1a8
Add links to Rails and Install sections
brchristian Dec 25, 2015
cb3cdd0
Use Sitemap namespace for Capistrano
Jun 12, 2016
e7e73e6
Merge pull request #223 from brchristian/patch-2
kjvarga Aug 10, 2016
26dd8f7
Merge pull request #220 from samuelpismel/master
kjvarga Aug 10, 2016
75ef2c8
Merge pull request #222 from brchristian/patch-1
kjvarga Aug 10, 2016
22d02aa
Merge pull request #219 from lucas-nelson/master
kjvarga Aug 10, 2016
bd26778
Merge pull request #212 from damn/master
kjvarga Aug 10, 2016
ece7897
Update README.md
balexand Aug 22, 2016
7972e21
Merge pull request #251 from balexand/patch-1
kjvarga Sep 23, 2016
bd58dd0
Merge pull request #217 from mintuhouse/patch-1
kjvarga Sep 23, 2016
06e4449
Support string option keys passed to `add`
kjvarga Sep 23, 2016
39b850b
Upgrade to 5.2.0
kjvarga Sep 23, 2016
0372b98
Move changelog into CHANGES.md
kjvarga Feb 6, 2017
6c61ab3
Remove gem post install message - it's been long enough.
kjvarga Feb 8, 2017
95b6018
Implement configurable max_sitemap_links
kjvarga Feb 9, 2017
b0a2348
Default max_sitemap_links to SitemapGenerator::MAX_SITEMAP_LINKS
kjvarga Feb 11, 2017
b0c97c6
Add specs
kjvarga Feb 11, 2017
e1c3cde
Clean up .gitignore
kjvarga Feb 12, 2017
b6d4ac6
Use ruby 1.9.3
kjvarga Feb 12, 2017
742da04
Remove S3Adapter spec because fog-aws gem cannot be installed due to …
kjvarga Feb 12, 2017
223656f
Revert "Remove S3Adapter spec because fog-aws gem cannot be installed…
kjvarga Feb 12, 2017
949bc9c
Define dependencies in gemspec and tell bundler to use the gemspec
kjvarga Feb 12, 2017
febd08a
Move sitemap_namer.rb to simple_namer.rb because it defines SimpleNamer
kjvarga Feb 12, 2017
e9d8237
Fix the S3Adapter spec
kjvarga Feb 12, 2017
bb7d3c9
Resolve spec warnings about raise_error usage
kjvarga Feb 12, 2017
bb06208
Convert specs to RSpec 3.5.4 syntax with Transpec
kjvarga Feb 12, 2017
ea4f2f0
Fix remaining should usage that could not be auto-fixed by transept
kjvarga Feb 12, 2017
66f4ee2
Move the file adaptor spec into spec/adaptors/ dir
kjvarga Feb 13, 2017
4ce258e
Remove mocha and use rspec expectations
kjvarga Feb 13, 2017
bbb1fd7
WIP update for rspec syntax
kjvarga Feb 13, 2017
c1aee6a
More spec fixes & syntax fixes
kjvarga Feb 13, 2017
5d8e55f
All passing!
kjvarga Feb 13, 2017
62cd39f
Convert double quotes to single quotes
kjvarga Feb 13, 2017
d1f16a1
Document new option
kjvarga Feb 13, 2017
269dc5b
Pull #221: Use Rails::VERSION to detect being in Rails. Because when…
kjvarga Feb 13, 2017
d9f51b8
Issue #246: Remove support for Geo sitemaps. Google has discontinued…
kjvarga Feb 13, 2017
8821bdd
Merge pull request #241 from victorngkp/use_sitemap_namespace_for_cap…
kjvarga Feb 13, 2017
8939938
Merge remote-tracking branch 'origin/master' into configurable_max_si…
kjvarga Feb 13, 2017
8233f8e
Remove the Gemfile.lock file so that we use latest versions of depend…
kjvarga Feb 13, 2017
afd5fc4
Describe recent changes
kjvarga Feb 21, 2017
4886628
Merge pull request #262 from kjvarga/configurable_max_sitemaps_links
kjvarga Feb 21, 2017
ac41b3a
Add rake as a dev dependency
kjvarga Feb 21, 2017
ceb9721
Relax the nokogiri requirement to 1.6 from 1.6.8
kjvarga Feb 21, 2017
3377416
Use HTTPS in Gemfile
PanisSupraOmnia Feb 22, 2017
dcaeb56
Merge pull request #263 from ChallahuAkbar/patch-1
kjvarga Feb 22, 2017
4a9e0d8
Release v5.3.1
kjvarga Feb 27, 2017
b487ebf
Update README.md
vishalnarkhede Mar 18, 2017
d60651c
Merge pull request #269 from vishalnarkhede/patch-1
kjvarga Mar 18, 2017
5f7ee6b
AwsSdkAdapter default using credential resolver
takatoshi-maeda Mar 19, 2017
0c813d5
Fix typo...
takatoshi-maeda Mar 30, 2017
ad569b3
Fix up workaround for fog-core 1.2.0
dlackty May 10, 2017
eba32f3
#280: Rename sitemap_index.xml.gz examples to sitemap.xml.gz
kjvarga Jun 5, 2017
efce274
Merge pull request #276 from dlackty/fix-up-load-error
kjvarga Jun 5, 2017
4d8c70f
Comment out debugger gem
kjvarga Jun 6, 2017
d4d7780
Try lock down public_suffix to 1.4.6 which supports Ruby < 2
kjvarga Jun 6, 2017
74bcb18
Lock down nokogiri to the last version to support Ruby < 2
kjvarga Jun 6, 2017
8439ae8
Merge pull request #282 from kjvarga/kvarga-fix-circle-build
kjvarga Jun 6, 2017
92a9934
Enable to set roles to execute rake tasks
ysksn Jul 12, 2017
1b949dd
Merge pull request #285 from ysksn/sitemap_role
kjvarga Jul 26, 2017
37f6ac4
Update README.md
kjvarga Jul 26, 2017
7ed6281
Fix Ruby 2.0.0+ compatibility.
voxik Sep 11, 2017
8086093
Merge pull request #270 from tokubai/auto-switch-aws-sdk-credential
kjvarga Sep 23, 2017
551f6b3
If the Rails application isn't loaded, skip including URL helpers.
kjvarga Sep 23, 2017
9b5ea74
Use Ruby 2.4.1. End support for Ruby < 2.
kjvarga Sep 23, 2017
e1065f0
Rename spec file
kjvarga Sep 23, 2017
1a68996
Simplify AwsSdkAdapter
kjvarga Sep 23, 2017
e3c2cae
Fix warning
kjvarga Sep 23, 2017
56b6229
Add byebug for debugging
kjvarga Sep 23, 2017
8bc9943
Add AwsSdkAdapter spec
kjvarga Sep 23, 2017
1efbfe5
Unpin gemspec gem versions. I should always be testing with the late…
kjvarga Sep 24, 2017
963539b
Updated AwsSdkAdapter specs
kjvarga Sep 24, 2017
e491a35
Merge pull request #291 from voxik/fix-ruby2-compatibility
kjvarga Sep 24, 2017
987af9b
Merge branch 'master' of github.com:kjvarga/sitemap_generator
kjvarga Sep 24, 2017
0686912
Add doc string
kjvarga Sep 24, 2017
04f4885
Test compression for AwsSdkAdpter
kjvarga Sep 24, 2017
da32f60
Require byebug in the test environment
kjvarga Sep 24, 2017
76b2fb1
Don't require external dependencies, leave that up to the user.
kjvarga Sep 25, 2017
01bb522
List changes
kjvarga Sep 25, 2017
48eff49
Increases maximum sitemap file size to 50MB. Closes #277
kjvarga Sep 25, 2017
24f3620
When a group is reusing the current sitemap, always finalize the site…
kjvarga Sep 25, 2017
df1e556
Remove this contrived test which now fails due to recent changes to g…
kjvarga Sep 25, 2017
972bd20
Fix spec for group changes. Current files are written out at the end…
kjvarga Sep 25, 2017
e03a939
Include fog-aws for testing
kjvarga Sep 26, 2017
6cbdbdc
Update table of contents
kjvarga Oct 11, 2017
d29b992
Update license
kjvarga Oct 11, 2017
99d89d2
Update remote host example docs
kjvarga Oct 11, 2017
640a733
Remove 'fog-awe' from the Gemfile because it's in the gemspec
kjvarga Oct 11, 2017
9dee6f5
Upgrade to version 6.0.0
kjvarga Oct 11, 2017
4f8ba4c
Add task to ensure that all files are world readable before building …
kjvarga Oct 11, 2017
a6edcf5
Update README table of contents
kjvarga Oct 11, 2017
e55bc7a
Add explanation about rake tasks autoloading on Rails
tiagoamaro Oct 26, 2017
5b6e915
yaml_as is deprecated in Ruby 2.4, removed in 2.5
mattbrictson Dec 26, 2017
175ea4b
Merge pull request #298 from mattbrictson/replace-yaml_as-with-yaml_tag
kjvarga Jan 13, 2018
0007e3b
Upgrade to v6.0.1
kjvarga Jan 13, 2018
c668c9c
Merge pull request #295 from tiagoamaro/patch-1
kjvarga Jan 13, 2018
8cec764
:warning: `*' interpreted as argument prefix
amatsuda Feb 2, 2018
45a946f
:warning: File.exists? is a deprecated name, use File.exist? instead
amatsuda Feb 2, 2018
71100a7
:warning: instance variable @create_index not initialized
amatsuda Feb 2, 2018
45dfdb9
:warning: instance variable @yield_sitemap not initialized
amatsuda Feb 6, 2018
6b919aa
:warning: instance variable @default_host, @sitemaps_host, @yield_sit…
amatsuda Feb 6, 2018
2698ea2
Prefer composition over inheritance with BigDecimal
amatsuda Feb 6, 2018
2eab9f9
Fix anchor link in Readme
3b7 Apr 18, 2018
0b847f1
Merge pull request #307 from 3b7/readme-update
kjvarga Apr 18, 2018
d6a810a
Fix rails instructions in README
TomK32 Jun 27, 2018
b1f80f3
Merge pull request #310 from TomK32/patch-1
kjvarga Jan 10, 2019
87d2b71
Merge pull request #305 from amatsuda/bigdecimal
kjvarga Jan 10, 2019
5414443
Merge branch 'warnings' of https://github.com/amatsuda/sitemap_generator
kjvarga Jan 10, 2019
aab1c3c
Use Ruby 2.5.1 for development
kjvarga Jan 10, 2019
92c612c
Upgrade to v6.0.2
kjvarga Jan 10, 2019
294cee5
Enabled support for specifiying S3 Endpoints for S3 Compliant Providers
rjhancock Apr 1, 2019
0360f5a
Added Google Storage Adapter
raviy06 May 10, 2019
6286dee
Adding spec for GoogleStorageAdapter
raviy06 May 10, 2019
0d3d9a2
Updating Readme.md with usage of GoogleStorageAdapter
raviy06 May 10, 2019
ecf9aa6
Update README and test
kjvarga Dec 26, 2019
2329ab5
Set version to 6.1.0 and readme tweak
kjvarga Dec 26, 2019
c9865bd
Fix file permissions before building
kjvarga Dec 26, 2019
dd2c1f3
Use headers for supported adapters
kjvarga Dec 26, 2019
67147cd
Revert unintentional change; reference new PR
kjvarga Dec 26, 2019
4c381d5
Merge pull request #340 from kjvarga/kvarga/pull-326-google-cloud-sto…
kjvarga Dec 26, 2019
9c4a4bb
Fix Ruby 2.7 deprecation warning on using Kernel#open for URLs
Envek Feb 28, 2020
c27db06
Upstream updates and README Conflicy fixes
rjhancock May 6, 2020
1412556
Merge branch 'master' into rjhancock/rjh-s3-endpoint
kjvarga May 26, 2020
f2adc68
Add specs for aws_endpoint option
kjvarga May 26, 2020
3352c4a
Added comment about not pinning some dependencies
kjvarga May 26, 2020
e650aa2
Upgrade to v6.1.1
kjvarga May 26, 2020
459e90f
Fix NoMethodError error on Ruby 2.4 and older. Fixes https://github.c…
Envek Jun 2, 2020
67c1c85
Merge pull request #353 from Envek/fix/old-rubies-uri-open
kjvarga Jun 3, 2020
0e8e35e
Upgrade to 6.1.2
kjvarga Jun 3, 2020
28dd22c
Ignore byebug history file
kjvarga Jun 3, 2020
8afbd1b
Update README.md
sean2121 Mar 2, 2021
54243c8
Merge pull request #373 from sean2121/master
kjvarga Mar 2, 2021
ac7feaf
Add CircleCI config for testing multiple rubies
kjvarga Jan 9, 2022
2a5da49
Fix directory name
kjvarga Jan 9, 2022
1c6932f
Use https
kjvarga Jan 9, 2022
0e94df3
Try to specify bundler version
kjvarga Jan 9, 2022
3752500
Try 2.8
kjvarga Jan 9, 2022
74ffd3e
Try 2.7
kjvarga Jan 9, 2022
a0d7eb6
Remove ruby version from the lock file
kjvarga Jan 9, 2022
0d2c192
Include lock file so the build works
kjvarga Jan 9, 2022
e271005
Update dependencies
kjvarga Jan 9, 2022
61a29a7
Add the junit formatter so the orb works
kjvarga Jan 9, 2022
9a9067d
Allow caching and use bundler version from lock files
kjvarga Jan 9, 2022
58153d6
Update lock file
kjvarga Jan 9, 2022
de287d5
Use Ruby 3.1
kjvarga Jan 9, 2022
4b2e466
Fix the error assertion for ruby 3.1
kjvarga Jan 9, 2022
2d4391f
Cleanup config
kjvarga Jan 9, 2022
9331866
Add CircleCI config for testing multiple rubies (#383)
kjvarga Jan 9, 2022
287939a
WIP
kjvarga Jan 9, 2022
1e53b17
Passing tests
kjvarga Jan 9, 2022
dce32c8
Move to integration directory and install appraisal to test multiple …
kjvarga Jan 9, 2022
62d910e
Remove the lock files and ignore them
kjvarga Jan 9, 2022
fa15a9d
Loosen version
kjvarga Jan 9, 2022
ca85549
Remove appraisal and install manually; WIP circle config for resting …
kjvarga Jan 9, 2022
ffd7e29
Install appraisal using gem
kjvarga Jan 9, 2022
c25ab16
Use a 1x1 matrix for now
kjvarga Jan 9, 2022
4eac859
Run appraisal outside of bundle
kjvarga Jan 9, 2022
aeee0bd
Move rails-specific gems to Appraisals; manually require tasks; remov…
kjvarga Jan 9, 2022
9ff94ec
Use same version of ruby for all tests
kjvarga Jan 9, 2022
984ddcb
Use expect syntax
kjvarga Jan 9, 2022
7281b1b
Simplify support file handling and remove unneeded files
kjvarga Jan 9, 2022
80ac239
Add the rspec junit formatter for test results and persist
kjvarga Jan 9, 2022
2e1f0b7
Specify where to output test results to
kjvarga Jan 9, 2022
e483eef
Include ruby 3.1
kjvarga Jan 9, 2022
937685c
Use full matrix of compatible versions
kjvarga Jan 10, 2022
8dbe9fa
Specify compatible ruby versions and use specific nokogiri version fo…
kjvarga Jan 10, 2022
8dcf0ec
Fail if gemspec is missing; remove ruby orb; don't commit gemfiles so…
kjvarga Jan 10, 2022
253434a
Remove appraisal gem and manage gemspecs manually; use specific versi…
kjvarga Jan 10, 2022
4533035
Use 2 jobs when installing; remove appraisal step
kjvarga Jan 10, 2022
a40838e
Install sqlite3 when on Ruby 2.5
kjvarga Jan 10, 2022
ad70e8a
Use snake case
kjvarga Jan 10, 2022
d3d34b6
Avoid bundler deprecation warning
kjvarga Jan 10, 2022
9feebc3
Improve test name
kjvarga Jan 10, 2022
c0aa68e
Merge remote-tracking branch 'origin/master' into kvarga/rails-integr…
kjvarga Jan 10, 2022
f4f3271
Add a CI badge to README
kjvarga Jan 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .autotest

This file was deleted.

88 changes: 88 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
version: 2.1

jobs:
gem-test:
parameters:
ruby-version:
type: string
docker:
# See https://github.com/CircleCI-Public/cimg-ruby
- image: cimg/ruby:<< parameters.ruby-version >>
steps:
- checkout
- run:
name: Install dependencies
command: |
bundle install --path vendor/bundle --jobs=2
- run:
name: Run tests
command: |
bundle exec rspec --profile 10 --format RspecJunitFormatter --out ./test-results/rspec/results.xml --format progress
- store_test_results:
path: test-results

integration-test:
parameters:
ruby-version:
type: string
rails-version:
type: string
docker:
# See https://github.com/CircleCI-Public/cimg-ruby
- image: cimg/ruby:<< parameters.ruby-version >>
working_directory: ~/sitemap_generator/integration
steps:
- checkout:
path: ~/sitemap_generator
- run:
name: Install sqlite3 when on Ruby 2.5
command: |
if [[ "$RUBY_VERSION" =~ 2\.5 ]]; then
sudo apt-get update && sudo apt-get install -y sqlite3 libsqlite3-dev
fi
- run:
name: Install Rails dependencies
environment:
BUNDLE_GEMFILE: "./gemfiles/rails_<< parameters.rails-version >>.gemfile"
command: |
bundle config set --local path 'vendor/bundle'
bundle install --jobs=2
- run:
name: Run integration tests
environment:
BUNDLE_GEMFILE: "./gemfiles/rails_<< parameters.rails-version >>.gemfile"
command: |
bundle exec rspec --profile 10 --format RspecJunitFormatter --out ./test-results/rspec/results.xml --format progress
- store_test_results:
path: test-results

workflows:
test:
jobs:
- gem-test:
# See https://circleci.com/blog/circleci-matrix-jobs/
matrix:
parameters:
ruby-version: ["3.1", "3.0", "2.7", "2.5"]
name: gem-test-ruby-<< matrix.ruby-version >>
- integration-test:
# See https://circleci.com/blog/circleci-matrix-jobs/
# See https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html for Ruby and Rails compatibility
matrix:
parameters:
ruby-version: ["3.1", "3.0", "2.7", "2.5"]
rails-version: ["5_2", "6_0", "6_1", "7_0"]
exclude:
- ruby-version: "2.5"
rails-version: "7_0"
- ruby-version: "2.7"
rails-version: "5_2"
- ruby-version: "3.0"
rails-version: "5_2"
- ruby-version: "3.0"
rails-version: "6_0"
- ruby-version: "3.1"
rails-version: "5_2"
- ruby-version: "3.1"
rails-version: "6_0"
name: integration-test-ruby-<< matrix.ruby-version >>-rails-<< matrix.rails-version >>
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
pkg
.byebug_history
.DS_Store
*.swp
pkg
tmp/**/*
*.bundle
*.orig
coverage
.idea
public
Gemfile.lock
integration/Gemfile.lock
integration/gemfiles/*.lock
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.0
Loading