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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39ee917e50d9dd43cdc6947171fa729a6b18725f53d580aaf429ae21d694e1c3
4
- data.tar.gz: 4866dba688ec541d3625482480d2a4cc81ee35462bde53d3a6b8bb828b551a6f
3
+ metadata.gz: f484d979ced984105f2b6a125e4df5f8496cd011c921063eb05cc26fa02b49ca
4
+ data.tar.gz: a38a52a52f254e62b491ff41ea09c30c34f27da2fce301256143c9bb5b60b4d1
5
5
  SHA512:
6
- metadata.gz: 26a4aef7b18236a65a9357b99b06abfbd78216a8c2e8dca6971b3778b6c68195596bba90eebe7c0d6494b10f569395be4ca35181315727a8b0d26de772d3c40e
7
- data.tar.gz: 956b305e913371b7ed56d6d2c899c19ff490313acb1e6117dcb0d7502950e57869c45e4e201b02284c4879eeb6ada3b53d45a745a8382026dbc3e12fb7c589c4
6
+ metadata.gz: f5da11466224c0f1488f8bd982b6045b97c80d6109504244bf0412c18f0cc76d18838dfa0ad4f9be4394584d8027c86ffa2c1929fa49c2e66d2b31e33387e370
7
+ data.tar.gz: 0a0f0ae1a48160371c35260ce50f7986d2dad3cdc993a610970794bd3e4f2f3d90e3448f8740ede95abde60fc9b1827538d22cc3c1d1554d12983040b0a0d88e
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shoulda-matchers-uuid (0.1.2)
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.3.0)
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)
@@ -3,7 +3,7 @@
3
3
  module Shoulda
4
4
  module Matchers
5
5
  module Uuid
6
- VERSION = "0.1.2"
6
+ VERSION = "0.1.3"
7
7
  end
8
8
  end
9
9
  end
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.2
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-02-25 00:00:00.000000000 Z
12
+ date: 2020-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda-matchers