shoulda-matchers-uuid 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/shoulda/matchers/uuid.rb +1 -1
- data/lib/shoulda/matchers/uuid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f484d979ced984105f2b6a125e4df5f8496cd011c921063eb05cc26fa02b49ca
|
4
|
+
data.tar.gz: a38a52a52f254e62b491ff41ea09c30c34f27da2fce301256143c9bb5b60b4d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5da11466224c0f1488f8bd982b6045b97c80d6109504244bf0412c18f0cc76d18838dfa0ad4f9be4394584d8027c86ffa2c1929fa49c2e66d2b31e33387e370
|
7
|
+
data.tar.gz: 0a0f0ae1a48160371c35260ce50f7986d2dad3cdc993a610970794bd3e4f2f3d90e3448f8740ede95abde60fc9b1827538d22cc3c1d1554d12983040b0a0d88e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
## 0.1.3 11/11/2020
|
5
|
+
* Adds test for quality control on validations of polymorphic uniqueness
|
6
|
+
* Fixes bug preventing ability to validate polymorphic uniqueness
|
7
|
+
|
4
8
|
## 0.1.2 02/25/2020
|
5
9
|
* Updates CircleCi config to release to Rubygems
|
6
10
|
* Cleans gemspec/readme to be open-source compatable
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shoulda-matchers-uuid (0.1.
|
4
|
+
shoulda-matchers-uuid (0.1.3)
|
5
5
|
shoulda-matchers
|
6
6
|
|
7
7
|
GEM
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
ruby-progressbar (1.10.1)
|
69
69
|
sdoc (1.0.0)
|
70
70
|
rdoc (>= 5.0)
|
71
|
-
shoulda-matchers (4.
|
71
|
+
shoulda-matchers (4.4.1)
|
72
72
|
activesupport (>= 4.2.0)
|
73
73
|
thread_safe (0.3.6)
|
74
74
|
tzinfo (1.2.6)
|
@@ -15,7 +15,7 @@ module ShouldaMatchersMysqlUuidFix
|
|
15
15
|
available_values = available_enum_values_for(scope, previous_value)
|
16
16
|
available_values.keys.last
|
17
17
|
elsif polymorphic_type_attribute?(scope, previous_value)
|
18
|
-
Uniqueness::TestModels.create(previous_value).to_s
|
18
|
+
::Shoulda::Matchers::ActiveRecord::Uniqueness::TestModels.create(previous_value).to_s
|
19
19
|
elsif previous_value.respond_to?(:next)
|
20
20
|
previous_value.next
|
21
21
|
elsif previous_value.respond_to?(:to_datetime)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers-uuid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentino Stoll
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-11-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda-matchers
|