Skip to content

Commit

Permalink
Ruby 3.1 support (#122)
Browse files Browse the repository at this point in the history
* Update supported ruby version

* Update bundler

* Fix typo in README
  • Loading branch information
Terreii committed May 16, 2022
1 parent 62f20fd commit a1e6840
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.1.2
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ rvm:
- 2.6.6
- 2.7.2
- 3.0.0
- 3.1.2
before_install:
- gem update --system
- gem update bundler
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## Getting Started

Before installing and using microformats-ruby, you'll want to have Ruby 2.4.10 (or newer) installed. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).
Before installing and using microformats-ruby, you'll want to have Ruby 2.4.10 (or newer) installed. It's recommended that you use a Ruby version management tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).

microformats-ruby is developed using Ruby 2.7.1 and is additionally tested against versions 2.4.10, 2.5.8, and 2.6.6 using [Travis CI](https://travis-ci.org/microformats/microformats-ruby).

Expand Down
4 changes: 2 additions & 2 deletions microformats.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'microformats/version'

Gem::Specification.new do |spec|
spec.required_ruby_version = ['>= 2.4', '< 3.1']
spec.required_ruby_version = ['>= 2.4', '< 3.2']

spec.name = 'microformats'
spec.version = Microformats::VERSION
Expand All @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|

spec.post_install_message = 'Prior to version 4.0.0, the microformats gem was named "microformats2."'

spec.add_development_dependency 'bundler', '>= 1.16.2', '< 2.3'
spec.add_development_dependency 'bundler', '>= 1.16.2', '< 2.4'
spec.add_development_dependency 'guard-rspec', '~> 4.7'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rb-fsevent', '~> 0.10.3'
Expand Down

0 comments on commit a1e6840

Please sign in to comment.