Sha256: 5e4911d82aa69c685f42bb8cbdb5c85116c95f8637fe2809288897fadafdf9a2

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

require_relative "lib/active_record/associated_object/version"

Gem::Specification.new do |spec|
  spec.name    = "active_record-associated_object"
  spec.version = ActiveRecord::AssociatedObject::VERSION
  spec.authors = ["Kasper Timm Hansen"]
  spec.email   = ["hey@kaspth.com"]

  spec.summary  = "Associate a Ruby PORO with an Active Record class and have it quack like one."
  spec.homepage = "https://github.com/kaspth/active_record-associated_object"
  spec.license  = "MIT"
  spec.required_ruby_version = ">= 3.0.0"

  spec.metadata["homepage_uri"]    = spec.homepage
  spec.metadata["source_code_uri"] = spec.homepage
  spec.metadata["changelog_uri"]   = "#{spec.homepage}/blob/main/CHANGELOG.md"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").reject do |f|
      (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
    end
  end
  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", ">= 6.1"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_record-associated_object-0.9.1 active_record-associated_object.gemspec
active_record-associated_object-0.9.0 active_record-associated_object.gemspec
active_record-associated_object-0.8.3 active_record-associated_object.gemspec
active_record-associated_object-0.8.2 active_record-associated_object.gemspec
active_record-associated_object-0.7.1 active_record-associated_object.gemspec
active_record-associated_object-0.7.0 active_record-associated_object.gemspec
active_record-associated_object-0.6.0 active_record-associated_object.gemspec