riot_rails 0.0.5 → 0.0.6

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -64,7 +64,7 @@ module Riot
64
64
  else
65
65
  copied_model = actual_record.class.new
66
66
  actual_record.attributes.each do |dup_attribute, dup_value|
67
- actual_record.write_attribute(dup_attribute, dup_value)
67
+ copied_model.write_attribute(dup_attribute, dup_value)
68
68
  end
69
69
  copied_value = actual_record.read_attribute(attribute)
70
70
  msg = "expected to fail because #{attribute.inspect} is not unique"
data/riot_rails.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{riot_rails}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin 'Gus' Knowlden"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riot_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin 'Gus' Knowlden