Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop ruby 2.1 #12

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: ruby

rvm:
- 2.1
- 2.2
- 2.3
- 2.2.6
- 2.3.3
- 2.4.0

install:
- "gem install bundler"
Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
source 'https://rubygems.org'

ruby_version = RUBY_VERSION
paperclip_version = ENV['PAPERCLIP_VERSION']

gem "paperclip", "~> #{paperclip_version}" if paperclip_version

gem "activesupport", "< 5.0.0" if ruby_version =~ /^2\.1\./

gemspec
14 changes: 8 additions & 6 deletions paperclip-deflater.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ Gem::Specification.new do |gem|
gem.summary = "Deflate Processor for Paperclip"
gem.description = "Deflate Processor for Paperclip"
gem.license = "MIT"
gem.required_ruby_version = '~> 2.1'

gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.require_paths = ['lib']
gem.require_paths = ["lib"]

gem.add_dependency "paperclip", ">= 3.4"
gem.required_ruby_version = [">= 2.1", "< 2.5"]

gem.add_development_dependency "rake"
gem.add_development_dependency "rspec", ">= 3.0"
gem.add_development_dependency "coveralls"
gem.add_runtime_dependency "paperclip", ">= 3.4", "< 6.0"

gem.add_development_dependency "rake", ">= 10.0", "< 13"
gem.add_development_dependency "rspec", ">= 3.0", "< 4"
gem.add_development_dependency "simplecov", "~> 0.12"
gem.add_development_dependency "coveralls", "~> 0.8"
end