Skip to content

Commit

Permalink
Add support for Ruby 3 (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlduran authored Jan 4, 2021
1 parent 7b1c9ff commit 347e926
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container: ${{matrix.image}}
strategy:
fail-fast: false
matrix:
image:
- ruby:2.5
- ruby:2.6
- ruby:2.7
- 2.6
- 2.7
- 3.0
- jruby
include:
- image: ruby:rc
continue-on-error: true
- head
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
run: gem install -g
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.image }}
- name: Run tests
run: rake
run: |
gem install -g
rake
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ rvm:
- 2.5
- 2.6
- 2.7
- 3.0
- jruby
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 0.11.9 (Next)

### Features
* Add support for Ruby 3.0. \[[#178](https://github.com/kslazarev/numbers_and_words/pull/178)\]
* Your contribution here.

## 0.11.8 (June 6, 2020)
Expand Down
2 changes: 1 addition & 1 deletion lib/numbers_and_words/helper_classes/figures_array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module NumbersAndWords
class FiguresArray < Array
include ArrayExtensions::Helpers
Array.include ArrayExtensions::Helpers

def to_words(options = {})
local_language { Strategies.figures_converter.new(self, options).run }
Expand Down

0 comments on commit 347e926

Please sign in to comment.