uniqueable 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@ module Uniqueable
25
25
 
26
26
  unless result.empty?
27
27
  #Check that the result isn't the record we are validating
28
- unless result.first.attributes.except(:updated_at) == record.attributes.except(:updated_at)
28
+ unless result.first == record
29
29
  return record.errors.add(attribute, :taken)
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Uniqueable
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniqueable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -2060387812442946570
130
+ hash: -4598366388485655270
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -2060387812442946570
139
+ hash: -4598366388485655270
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.24