From 8212ec1e94a5d9b39924a0383ccb52e65cf888b0 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Fri, 4 Jan 2019 16:17:39 +0200 Subject: [PATCH] update sinatra to 2.0.5 --- Gemfile | 3 --- Runfile | 6 ------ madman.gemspec | 6 ++---- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Gemfile b/Gemfile index 4df4432..1684f10 100644 --- a/Gemfile +++ b/Gemfile @@ -1,16 +1,13 @@ source "https://rubygems.org" gem 'byebug' -gem 'github_changelog_generator' gem 'lp' gem 'rack-test' -gem 'rdoc' gem 'rspec' gem 'rspec-html-matchers' gem 'rspec_fixtures' gem 'runfile' gem 'runfile-tasks' gem 'simplecov' -gem 'yard' gemspec diff --git a/Runfile b/Runfile index 1c77c1d..959fd14 100644 --- a/Runfile +++ b/Runfile @@ -9,7 +9,6 @@ version Madman::VERSION RunfileTasks::RubyGems.all 'madman' RunfileTasks::Testing.rspec -RunfileTasks::Docs.rdoc usage_commands = { 'usage' => 'madman', @@ -25,11 +24,6 @@ usage_commands = { 'readme-help' => 'madman readme --help', } -help "Run YARD server" -action :yard do - run "yard server -p3000 -B0.0.0.0 -r" -end - help "Run interactive console" action :console, :c do run "bundle exec bin/console" diff --git a/madman.gemspec b/madman.gemspec index b679970..047aa11 100644 --- a/madman.gemspec +++ b/madman.gemspec @@ -17,14 +17,12 @@ Gem::Specification.new do |s| s.license = 'MIT' s.required_ruby_version = ">= 2.4.0" - # we are locking sinatra to 2.0.3 due to this issue: - # https://github.com/sinatra/sinatra/issues/1476 - s.add_runtime_dependency 'sinatra', '2.0.3' + s.add_runtime_dependency 'sinatra', '~> 2.0.5' s.add_runtime_dependency 'requires', '~> 0.1' s.add_runtime_dependency 'commonmarker', '~> 0.17' s.add_runtime_dependency 'mister_bin', '~> 0.6' s.add_runtime_dependency 'puma', '~> 3.11' - s.add_runtime_dependency 'sinatra-contrib', '~> 2.0' + s.add_runtime_dependency 'sinatra-contrib', '~> 2.0.5' s.add_runtime_dependency 'slim', '~> 4.0' s.add_runtime_dependency 'colsole', '~> 0.5' s.add_runtime_dependency 'string-direction', '~> 1.2'