Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (40 sloc) 1.51 KB
# Read the current version
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'composite_primary_keys/version'
Gem::Specification.new do |s|
s.name = 'composite_primary_keys'
s.version = CompositePrimaryKeys::VERSION::STRING
s.platform = Gem::Platform::RUBY
s.authors = ['Charlie Savage']
s.homepage = 'https://github.com/composite-primary-keys/composite_primary_keys'
s.summary = 'Composite key support for ActiveRecord'
s.description = 'Composite key support for ActiveRecord'
s.date = Time.new
s.files = Dir['Rakefile',
'*.txt',
'*.rdoc',
'*.rb',
'lib/**/*',
'local/**/*',
'scripts/**/*',
'tasks/**/*',
'test/**/*']
s.require_path = 'lib'
s.test_files = Dir.glob('test/**')
s.license = 'MIT'
# Dependencies
s.required_ruby_version = '>= 2.2.2'
s.add_dependency('activerecord', '~> 5.2.0.beta2')
s.add_development_dependency('rake')
s.add_development_dependency('mysql2')
s.add_development_dependency('sqlite3')
s.add_development_dependency('pg')
# DB2
#s.add_development_dependency('ibm_db')
# Sql server
#s.add_development_dependency('tiny_tds')
#s.add_development_dependency('activerecord-sqlserver-adapter')
# Oracle
# s.add_development_dependency('ruby-oci8')
# s.add_development_dependency('activerecord-oracle_enhanced-adapter')
end