Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.0'
- name: Install dependencies
run: bundle install
- name: Run RuboCop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
ruby_version: ['2.7', '3.0', '3.1', '3.2']
ruby_version: ['3.0', '3.1', '3.2', '3.3', '3.4']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rspec

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
SuggestExtensions: false
NewCops: enable

Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.7
3.0.5
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
### Removals

- Remove `Payrix.test_mode` configuration.
- Remove Ruby version 2.7 from supported list.
- Deprecate Ruby version 3.0, 3.1 (it will be removed in the next major release).

### Additions

- Support per-request `:environment` configuration for all CRUD operations.
- Support Ruby versions 3.3, 3.4.

## 1.0.0 (2023-11-27)

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ This library follows [Semantic Versioning](https://semver.org/).

### Supported Ruby Versions

- 2.7 (deprecated)
- 3.0
- 3.1
- 3.0 (deprecated)
- 3.1 (deprecated)
- 3.2
- 3.3
- 3.4

### Requirements

Expand Down
2 changes: 1 addition & 1 deletion payrix.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.files = Dir['lib/**/*.rb']
spec.require_paths = ['lib']
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = '>= 2.7.7'
spec.required_ruby_version = '>= 3.0.3'

spec.add_runtime_dependency 'faraday', '~> 2.0.1'
spec.add_runtime_dependency 'faraday-follow_redirects'
Expand Down
Loading