Sha256: 887aa45afb743702113ade4850243dec2efc2ef0bbf4ea06417a97633b58d3dd

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rescue_from_duplicate/active_record/version"

Gem::Specification.new do |spec|
  spec.name          = "activerecord-rescue_from_duplicate"
  spec.version       = Activerecord::RescueFromDuplicate::VERSION
  spec.authors       = ["Guillaume Malette"]
  spec.email         = ["guillaume@shopify.com"]
  spec.description   = %q{Rescue from MySQL and Sqlite duplicate errors}
  spec.summary       = %q{Rescue from MySQL and Sqlite duplicate errors when trying to insert records that fail uniqueness validation}
  spec.homepage      = "https://github.com/Shopify/activerecord-rescue_from_duplicate"
  spec.license       = "MIT"

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

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

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "simplecov"
  spec.add_development_dependency "sqlite3"
  spec.add_development_dependency "mysql2"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "pg"
  spec.add_development_dependency "pry"

  spec.metadata['allowed_push_host'] = "https://rubygems.org"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-rescue_from_duplicate-0.2.6 activerecord-rescue_from_duplicate.gemspec