Skip to content

Commit 59259da

Browse files
authored
Merge pull request #26 from rainforestapp/RF-26051/pp/rubygems
[RF-26051] Fix pushing releases to RubyGems
2 parents c2bf554 + 64be26b commit 59259da

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@ version: 2.1
22

33
jobs:
44
test:
5+
parameters:
6+
ruby:
7+
type: string
58
docker:
6-
- image: cimg/ruby:2.7.4
9+
- image: cimg/ruby:<< parameters.ruby >>
710
auth:
811
username: $DOCKERHUB_USERNAME
912
password: $DOCKERHUB_TOKEN
1013
steps:
1114
- checkout
1215
- run:
1316
name: Install Ruby gems
14-
command: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
17+
command: |
18+
bundle config set --local path vendor/bundle
19+
bundle check || bundle install --jobs=4 --retry=3
1520
- run:
1621
name: Set up test output directory
1722
command: sudo install -o circleci -d ~/rspec
@@ -51,6 +56,18 @@ workflows:
5156
test_and_deploy:
5257
jobs:
5358
- test:
59+
matrix:
60+
alias: old-ruby
61+
parameters:
62+
ruby: ["2.7", "3.0"]
63+
filters:
64+
tags:
65+
only:
66+
- /^v.*/
67+
context:
68+
- DockerHub
69+
- test:
70+
ruby: "3.1"
5471
filters:
5572
tags:
5673
only:
@@ -69,3 +86,4 @@ workflows:
6986
- /^v.*/
7087
context:
7188
- DockerHub
89+
- RubyGems

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/http/exceptions/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Http
22
module Exceptions
3-
VERSION = '0.1.5'.freeze
3+
VERSION = '0.1.6'.freeze
44
end
55
end

0 commit comments

Comments
 (0)