e9_attributes 0.0.3 → 0.0.4

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.
@@ -43,7 +43,7 @@ module E9Attributes::Model
43
43
  end
44
44
 
45
45
  def build_all_record_attributes
46
- record_attributes.each do |attr|
46
+ self.class.record_attributes.each do |attr|
47
47
  params_method = "#{attr}_build_parameters"
48
48
  build_params = self.class.send(params_method) if self.class.respond_to?(params_method)
49
49
  send(attr).send(:build, build_params || {})
@@ -1,3 +1,3 @@
1
1
  module E9Attributes
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e9_attributes
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 3
9
- version: 0.0.3
4
+ prerelease:
5
+ version: 0.0.4
10
6
  platform: ruby
11
7
  authors:
12
8
  - Travis Cox
@@ -14,8 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-09-07 00:00:00 -04:00
18
- default_executable:
13
+ date: 2011-09-09 00:00:00 Z
19
14
  dependencies: []
20
15
 
21
16
  description: |
@@ -62,7 +57,6 @@ files:
62
57
  - lib/generators/e9_attributes/templates/initializer.rb
63
58
  - lib/generators/e9_attributes/templates/javascript.js
64
59
  - lib/generators/e9_attributes/templates/migration.rb
65
- has_rdoc: true
66
60
  homepage: http://github.com/e9digital/e9_attributes
67
61
  licenses: []
68
62
 
@@ -76,21 +70,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
70
  requirements:
77
71
  - - ">="
78
72
  - !ruby/object:Gem::Version
79
- segments:
80
- - 0
81
73
  version: "0"
82
74
  required_rubygems_version: !ruby/object:Gem::Requirement
83
75
  none: false
84
76
  requirements:
85
77
  - - ">="
86
78
  - !ruby/object:Gem::Version
87
- segments:
88
- - 0
89
79
  version: "0"
90
80
  requirements: []
91
81
 
92
82
  rubyforge_project: e9_attributes
93
- rubygems_version: 1.3.7
83
+ rubygems_version: 1.8.10
94
84
  signing_key:
95
85
  specification_version: 3
96
86
  summary: Searchable attributes