diff --git a/.travis.yml b/.travis.yml index ce47e13..9441766 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,12 @@ +dist: bionic language: ruby -sudo: false -rvm: 2.3.3 + +rvm: + - 2.5.7 + - 2.6.6 + cache: [bundler, apt] + git: depth: 1 diff --git a/Gemfile b/Gemfile index 8686ce6..f7c0609 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,5 @@ ruby ENV['CUSTOM_RUBY_VERSION'] if ENV['CUSTOM_RUBY_VERSION'] gemspec group :test do - gem 'github-linguist', '4.2.7' - gem 'coveralls', require: false + gem 'github-linguist', '~> 4.5.0' end diff --git a/Gemfile.lock b/Gemfile.lock index 037c196..2dcebb3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,8 +2,8 @@ PATH remote: . specs: idobata-hooks (2.0.0) - actionpack (~> 5.1.0) - activesupport (~> 5.1.0) + actionpack (>= 5.1.0) + activesupport (>= 5.1.0) commonmarker gemoji haml @@ -39,37 +39,30 @@ GEM public_suffix (>= 2.0.2, < 4.0) backports (3.11.4) builder (3.2.3) - charlock_holmes (0.7.6) + charlock_holmes (0.7.7) coderay (1.1.2) - commonmarker (0.18.1) + commonmarker (0.20.1) ruby-enum (~> 0.5) concurrent-ruby (1.1.3) - coveralls (0.8.22) - json (>= 1.8, < 3) - simplecov (~> 0.16.1) - term-ansicolor (~> 1.3) - thor (~> 0.19.4) - tins (~> 1.6) crack (0.4.3) safe_yaml (~> 1.0.0) crass (1.0.4) diff-lcs (1.3) - docile (1.3.1) - erubi (1.7.1) - escape_utils (1.0.1) - ffi (1.9.25) - gemoji (3.0.0) - github-linguist (4.2.7) + erubi (1.9.0) + escape_utils (1.1.1) + ffi (1.11.1) + gemoji (3.0.1) + github-linguist (4.5.15) charlock_holmes (~> 0.7.3) - escape_utils (~> 1.0.1) + escape_utils (~> 1.1.0) mime-types (>= 1.19) - rugged (~> 0.22.0b4) - haml (5.0.4) + rugged (>= 0.23.0b) + haml (5.1.2) temple (>= 0.8.0) tilt hashdiff (0.3.7) hashie (3.6.0) - html-pipeline (2.9.1) + html-pipeline (2.12.0) activesupport (>= 2) nokogiri (>= 1.4) html-pipeline-rouge_filter (1.0.7) @@ -78,20 +71,19 @@ GEM rouge (>= 2.0.0, < 4) i18n (1.1.1) concurrent-ruby (~> 1.0) - json (2.1.0) - loofah (2.2.3) + loofah (2.3.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) method_source (0.9.2) mime-types (3.2.2) mime-types-data (~> 3.2015) mime-types-data (3.2018.0812) - mini_portile2 (2.3.0) + mini_portile2 (2.4.0) minitest (5.11.3) multi_json (1.13.1) mustermann (1.0.3) - nokogiri (1.8.5) - mini_portile2 (~> 2.3.0) + nokogiri (1.10.4) + mini_portile2 (~> 2.4.0) pry (0.12.2) coderay (~> 1.1.0) method_source (~> 0.9.0) @@ -104,13 +96,13 @@ GEM rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.0.4) - loofah (~> 2.2, >= 2.2.2) + rails-html-sanitizer (1.3.0) + loofah (~> 2.3) rake (12.3.1) rb-fsevent (0.10.3) - rb-inotify (0.9.10) - ffi (>= 0.5.0, < 2) - rouge (3.3.0) + rb-inotify (0.10.0) + ffi (~> 1.0) + rouge (3.11.1) rspec (3.8.0) rspec-core (~> 3.8.0) rspec-expectations (~> 3.8.0) @@ -129,18 +121,13 @@ GEM rspec-support (3.8.0) ruby-enum (0.7.2) i18n - rugged (0.22.2) + rugged (1.0.1) safe_yaml (1.0.4) - sass (3.7.2) + sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - simplecov (0.16.1) - docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) sinatra (2.0.4) mustermann (~> 1.0) rack (~> 2.0) @@ -159,13 +146,10 @@ GEM rack (> 1, < 3) tapp (1.5.1) thor - temple (0.8.0) - term-ansicolor (1.7.0) - tins (~> 1.0) + temple (0.8.2) thor (0.19.4) thread_safe (0.3.6) tilt (2.0.8) - tins (1.20.2) tzinfo (1.2.5) thread_safe (~> 0.1) vcr (4.0.0) @@ -179,8 +163,7 @@ PLATFORMS DEPENDENCIES bundler (~> 1.6) - coveralls - github-linguist (= 4.2.7) + github-linguist (~> 4.5.0) idobata-hooks! pry rack-test @@ -195,4 +178,4 @@ DEPENDENCIES webmock BUNDLED WITH - 1.16.2 + 1.17.3 diff --git a/idobata-hooks.gemspec b/idobata-hooks.gemspec index 034dbe1..be75a52 100644 --- a/idobata-hooks.gemspec +++ b/idobata-hooks.gemspec @@ -17,8 +17,8 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_dependency 'actionpack', '~> 5.1.0' - spec.add_dependency 'activesupport', '~> 5.1.0' + spec.add_dependency 'actionpack', '>= 5.1.0' + spec.add_dependency 'activesupport', '>= 5.1.0' spec.add_dependency 'gemoji' spec.add_dependency 'commonmarker' spec.add_dependency 'haml' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 03f4044..d312faa 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,9 +5,6 @@ require 'tapp' require 'pry' -require 'coveralls' -Coveralls.wear! - require 'idobata/hooks' Dir[Idobata::Hook.root.join('../spec/support/**/*.rb')].each { |f| require f }