Skip to content

Commit 62874be

Browse files
authoredSep 30, 2020
Allow for Ruby 3.0 (#105)
Update to allow for Ruby 3 - Closes #104 - Update gemspec to allow Ruby 3 - Add docker file for 3.0rc - Update docker-compose to include the new Dockerfile - Bump to 6.2.0
1 parent f1ee66a commit 62874be

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
### Changelog
22

3+
### 6.2.0
4+
5+
- Update to expand compatibility with Ruby 3. This was only a change to the
6+
gemspec, no code changes were necessary.
7+
38
### 6.1.0
49

510
- Fixing URI encoding issues again, breaking out into it's own module

‎Dockerfile-3.0-rc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM ruby:3.0-rc
2+
3+
RUN mkdir -p /usr/src/app
4+
WORKDIR /usr/src/app
5+
6+
COPY Gemfile /usr/src/app/
7+
COPY . /usr/src/app
8+
RUN gem install bundler
9+
RUN bundle install
10+
11+
CMD ["bundle", "exec", "rspec"]
12+

‎docker-compose.yml

+7
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ services:
2828
volumes:
2929
- "./lib:/usr/src/app/lib"
3030
- "./spec:/usr/src/app/spec"
31+
ruby_3_0_rc:
32+
build:
33+
context: .
34+
dockerfile: Dockerfile-3.0-rc
35+
volumes:
36+
- "./lib:/usr/src/app/lib"
37+
- "./spec:/usr/src/app/spec"

‎lib/rotp/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ROTP
2-
VERSION = '6.1.0'.freeze
2+
VERSION = '6.2.0'.freeze
33
end

‎rotp.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
44
s.name = 'rotp'
55
s.version = ROTP::VERSION
66
s.platform = Gem::Platform::RUBY
7-
s.required_ruby_version = '~> 2.3'
7+
s.required_ruby_version = '>= 2.3'
88
s.license = 'MIT'
99
s.authors = ['Mark Percival']
1010
s.email = ['mark@markpercival.us']

0 commit comments

Comments
 (0)
Please sign in to comment.