hobo_fields 1.3.0.pre26 → 1.3.0.pre27

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.pre26
1
+ 1.3.0.pre27
@@ -5,11 +5,11 @@ module HoboFields
5
5
  COLUMN_TYPE = :string
6
6
 
7
7
  class << self
8
- attr_accessor :table_name
8
+ attr_accessor :model_name
9
9
  end
10
10
 
11
11
  def to_html(xmldoctype = true)
12
- I18n.t("activerecord.attributes.#{self.class.name.underscore}lifecycle.states.#{self}", :default => self).html_safe
12
+ I18n.t("activerecord.attributes.#{self.class.model_name.underscore}.lifecycle.states.#{self}", :default => self).html_safe
13
13
  end
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobo_fields
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1637108448
5
- prerelease: true
6
- segments:
7
- - 1
8
- - 3
9
- - 0
10
- - pre26
11
- version: 1.3.0.pre26
4
+ prerelease: 6
5
+ version: 1.3.0.pre27
12
6
  platform: ruby
13
7
  authors:
14
8
  - Tom Locke
@@ -16,7 +10,7 @@ autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
12
 
19
- date: 2011-01-22 00:00:00 -04:00
13
+ date: 2011-02-22 00:00:00 -04:00
20
14
  default_executable:
21
15
  dependencies:
22
16
  - !ruby/object:Gem::Dependency
@@ -27,11 +21,6 @@ dependencies:
27
21
  requirements:
28
22
  - - ">="
29
23
  - !ruby/object:Gem::Version
30
- hash: 7
31
- segments:
32
- - 3
33
- - 0
34
- - 0
35
24
  version: 3.0.0
36
25
  type: :runtime
37
26
  version_requirements: *id001
@@ -43,13 +32,7 @@ dependencies:
43
32
  requirements:
44
33
  - - "="
45
34
  - !ruby/object:Gem::Version
46
- hash: -1637108448
47
- segments:
48
- - 1
49
- - 3
50
- - 0
51
- - pre26
52
- version: 1.3.0.pre26
35
+ version: 1.3.0.pre27
53
36
  type: :runtime
54
37
  version_requirements: *id002
55
38
  - !ruby/object:Gem::Dependency
@@ -60,9 +43,6 @@ dependencies:
60
43
  requirements:
61
44
  - - ">="
62
45
  - !ruby/object:Gem::Version
63
- hash: 3
64
- segments:
65
- - 0
66
46
  version: "0"
67
47
  type: :development
68
48
  version_requirements: *id003
@@ -74,9 +54,6 @@ dependencies:
74
54
  requirements:
75
55
  - - ">="
76
56
  - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 0
80
57
  version: "0"
81
58
  type: :development
82
59
  version_requirements: *id004
@@ -88,9 +65,6 @@ dependencies:
88
65
  requirements:
89
66
  - - ">="
90
67
  - !ruby/object:Gem::Version
91
- hash: 3
92
- segments:
93
- - 0
94
68
  version: "0"
95
69
  type: :development
96
70
  version_requirements: *id005
@@ -159,25 +133,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
133
  requirements:
160
134
  - - ">="
161
135
  - !ruby/object:Gem::Version
162
- hash: 3
163
- segments:
164
- - 0
165
136
  version: "0"
166
137
  required_rubygems_version: !ruby/object:Gem::Requirement
167
138
  none: false
168
139
  requirements:
169
140
  - - ">="
170
141
  - !ruby/object:Gem::Version
171
- hash: 23
172
- segments:
173
- - 1
174
- - 3
175
- - 6
176
142
  version: 1.3.6
177
143
  requirements: []
178
144
 
179
145
  rubyforge_project: hobo
180
- rubygems_version: 1.3.7
146
+ rubygems_version: 1.5.0
181
147
  signing_key:
182
148
  specification_version: 3
183
149
  summary: Rich field types and migration generator for Rails