Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #96 from openjournals/ruby3
Browse files Browse the repository at this point in the history
Update dependencies to get Ruby 3 compatibility
  • Loading branch information
arfon authored Sep 28, 2021
2 parents c5c16ae + 98721f0 commit ca417d1
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 62 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: tests

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.failure-allowed }}
strategy:
matrix:
ruby-version: ['2.4.1', '2.7.4', '3.0.2']
failure-allowed: [false]
steps:
- uses: actions/checkout@v2
- name: Install Pandoc
run: |
curl -L https://github.com/jgm/pandoc/releases/download/2.9.1.1/pandoc-2.9.1.1-1-amd64.deb > pandoc.deb
dpkg -x pandoc.deb .
echo "pandoc downloaded and unpacked"
echo "$PWD/usr/bin" >> $GITHUB_PATH
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run specs
run: |
bundle exec ruby -v
bundle exec rake spec
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

79 changes: 34 additions & 45 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ PATH
remote: .
specs:
whedon (0.1.0)
bibtex-ruby
bibtex-ruby (~> 6.0.0)
dotenv
github-linguist (~> 5.3)
latex-decode
metamatter (~> 0.2.0)
octokit (~> 4.0)
octokit (~> 4.20)
openjournals-nameable
redcarpet (~> 3.3)
rest-client (>= 1.8)
Expand All @@ -20,23 +19,22 @@ GEM
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
algorithmia (0.2.0)
httparty (~> 0.13.1)
json (~> 1.8)
rake (~> 10.4)
bibtex-ruby (5.1.4)
bibtex-ruby (6.0.0)
latex-decode (~> 0.0)
charlock_holmes (0.7.7)
coderay (1.1.3)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crack (0.4.5)
rexml
diff-lcs (1.4.4)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
escape_utils (1.1.1)
faraday (1.0.1)
faraday (1.3.0)
faraday-net_http (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
faraday-net_http (1.0.1)
github-linguist (5.3.3)
charlock_holmes (~> 0.7.5)
escape_utils (~> 1.1.0)
Expand All @@ -46,56 +44,47 @@ GEM
http-accept (1.7.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
httparty (0.13.7)
json (~> 1.8)
multi_xml (>= 0.5.2)
json (1.8.6)
latex-decode (0.3.1)
metamatter (0.2.0)
algorithmia (~> 0.2.0)
httparty (~> 0.13)
octokit (~> 4.0)
thor (~> 0.19)
latex-decode (0.3.2)
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.0512)
mime-types-data (3.2020.1104)
mini_portile2 (2.4.0)
multi_xml (0.6.0)
multipart-post (2.1.1)
netrc (0.11.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
octokit (4.18.0)
octokit (4.20.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
openjournals-nameable (1.1.6)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.5)
public_suffix (4.0.6)
rake (10.5.0)
redcarpet (3.5.0)
redcarpet (3.5.1)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.2)
rspec-support (~> 3.9.3)
rspec-expectations (3.9.2)
rexml (3.2.4)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
rugged (1.0.1)
safe_yaml (1.0.5)
rspec-support (~> 3.10.0)
rspec-support (3.10.2)
ruby2_keywords (0.0.4)
rugged (1.1.0)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
Expand All @@ -105,11 +94,11 @@ GEM
unf_ext
unf_ext (0.0.7.7)
unicode (0.4.4.4)
vcr (4.0.0)
webmock (3.5.1)
vcr (6.0.0)
webmock (3.11.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
hashdiff (>= 0.4.0, < 2.0.0)

PLATFORMS
ruby
Expand All @@ -120,9 +109,9 @@ DEPENDENCIES
pry (~> 0.10)
rake (~> 10.0)
rspec (~> 3.3)
vcr (~> 4.0)
webmock (~> 3.5.1)
vcr (~> 6.0)
webmock (~> 3.11.2)
whedon!

BUNDLED WITH
2.1.4
2.2.7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Whedon requires a local installation of Pandoc 2 and Pandoc-Citeproc as well as

Hopefully...

[![Build Status](https://travis-ci.org/openjournals/whedon.svg?branch=master)](https://travis-ci.org/openjournals/whedon)
[![Build Status](https://github.com/openjournals/whedon/actions/workflows/tests.yml/badge.svg)](https://github.com/openjournals/whedon/actions/workflows/tests.yml)

## Installation

Expand Down
9 changes: 4 additions & 5 deletions whedon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_dependency "bibtex-ruby"
spec.add_dependency "bibtex-ruby", "~> 6.0.0"
spec.add_dependency "dotenv"
spec.add_dependency "latex-decode"
spec.add_dependency "github-linguist", "~> 5.3"
spec.add_dependency "metamatter", "~> 0.2.0"
spec.add_dependency "openjournals-nameable"
spec.add_dependency "octokit", "~> 4.0"
spec.add_dependency "octokit", "~> 4.20"
spec.add_dependency "rest-client", ">= 1.8"
spec.add_dependency "redcarpet", "~> 3.3"
spec.add_dependency "tilt"
Expand All @@ -34,7 +33,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "pry", "~> 0.10"
spec.add_development_dependency "rspec", "~> 3.3"
spec.add_development_dependency "vcr", "~> 4.0"
spec.add_development_dependency "webmock", "~> 3.5.1"
spec.add_development_dependency "vcr", "~> 6.0"
spec.add_development_dependency "webmock", "~> 3.11.2"
spec.add_development_dependency "nokogiri", "= 1.10.8"
end

0 comments on commit ca417d1

Please sign in to comment.