Skip to content

Commit 236c8a3

Browse files
authored
Merge pull request #20 from vcsjones/housekeeping
Housekeeping: Update development dependencies and test on Ruby 3.0
2 parents 11414f8 + 0020ff7 commit 236c8a3

File tree

4 files changed

+33
-28
lines changed

4 files changed

+33
-28
lines changed

.github/workflows/ruby.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
ruby: [ '2.6', '2.7', '3.0' ]
912

1013
steps:
1114
- uses: actions/checkout@master
12-
- name: Set up Ruby 2.6
13-
uses: actions/setup-ruby@v1
15+
- name: Set up Ruby ${{ matrix.ruby }}
16+
uses: ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262
1417
with:
15-
version: 2.6.x
18+
ruby-version: ${{ matrix.ruby }}
1619
- name: Build and test
1720
run: |
1821
gem install bundler

Gemfile.lock

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,35 @@ PATH
66
GEM
77
remote: https://rubygems.org/
88
specs:
9-
coderay (1.1.2)
10-
diff-lcs (1.3)
9+
coderay (1.1.3)
10+
diff-lcs (1.4.4)
1111
ed25519 (1.2.4)
12-
method_source (0.8.2)
13-
pry (0.10.4)
14-
coderay (~> 1.1.0)
15-
method_source (~> 0.8.1)
16-
slop (~> 3.4)
17-
rspec (3.5.0)
18-
rspec-core (~> 3.5.0)
19-
rspec-expectations (~> 3.5.0)
20-
rspec-mocks (~> 3.5.0)
21-
rspec-core (3.5.4)
22-
rspec-support (~> 3.5.0)
23-
rspec-expectations (3.5.0)
12+
method_source (1.0.0)
13+
pry (0.14.0)
14+
coderay (~> 1.1)
15+
method_source (~> 1.0)
16+
rspec (3.10.0)
17+
rspec-core (~> 3.10.0)
18+
rspec-expectations (~> 3.10.0)
19+
rspec-mocks (~> 3.10.0)
20+
rspec-core (3.10.1)
21+
rspec-support (~> 3.10.0)
22+
rspec-expectations (3.10.1)
2423
diff-lcs (>= 1.2.0, < 2.0)
25-
rspec-support (~> 3.5.0)
26-
rspec-mocks (3.5.0)
24+
rspec-support (~> 3.10.0)
25+
rspec-mocks (3.10.2)
2726
diff-lcs (>= 1.2.0, < 2.0)
28-
rspec-support (~> 3.5.0)
29-
rspec-support (3.5.0)
30-
slop (3.6.0)
27+
rspec-support (~> 3.10.0)
28+
rspec-support (3.10.2)
3129

3230
PLATFORMS
3331
ruby
3432

3533
DEPENDENCIES
3634
ed25519 (~> 1.2)
37-
pry (~> 0.10)
38-
rspec (~> 3.5)
39-
rspec-mocks (~> 3.5)
35+
pry (~> 0.14)
36+
rspec (~> 3.10)
37+
rspec-mocks (~> 3.10)
4038
ssh_data!
4139

4240
BUNDLED WITH

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
require "ssh_data"
22
require "ed25519"
33

4+
RSpec.configure do |config|
5+
config.color_mode = :off
6+
end
7+
48
REPO_PATH = File.expand_path(File.join(__FILE__, "..", ".."))
59
FIXTURE_PATH = File.expand_path(File.join(REPO_PATH, "spec", "fixtures"))
610

ssh_data.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.files = Dir["./lib/**/*.rb"] + ["./LICENSE.md"]
1414

1515
s.add_development_dependency "ed25519", "~> 1.2"
16-
s.add_development_dependency "pry", "~> 0.10"
17-
s.add_development_dependency "rspec", "~> 3.5"
18-
s.add_development_dependency "rspec-mocks", "~> 3.5"
16+
s.add_development_dependency "pry", "~> 0.14"
17+
s.add_development_dependency "rspec", "~> 3.10"
18+
s.add_development_dependency "rspec-mocks", "~> 3.10"
1919
end

0 commit comments

Comments
 (0)