Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Commit 9fb61c4

Browse files
Drop support for old ruby and ruby rails versions ice-cube-ruby#459
1 parent fb6c657 commit 9fb61c4

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

.travis.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,12 @@ branches:
1010
only:
1111
- master
1212
rvm:
13-
- 1.9.3
14-
- 2.0
15-
- 2.1.10
16-
- 2.2.6
17-
- 2.3.3
18-
- 2.4.0
13+
- 2.3.7
14+
- 2.4.4
15+
- 2.5.1
1916
- ruby-head
2017
env:
21-
- RAILS_VERSION='~> 3.2'
2218
- RAILS_VERSION='~> 4.2'
2319
- RAILS_VERSION='~> 5.0'
24-
matrix:
25-
exclude:
26-
27-
# Rails 5 only runs on ruby 2.3 and up
28-
- rvm: 1.9.3
29-
env: RAILS_VERSION='~> 5.0'
30-
- rvm: 2.0
31-
env: RAILS_VERSION='~> 5.0'
32-
- rvm: 2.1.10
33-
env: RAILS_VERSION='~> 5.0'
34-
- rvm: 2.2.6
35-
env: RAILS_VERSION='~> 5.0'
36-
37-
# Rails 3 no longer runs on ruby 2.4 and up
38-
- rvm: 2.4.0
39-
env: RAILS_VERSION='~> 3.2'
40-
- rvm: ruby-head
41-
env: RAILS_VERSION='~> 3.2'
20+
- RAILS_VERSION='~> 5.1'
21+
- RAILS_VERSION='~> 5.2'

Gemfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
source 'https://rubygems.org'
22
gemspec
33

4-
compatible_rails_versions = [
5-
'>= 3.0.0',
6-
('<5' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2'))
7-
].compact
8-
9-
gem 'activesupport', (ENV['RAILS_VERSION'] || compatible_rails_versions), require: false
4+
gem 'activesupport', (ENV['RAILS_VERSION'] || '>= 4.2'), require: false
105
gem 'i18n', require: false
11-
gem 'tzinfo', require: false # only needed explicitly for RAILS_VERSION=3

ice_cube.gemspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
lib = File.expand_path('../lib', __FILE__)
32
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
43
require 'ice_cube/version'
@@ -15,9 +14,7 @@ Gem::Specification.new do |s|
1514
s.version = IceCube::VERSION
1615
s.platform = Gem::Platform::RUBY
1716
s.files = Dir['lib/**/*.rb', 'config/**/*.yml']
18-
s.test_files = Dir.glob('spec/*.rb')
1917
s.require_paths = ['lib']
20-
s.has_rdoc = true
2118

2219
s.add_development_dependency('rake')
2320
s.add_development_dependency('rspec', '> 3')

0 commit comments

Comments
 (0)