Sha256: 9fd1608bf46f5dc0d7be2d215a6cb9a1b37dcd5e6c34912b096ede13ec531b98
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
# frozen_string_literal: true require_relative "lib/activerecord-ejection_seat/version" Gem::Specification.new do |spec| spec.name = "activerecord-ejection_seat" spec.version = ActiveRecord::EjectionSeat::VERSION spec.authors = ["Max VelDink"] spec.email = ["maxveldink@gmail.com"] spec.summary = "Eject from an ActiveRecord model to a Sorbet T::Struct, or buckle back in." spec.description = "When working with ActiveRecord models, sometimes you want to eject to a simpler, safer object. \ Enter Sorbet's T::Struct. This gem makes it much easier to target a \ Sorbet T::Struct and eject from an ActiveRecord model into the struct. \ It also allows you to buckle in from a simple struct to a new ActiveRecord model instance." spec.homepage = "https://github.com/maxveldink/activerecord-ejection_seat" spec.license = "MIT" spec.required_ruby_version = ">= 3.0.0" spec.metadata["allowed_push_host"] = "https://rubygems.org" spec.metadata["rubygems_mfa_required"] = "true" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage spec.metadata["changelog_uri"] = "https://github.com/maxveldink/activerecord-ejection_seat/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.bindir = "exe" spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.add_runtime_dependency "activerecord", ">= 6.0" spec.add_runtime_dependency "sorbet-runtime" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-ejection_seat-0.3.1 | activerecord-ejection_seat.gemspec |