Sha256: 0f34d31ecda7c3cff87978a5c91dc731b6554f03104f0766f811ef3563137b04

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

# frozen_string_literal: true

require_relative "lib/active_record/union_relation/version"

version = ActiveRecord::UnionRelation::VERSION
repository = "https://github.com/kddnewton/active_record-union_relation"

Gem::Specification.new do |spec|
  spec.name = "active_record-union_relation"
  spec.version = version
  spec.authors = ["Kevin Newton"]
  spec.email = ["kddnewton@gmail.com"]

  spec.summary = "Create ActiveRecord relations from UNIONs"
  spec.homepage = repository
  spec.license = "MIT"

  spec.metadata = {
    "bug_tracker_uri" => "#{repository}/issues",
    "changelog_uri" => "#{repository}/blob/v#{version}/CHANGELOG.md",
    "source_code_uri" => repository,
    "rubygems_mfa_required" => "true"
  }

  spec.files =
    Dir.chdir(__dir__) do
      `git ls-files -z`.split("\x0")
        .reject { |f| f.match(%r{^(test|spec|features)/}) }
    end

  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", ">= 6"

  spec.add_development_dependency "minitest"
  spec.add_development_dependency "rails"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "syntax_tree"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record-union_relation-0.2.0 active_record-union_relation.gemspec