Skip to content

Commit

Permalink
chore(deps): Fix CI; update dependencies; bump version to 2.0 (#9)
Browse files Browse the repository at this point in the history
* chore(deps): Update dependencies

* chore(ci): Use GitHub Actions for tests; remove Rails <5 support

* Remove Travis badge

* Fix branch name

* Drop Rails 5; add Rails 7

* Update RSpec config

* Bump version
  • Loading branch information
paulfri authored Jan 19, 2024
1 parent 69bd471 commit 666a1ce
Show file tree
Hide file tree
Showing 17 changed files with 435 additions and 437 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: bundle install
- run: bundle exec appraisal install
- run: bundle exec appraisal rake
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.7
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

15 changes: 4 additions & 11 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
appraise "rails-5" do
gem "rails", "~> 5"
appraise "rails-7" do
gem "rails", "~> 7"
end

appraise "rails-4" do
gem "rails", "~> 4"
end

appraise "rails-2.3" do
gem "rails", "~> 2.3"
gem 'rake', '< 11'
gem 'rspec', '~> 1.3.1'
gem 'rspec-rails', '~> 1.3.2'
appraise "rails-6" do
gem "rails", "~> 6"
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Big Cartel Currency Locales [![Build Status](https://travis-ci.org/bigcartel/bigcartel-currency-locales.png?branch=master)](https://travis-ci.org/bigcartel/bigcartel-currency-locales) [![Gem Version](https://badge.fury.io/rb/bigcartel-currency-locales.png)](http://badge.fury.io/rb/bigcartel-currency-locales)
# Big Cartel Currency Locales

Loads locale data for all of Big Cartel's supported currencies so that we can
format the currency amounts with the I18n gem. Used internally by [Big
Expand Down
4 changes: 2 additions & 2 deletions bigcartel-currency-locales.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Gem::Specification.new do |s|
s.require_path = 'lib'

s.add_development_dependency "appraisal"
s.add_development_dependency "rails", "= 3.2.9"
s.add_development_dependency "rspec-rails", ">= 2.0"
s.add_development_dependency "rails", "= 6.0.6.1"
s.add_development_dependency "rspec-rails", ">= 3.0"
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"
9 changes: 0 additions & 9 deletions gemfiles/rails_2.3.gemfile

This file was deleted.

109 changes: 0 additions & 109 deletions gemfiles/rails_2.3.gemfile.lock

This file was deleted.

134 changes: 0 additions & 134 deletions gemfiles/rails_4.gemfile.lock

This file was deleted.

Loading

0 comments on commit 666a1ce

Please sign in to comment.