From 856f77aa1bcbf6c2749e4b4dd935df93d2fb8c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Behrendt?= Date: Wed, 18 Apr 2018 13:17:16 +0200 Subject: [PATCH] Set ruby 2.1 as minimum version --- .travis.yml | 2 +- CHANGELOG.md | 4 ++++ lib/phraseapp-in-context-editor-ruby/version.rb | 2 +- phraseapp-in-context-editor-ruby.gemspec | 9 +-------- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4d3f7c..93bb6af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: ruby rvm: - - "2.0" - "2.1.10" - "2.2.6" - "2.3.3" - "2.4.0" + - "2.5.1" script: bundle exec rspec spec diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cfb89a..0001aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [v1.3.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.0) (2018-04-18) +[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.1...v1.3.0) +- Remove support for Ruby < 2.1 + ## [v1.2.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.1) (2017-03-13) [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.0...v1.2.1) diff --git a/lib/phraseapp-in-context-editor-ruby/version.rb b/lib/phraseapp-in-context-editor-ruby/version.rb index 20b1df0..a61b37d 100644 --- a/lib/phraseapp-in-context-editor-ruby/version.rb +++ b/lib/phraseapp-in-context-editor-ruby/version.rb @@ -1,5 +1,5 @@ module PhraseApp module InContextEditor - VERSION = "1.2.1" + VERSION = "1.3.0" end end diff --git a/phraseapp-in-context-editor-ruby.gemspec b/phraseapp-in-context-editor-ruby.gemspec index 6a58dd0..1010e66 100644 --- a/phraseapp-in-context-editor-ruby.gemspec +++ b/phraseapp-in-context-editor-ruby.gemspec @@ -8,6 +8,7 @@ Gem::Specification.new do |s| s.name = "phraseapp-in-context-editor-ruby" s.version = PhraseApp::InContextEditor::VERSION s.platform = Gem::Platform::RUBY + s.required_ruby_version = '>= 2.1' s.authors = ["Dynport GmbH"] s.email = ["info@phraseapp.com"] s.homepage = "https://phraseapp.com" @@ -32,14 +33,6 @@ Gem::Specification.new do |s| s.add_development_dependency('webmock', '~> 1.21') s.add_development_dependency('vcr', '~> 2.9') s.add_development_dependency('timecop', '~> 0.7') - if RUBY_VERSION < '2.0' - s.add_development_dependency('public_suffix', '< 1.5') - s.add_development_dependency('octokit', '< 4') - end - if RUBY_VERSION < '2.1' - s.add_development_dependency('nokogiri', '< 1.7') - s.add_development_dependency('faraday-http-cache', '< 2') - end if RUBY_VERSION < '2.2' s.add_development_dependency('mime-types', '< 3.0') # for 1.9.3 to work s.add_development_dependency('rails', '~> 4.2')