浏览代码

Relax ruby version requirement to 2.0

Jean Boussier 8 年之前
父节点
当前提交
d09dbde108
共有 8 个文件被更改,包括 11 次插入1 次删除
  1. 4 0
      .travis.yml
  2. 1 0
      Gemfile
  3. 1 0
      Gemfile_ar30
  4. 1 0
      Gemfile_ar31
  5. 1 0
      Gemfile_ar32
  6. 1 0
      Gemfile_ar40
  7. 1 0
      Gemfile_ar_master
  8. 1 1
      shopify_api.gemspec

+ 4 - 0
.travis.yml

@@ -2,6 +2,7 @@ language: ruby
 sudo: false
 
 rvm:
+  - '2.0'
   - 2.3.1
   - 2.4.0-preview1
 
@@ -14,6 +15,9 @@ gemfile:
   - Gemfile_ar_master
 
 matrix:
+  exclude:
+    - rvm: '2.0'
+      gemfile: Gemfile_ar_master
   fast_finish: true
   allow_failures:
     - rvm: 2.4.0-preview1

+ 1 - 0
Gemfile

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem "activeresource", "~> 4.1"
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 0
Gemfile_ar30

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem "activeresource", "~> 3.0.0"
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 0
Gemfile_ar31

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem "activeresource", "~> 3.1.0"
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 0
Gemfile_ar32

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem "activeresource", "~> 3.2.0"
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 0
Gemfile_ar40

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem "activeresource", "4.0.0"
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 0
Gemfile_ar_master

@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gemspec
 
 gem 'activeresource', git: 'git://github.com/rails/activeresource'
+gem "rack", "< 2" if RUBY_VERSION < "2.2"

+ 1 - 1
shopify_api.gemspec

@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
   s.summary = %q{ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services}
   s.license = "MIT"
 
-  s.required_ruby_version = ">= 2.3"
+  s.required_ruby_version = ">= 2.0"
 
   s.add_runtime_dependency("activeresource", ">= 3.0.0")
   s.add_runtime_dependency("rack")