1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Merge pull request #1060 from deivid-rodriguez/refactor_gemspec

Refactor gemspec
This commit is contained in:
Greg Molnar 2019-08-19 10:16:30 +02:00 committed by GitHub
commit 01cc3238ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 13 deletions

View file

@ -3,7 +3,7 @@ language: ruby
sudo: false
rvm:
- 2.6.0
- 2.6.3
services:
- mysql

11
Gemfile
View file

@ -5,10 +5,11 @@ gem 'rake'
rails = ENV['RAILS'] || '6-0-stable'
gem 'pry'
# Provide timezone information on Windows
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
gem 'faker', '~> 0.9.5'
gem 'sqlite3', ::Gem::Version.new(rails.gsub(/^v/, '')) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
gem 'pg', '~> 1.0'
gem 'pry', '0.10'
gem 'byebug'
case rails
when /\// # A path
@ -33,6 +34,8 @@ end
gem 'mysql2', '~> 0.5.2'
group :test do
gem 'machinist', '~> 1.0.6'
gem 'rspec', '~> 3'
# TestUnit was removed from Ruby 2.2 but still needed for testing Rails 3.x.
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'
gem 'simplecov', :require => false

View file

@ -19,14 +19,6 @@ Gem::Specification.new do |s|
s.add_dependency 'activesupport', '>= 5.0'
s.add_dependency 'i18n'
s.add_dependency 'polyamorous', Ransack::VERSION.to_s
s.add_development_dependency 'rspec', '~> 3'
s.add_development_dependency 'machinist', '~> 1.0.6'
s.add_development_dependency 'faker', '~> 0.9.5'
s.add_development_dependency 'sqlite3', ::Gem::Version.new(ENV['RAILS']&.gsub(/^v/, '')) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
s.add_development_dependency 'pg', '~> 0.21'
s.add_development_dependency 'mysql2', '0.3.20'
s.add_development_dependency 'pry', '0.10'
s.add_development_dependency 'byebug'
s.files = `git ls-files`.split("\n")