serialist 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -65,9 +65,9 @@ module Serialist
65
65
  attributes = new_attributes.dup
66
66
  attributes.stringify_keys!
67
67
  attributes.each do |k, v|
68
- unless k.include?("(") || respond_to?(k)
69
- self.class.define_access_method(k + "=") unless respond_to?("#{k}=") # for mass-affectation
70
- self.class.define_access_method(k) # for validation
68
+ unless k.include?("(")
69
+ self.class.define_access_method(k + "=") unless respond_to?("#{k}=") # for mass-affectation
70
+ self.class.define_access_method(k) unless respond_to?(k) # for validation
71
71
  end
72
72
  end
73
73
  super
Binary file
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{serialist}
8
- s.version = "1.3.0"
8
+ s.version = "1.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benoit B\303\251n\303\251zech"]
12
- s.date = %q{2010-02-08}
12
+ s.date = %q{2010-02-15}
13
13
  s.description = %q{Serialize any data, set and fetch it like any column attributes}
14
14
  s.email = %q{benoit.benezech@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
  "lib/serialist.rb",
30
30
  "lib/serialist/serialist_module.rb",
31
31
  "rails/init.rb",
32
+ "serialist-1.3.0.gem",
32
33
  "serialist.gemspec",
33
34
  "tasks/acts_as_serializable_tasks.rake",
34
35
  "test/serialist_test.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-08 00:00:00 +01:00
12
+ date: 2010-02-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -35,6 +35,7 @@ files:
35
35
  - lib/serialist.rb
36
36
  - lib/serialist/serialist_module.rb
37
37
  - rails/init.rb
38
+ - serialist-1.3.0.gem
38
39
  - serialist.gemspec
39
40
  - tasks/acts_as_serializable_tasks.rake
40
41
  - test/serialist_test.rb