Sha256: cd710162f5166ff18f3443d3f3a24e7223597d911e6e107e2f9683fbfa011fee

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

begin
  require 'english'
rescue LoadError
end

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'activerecord-time/version'

Gem::Specification.new do |gem|
  gem.name = 'activerecord-time'
  gem.version = Activerecord::Time::VERSION
  gem.authors = ['Uwe Kubosch']
  gem.email = %w[uwe@kubosch.no]
  gem.description = 'A handler for storing TimeOfDay objects in ActiveRecord objects as sql time values.'
  gem.summary = 'A handler for storing TimeOfDay objects in ActiveRecord objects as sql time values.'
  gem.homepage = 'https://github.com/donv/activerecord-time'
  gem.license = 'MIT'
  gem.required_ruby_version = '>= 2.5'

  gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = %w[lib]

  gem.add_runtime_dependency 'activerecord', '~>7.0'

  if defined? JRUBY_VERSION
    gem.add_development_dependency 'activerecord-jdbcpostgresql-adapter'
    gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
  else
    gem.add_development_dependency 'pg'
    gem.add_development_dependency 'sqlite3'
  end
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'rubocop'
  gem.add_development_dependency 'rubocop-performance'
  gem.add_development_dependency 'rubocop-rails'
  gem.add_development_dependency 'rubocop-rake'
  gem.add_development_dependency 'simplecov'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-time-0.20.0 activerecord-time.gemspec