-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathrandumb.gemspec
36 lines (31 loc) · 1.29 KB
/
randumb.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "randumb/version"
Gem::Specification.new do |s|
s.name = "randumb"
s.license = 'MIT'
s.version = Randumb::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Zachary Kloepping"]
s.homepage = "https://github.com/spilliton/randumb"
s.summary = "Adds the ability to pull random records from ActiveRecord"
s.files = Dir['lib/**/*.rb']
s.test_files = Dir['test/**/*.rb']
s.add_dependency 'rake'
# need to test different versions of active record
ar_env = ENV['ACTIVE_RECORD_VERSION'] || '>= 3.0.20'
ar_env = ">= 5.0.1" if ar_env == 'latest'
s.add_dependency 'activesupport', ar_env
s.add_dependency 'activerecord', ar_env
# I don't know how to ruby anymore...just locking these to versions that work
# because I'm having a hard time debugging on latest versions
s.add_development_dependency 'sqlite3', '~> 1.3.6'
s.add_development_dependency 'mysql2', '0.4.10'
s.add_development_dependency 'pg', '0.19.0'
s.add_development_dependency 'bigdecimal', '1.4.2'
s.add_development_dependency "minitest"
s.add_development_dependency "shoulda"
s.add_development_dependency "factory_bot"
s.add_development_dependency "faker"
s.add_development_dependency "pry"
end