diff --git a/.travis.yml b/.travis.yml index bac2d45..e62e66d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,12 @@ matrix: - # GitHub Pages rvm: 2.5.3 env: GH_PAGES=true + rvm: 2.5.3 + env: GH_PAGES=true GEMOJI_VERSION=">= 4.0.0.pre0" - rvm: *latest_ruby env: JEKYLL_VERSION=">= 4.0.0.pre.alpha1" + - rvm: *latest_ruby + env: JEKYLL_VERSION=">= 4.0.0.pre.alpha1" GEMOJI_VERSION=">= 4.0.0.pre0" before_install: - gem update --system diff --git a/Gemfile b/Gemfile index 7f6ae53..c84fd8b 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,4 @@ gemspec gem "github-pages" if ENV["GH_PAGES"] gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"] +gem "jekyll", ENV["GEMOJI_VERSION"] if ENV["GEMOJI_VERSION"] diff --git a/jemoji.gemspec b/jemoji.gemspec index bcccec9..2517006 100644 --- a/jemoji.gemspec +++ b/jemoji.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.required_ruby_version = ">= 2.3.0" - s.add_dependency "gemoji", "~> 3.0" + s.add_dependency "gemoji", ">= 3.0", "< 5.0" s.add_dependency "html-pipeline", "~> 2.2" s.add_dependency "jekyll", ">= 3.0", "< 5.0"