forked from reverbdotcom/rescue-unique-constraint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrescue_unique_constraint.gemspec
30 lines (26 loc) · 1.33 KB
/
rescue_unique_constraint.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rescue_unique_constraint/version'
Gem::Specification.new do |spec|
spec.name = "rescue_unique_constraint"
spec.version = RescueUniqueConstraint::VERSION
spec.authors = ["Tam Dang", "Yan Pritzker"]
spec.email = ["[email protected]","[email protected]"]
spec.summary = %q{Turns ActiveRecord::RecordNotUnique errors into ActiveRecord errors}
spec.description = %q{Rescues unique constraint violations and turns them into ActiveRecord errors}
spec.homepage = "https://github.com/reverbdotcom/rescue_unique_contraint"
spec.license = "Apache 2.0"
spec.files = `git ls-files -z`.split("\x0")
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", ">= 3.2", "< 6"
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake", "~> 10.5"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "sqlite3", "~> 1.3"
spec.add_development_dependency 'pry'
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'gem-release'
end