has_unique_attribute 0.1.0 → 0.1.1

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: 20a15d8b6e775b27196202f55a3620d7657649d95d3b4e82f817fc6ca56724a1
4
- data.tar.gz: 19a566b7c92567464f326e9495b981f95bc04b99978b9913412ddf4997770545
3
+ metadata.gz: 8ff9786fae36205ed1621cd7801d1a9af216c7aff03f92b528e9ecc89fb1d2bc
4
+ data.tar.gz: 63771b5f779b93e902e30edca63c29a407c3856c3b0fd30973babfb63ba40a19
5
5
  SHA512:
6
- metadata.gz: 48fc6ccdfd69432ecb1b7f4bd09071a697d21f5f07833e9e458f5da4b143e65ca79743b102f7c1af7127dcc9d4ede19c911aa7d2046817ce9022bf1c6d36b0f7
7
- data.tar.gz: 17f07885a4303072c3e5517dded25e601d0ca6b9602339d99e56c5e68e87be6c5fb2cfb32acdcb221d549274434da1d4c1b55370e84acb93f968d1d39a3d2d89
6
+ metadata.gz: b3d79e03b30b90b55f33dd78e8ff16a8a3ac8fb8729482e2607dd09ebdbec22b4ec52647859d2b01ad397ec4e43657b5378832a3aedb0490586f21cdb47de70e
7
+ data.tar.gz: 1965d04f498fdc1d34ece26e6c22258c77f269af7554171fee716f923bb2146b6f6146e56086b0ccda1366b00503d0ad84f11eff0d1309e68f3d06aaf4ff7399
data/.gitignore CHANGED
@@ -9,3 +9,6 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ # ignore gem artifacts
14
+ *.gem
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_unique_attribute (0.1.0)
4
+ has_unique_attribute (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -54,9 +54,9 @@ DEPENDENCIES
54
54
  has_unique_attribute!
55
55
  rake (~> 13.0)
56
56
  rspec (~> 3.0)
57
- rubocop
58
- rubocop-performance
59
- rubocop-rspec
57
+ rubocop (~> 0.88)
58
+ rubocop-performance (~> 1.7)
59
+ rubocop-rspec (~> 1.42)
60
60
 
61
61
  BUNDLED WITH
62
62
  2.0.2
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Mihail-K
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -6,10 +6,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
  require 'has_unique_attribute/version'
7
7
 
8
8
  Gem::Specification.new do |spec|
9
- spec.name = 'has_unique_attribute'
10
- spec.version = HasUniqueAttribute::VERSION
11
- spec.authors = ['Mihail-K']
12
- spec.email = []
9
+ spec.name = 'has_unique_attribute'
10
+ spec.version = HasUniqueAttribute::VERSION
11
+ spec.authors = ['Mihail-K']
12
+ spec.email = []
13
+ spec.licenses = ['MIT']
13
14
 
14
15
  spec.summary = 'Handle unique attributes safely using the database.'
15
16
  spec.description = 'Adds custom handling for database uniqueness constraints to ActiveRecord.'
@@ -31,7 +32,7 @@ Gem::Specification.new do |spec|
31
32
  spec.add_development_dependency 'bundler', '~> 2.0'
32
33
  spec.add_development_dependency 'rake', '~> 13.0'
33
34
  spec.add_development_dependency 'rspec', '~> 3.0'
34
- spec.add_development_dependency 'rubocop'
35
- spec.add_development_dependency 'rubocop-performance'
36
- spec.add_development_dependency 'rubocop-rspec'
35
+ spec.add_development_dependency 'rubocop', '~> 0.88'
36
+ spec.add_development_dependency 'rubocop-performance', '~> 1.7'
37
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.42'
37
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HasUniqueAttribute
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_unique_attribute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mihail-K
@@ -56,44 +56,44 @@ dependencies:
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '0.88'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '0.88'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.7'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.42'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.42'
97
97
  description: Adds custom handling for database uniqueness constraints to ActiveRecord.
98
98
  email: []
99
99
  executables: []
@@ -106,6 +106,7 @@ files:
106
106
  - ".travis.yml"
107
107
  - Gemfile
108
108
  - Gemfile.lock
109
+ - LICENSE.md
109
110
  - README.md
110
111
  - Rakefile
111
112
  - bin/console
@@ -116,7 +117,8 @@ files:
116
117
  - lib/has_unique_attribute.rb
117
118
  - lib/has_unique_attribute/version.rb
118
119
  homepage: https://github.com/Mihail-K/has_unique_attribute
119
- licenses: []
120
+ licenses:
121
+ - MIT
120
122
  metadata:
121
123
  homepage_uri: https://github.com/Mihail-K/has_unique_attribute
122
124
  source_code_uri: https://github.com/Mihail-K/has_unique_attribute