Skip to content

Commit

Permalink
Update gemoji requirement from ~> 3.0 to >= 3, < 5 & test with both m…
Browse files Browse the repository at this point in the history
…ajor versions (#131)

Merge pull request 131
  • Loading branch information
dependabot[bot] authored Nov 16, 2022
1 parent 663823a commit b251fd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
ci:
if: "!contains(github.event.commits[0].message, '[ci skip]')"
name: 'Ruby ${{ matrix.ruby_version }} ${{ matrix.os }}'
name: 'Ruby ${{ matrix.ruby_version }} ${{ matrix.os }} gemoji ${{ matrix.gemoji_version }}'
runs-on: '${{ matrix.os }}'
strategy:
fail-fast: false
Expand All @@ -27,6 +27,11 @@ jobs:
os:
- ubuntu-latest
- windows-latest
gemoji_version:
- '3.0'
- '4.0'
env:
GEMOJI_VERSION: ${{ matrix.gemoji_version }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ source "https://rubygems.org"
gemspec

gem "github-pages" if ENV["GH_PAGES"]
gem "gemoji", "~> #{ENV["GEMOJI_VERSION"]}" if ENV["GEMOJI_VERSION"]
gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
gem "kramdown-parser-gfm" if ENV["JEKYLL_VERSION"] == "~> 3.9"
2 changes: 1 addition & 1 deletion jemoji.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = ">= 2.4.0"

s.add_dependency "gemoji", "~> 3.0"
s.add_dependency "gemoji", ">= 3", "< 5"
s.add_dependency "html-pipeline", "~> 2.2"
s.add_dependency "jekyll", ">= 3.0", "< 5.0"

Expand Down

0 comments on commit b251fd9

Please sign in to comment.