CITIEsForRAILS 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{CITIEsForRAILS}
5
- s.version = "0.0.6"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Laurent Buffat & Pierre-Emmanuel JOUVE"]
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('CITIEsForRAILS', '0.0.6') do |p|
5
+ Echoe.new('CITIEsForRAILS', '0.0.7') do |p|
6
6
  p.description = "CITIEsForRAILS (Class Inheritance & Table Inheritance Embeddings For RAILS) is a solution that extends Single/Multiple/Class Table Inheritance. This solution is based on classical Ruby class inheritance, single table inheritance as well as DB views.
7
7
 
8
8
 
@@ -188,7 +188,7 @@ module Cities
188
188
  self.id = herited.id
189
189
 
190
190
  if(new_record?)
191
- herited.swap_new_record;#this is very important for multi saving without reloading, if it was not there it would imply several savings in DB....
191
+ self.swap_new_record;#this is very important for multi saving without reloading, if it was not there it would imply several savings in DB....
192
192
  end
193
193
 
194
194
  sql = "UPDATE #{self.class.mother_class.table_name} SET #{self.class.inheritance_column} = '#{self.class.to_s}' WHERE id = #{self.id}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Laurent Buffat & Pierre-Emmanuel JOUVE