rescue_unique_constraint 1.5.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f12a5f4ccf1af041c90798ddde6b3f8f8b548cdbc2993b692dcf443d25d09ef
4
- data.tar.gz: 6a7e89ed993cf44c928db9725018ded393744c0b77880228e6f53b40433ed614
3
+ metadata.gz: 782ff6c8bf800f1793425155bf98a2361624732ebeb7f7c480078fae24f2c05e
4
+ data.tar.gz: db2caa0c9d9d98d65602349d21c0ef0bbdc5c2fd90946f20d998b4857acec4e0
5
5
  SHA512:
6
- metadata.gz: b84fb7fba8e0337d08ac29daaa4620ade43460ac004bedb4dba0ef8e492850c226dab1daa094f0ee4d2e3285b1e5ff040ed2c2b43251fcc0ffdf22e1e2dce7d9
7
- data.tar.gz: f3afed3102872303e40808aa92a314e1831dffc3b77cc83506ce7a2c39b54293f9c86026634ca5413b030b250ae1565ce8b259eb74535b5e166582f550b1c6a0
6
+ metadata.gz: 4d4e0b9ab157e7dafa7af5ae699176675d3529b38ee5c326ec53635f712b2647706bafdbebcb97547d28008d5ff44086158d172ce2a77f4c35f0e19b48eac344
7
+ data.tar.gz: 73f152552b207ee9a8ec7fe210666e4153055fcdf433fe8e5dbd5b8aaaab3483b1617d4765016b395b040541fa8b5854e3e9cc594ea7705e78cfaf8f671a970a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 3.1.3
data/Makefile ADDED
@@ -0,0 +1,3 @@
1
+ .PHONY: build
2
+ build: ## build local gem
3
+ gem build rescue_unique_constraint.gemspec
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RescueUniqueConstraint
2
- VERSION = "1.5.0"
4
+ VERSION = "1.10.0"
3
5
  end
@@ -11,16 +11,16 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = %q{Turns ActiveRecord::RecordNotUnique errors into ActiveRecord errors}
12
12
  spec.description = %q{Rescues unique constraint violations and turns them into ActiveRecord errors}
13
13
  spec.homepage = "https://github.com/reverbdotcom/rescue_unique_contraint"
14
- spec.license = "Apache 2.0"
14
+ spec.license = "Apache-2.0"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "activerecord", ">= 3.2", "< 6"
21
+ spec.add_dependency "activerecord", ">= 3.2", "< 8"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.6"
23
+ spec.add_development_dependency "bundler", "~> 2.2"
24
24
  spec.add_development_dependency "rake", "~> 10.5"
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
  spec.add_development_dependency "sqlite3", "~> 1.3"
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rescue_unique_constraint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tam Dang
8
8
  - Yan Pritzker
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-08 00:00:00.000000000 Z
12
+ date: 2024-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '3.2'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6'
23
+ version: '8'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,21 +30,21 @@ dependencies:
30
30
  version: '3.2'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6'
33
+ version: '8'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: bundler
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.6'
40
+ version: '2.2'
41
41
  type: :development
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.6'
47
+ version: '2.2'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rake
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +143,7 @@ files:
143
143
  - ".ruby-version"
144
144
  - Gemfile
145
145
  - LICENSE.txt
146
+ - Makefile
146
147
  - README.md
147
148
  - Rakefile
148
149
  - lib/rescue_unique_constraint.rb
@@ -156,9 +157,9 @@ files:
156
157
  - spec/rescue_unique_constraint_spec.rb
157
158
  homepage: https://github.com/reverbdotcom/rescue_unique_contraint
158
159
  licenses:
159
- - Apache 2.0
160
+ - Apache-2.0
160
161
  metadata: {}
161
- post_install_message:
162
+ post_install_message:
162
163
  rdoc_options: []
163
164
  require_paths:
164
165
  - lib
@@ -173,9 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
174
  - !ruby/object:Gem::Version
174
175
  version: '0'
175
176
  requirements: []
176
- rubyforge_project:
177
- rubygems_version: 2.7.6
178
- signing_key:
177
+ rubygems_version: 3.3.26
178
+ signing_key:
179
179
  specification_version: 4
180
180
  summary: Turns ActiveRecord::RecordNotUnique errors into ActiveRecord errors
181
181
  test_files: