Skip to content

Commit

Permalink
Merge pull request #163 from sealink/restore-active-support-3-compati…
Browse files Browse the repository at this point in the history
…bility

Restore active support 3 compatibility
  • Loading branch information
bokmann committed Jun 7, 2017
2 parents 4685c81 + b6b512c commit 238bf61
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -7,3 +7,11 @@ rvm:
#- jruby
before_install:
- gem update bundler
gemfile:
- gemfiles/active_support_3.gemfile
- gemfiles/active_support_4.gemfile
- gemfiles/active_support_5.gemfile
matrix:
exclude:
- rvm: 2.4.0
gemfile: gemfiles/active_support_3.gemfile
2 changes: 1 addition & 1 deletion business_time.gemspec
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|

s.files = `git ls-files -- {lib,rails_generators,LICENSE,README.rdoc}`.split("\n")

s.add_dependency('activesupport','>= 4.2.8')
s.add_dependency('activesupport','>= 3.2.0')
s.add_dependency("tzinfo")

s.add_development_dependency "rake"
Expand Down
6 changes: 6 additions & 0 deletions gemfiles/active_support_3.gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'
gemspec :path => '../'

group :development, :test do
gem 'activesupport', '~> 3.0'
end
6 changes: 6 additions & 0 deletions gemfiles/active_support_4.gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'
gemspec :path => '../'

group :development, :test do
gem 'activesupport', '~> 4.0'
end
6 changes: 6 additions & 0 deletions gemfiles/active_support_5.gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'
gemspec :path => '../'

group :development, :test do
gem 'activesupport', '~> 5.0'
end

0 comments on commit 238bf61

Please sign in to comment.