From 957d1a7573e1827760aac025f9cd5012d60b2c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 18 Nov 2015 23:32:58 -0200 Subject: [PATCH] Do not allow to install the gem with Ruby 1.9 The support to Ruby 1.9 was removed at 8a6c6ff626ebd292dc50e8e1c074aab49956a42d so we should not allow users to install the gem with that version. Closes 1936. --- CHANGELOG | 1 + activemerchant.gemspec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index d13c855cc4d..cb69238c02f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ * Redsys: Support new SHA256 authentication method [davidsantoso] * Cashnet: Allow custcode override [duff] * Add Rails 5 support [rafaelfranca] +* Set required Ruby version for install to 2 or greater [rafaelfranca] == Version 1.55.0 (November 9, 2015) * CyberSource: send customer IP address when provided [fastjames] diff --git a/activemerchant.gemspec b/activemerchant.gemspec index fa362d68445..5c3221359d4 100644 --- a/activemerchant.gemspec +++ b/activemerchant.gemspec @@ -14,6 +14,8 @@ Gem::Specification.new do |s| s.homepage = 'http://activemerchant.org/' s.rubyforge_project = 'activemerchant' + s.required_ruby_version = '>= 2' + s.files = Dir['CHANGELOG', 'README.md', 'MIT-LICENSE', 'CONTRIBUTORS', 'lib/**/*', 'vendor/**/*'] s.require_path = 'lib'