yaml-model 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -162,7 +162,7 @@ class YAML_Model
162
162
  def inspect
163
163
  keys = self.class.attributes.keys.sort
164
164
  keys.delete( :id )
165
- "#{to_s}{#{keys.map{|k|"#{k.inspect}=>#{self.send(k).inspect}"}.join(',')}}"
165
+ "#{self.class.name}[#{id}]{#{keys.map{|k|"#{k.inspect}=>#{self.send(k).inspect}"}.join(',')}}"
166
166
  end
167
167
 
168
168
  def self.sort_by( *attributes )
@@ -1,3 +1,3 @@
1
1
  class YAML_Model
2
- VERSION = "1.3.4"
2
+ VERSION = "1.3.5"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 4
9
- version: 1.3.4
8
+ - 5
9
+ version: 1.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Clive Crous
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-20 00:00:00 +02:00
17
+ date: 2011-02-27 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- hash: 788241761
102
+ hash: 815309117
103
103
  segments:
104
104
  - 0
105
105
  version: "0"
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: 788241761
111
+ hash: 815309117
112
112
  segments:
113
113
  - 0
114
114
  version: "0"