has_custom_fields 0.0.1 → 0.0.2
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.
- data/VERSION +1 -1
- data/has_custom_fields.gemspec +76 -0
- data/has_custom_fields.tmproj +3 -3
- data/lib/has_custom_fields.rb +3 -0
- metadata +3 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{has_custom_fields}
|
|
8
|
+
s.version = "0.0.2"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = [%q{kylejginavan}]
|
|
12
|
+
s.date = %q{2011-09-05}
|
|
13
|
+
s.description = %q{Uses a vertical schema to add custom fields.}
|
|
14
|
+
s.email = %q{kylejginavan@gmail.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"README.rdoc",
|
|
22
|
+
"Rakefile",
|
|
23
|
+
"SPECDOC",
|
|
24
|
+
"VERSION",
|
|
25
|
+
"has_custom_fields.gemspec",
|
|
26
|
+
"has_custom_fields.tmproj",
|
|
27
|
+
"lib/custom_fields/custom_field_base.rb",
|
|
28
|
+
"lib/has_custom_fields.rb",
|
|
29
|
+
"spec/database.yml",
|
|
30
|
+
"spec/debug.log",
|
|
31
|
+
"spec/fixtures/document.rb",
|
|
32
|
+
"spec/fixtures/people.yml",
|
|
33
|
+
"spec/fixtures/person.rb",
|
|
34
|
+
"spec/fixtures/person_contact_infos.yml",
|
|
35
|
+
"spec/fixtures/post.rb",
|
|
36
|
+
"spec/fixtures/post_attributes.yml",
|
|
37
|
+
"spec/fixtures/posts.yml",
|
|
38
|
+
"spec/fixtures/preference.rb",
|
|
39
|
+
"spec/fixtures/preferences.yml",
|
|
40
|
+
"spec/models/eav_model_with_no_arguments_spec.rb",
|
|
41
|
+
"spec/models/eav_model_with_options_spec.rb",
|
|
42
|
+
"spec/models/eav_validation_spec.rb",
|
|
43
|
+
"spec/rcov.opts",
|
|
44
|
+
"spec/schema.rb",
|
|
45
|
+
"spec/spec.opts",
|
|
46
|
+
"spec/spec_helper.rb"
|
|
47
|
+
]
|
|
48
|
+
s.homepage = %q{http://github.com/kylejginavan/has_custom_fields}
|
|
49
|
+
s.require_paths = [%q{lib}]
|
|
50
|
+
s.rubygems_version = %q{1.8.8}
|
|
51
|
+
s.summary = %q{The easy way to add custom fields to any Rails model.}
|
|
52
|
+
s.test_files = [
|
|
53
|
+
"spec/fixtures/document.rb",
|
|
54
|
+
"spec/fixtures/person.rb",
|
|
55
|
+
"spec/fixtures/post.rb",
|
|
56
|
+
"spec/fixtures/preference.rb",
|
|
57
|
+
"spec/models/eav_model_with_no_arguments_spec.rb",
|
|
58
|
+
"spec/models/eav_model_with_options_spec.rb",
|
|
59
|
+
"spec/models/eav_validation_spec.rb",
|
|
60
|
+
"spec/schema.rb",
|
|
61
|
+
"spec/spec_helper.rb"
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
if s.respond_to? :specification_version then
|
|
65
|
+
s.specification_version = 3
|
|
66
|
+
|
|
67
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
68
|
+
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
|
69
|
+
else
|
|
70
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
|
71
|
+
end
|
|
72
|
+
else
|
|
73
|
+
s.add_dependency(%q<builder>, [">= 0"])
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
data/has_custom_fields.tmproj
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<key>documents</key>
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
|
+
<key>expanded</key>
|
|
9
|
+
<true/>
|
|
8
10
|
<key>name</key>
|
|
9
11
|
<string>has_custom_fields</string>
|
|
10
12
|
<key>regexFolderFilter</key>
|
|
11
13
|
<string>!.*/(\.[^/]*|CVS|log|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
|
12
|
-
<key>selected</key>
|
|
13
|
-
<true/>
|
|
14
14
|
<key>sourceDirectory</key>
|
|
15
15
|
<string></string>
|
|
16
16
|
</dict>
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
<key>showFileHierarchyDrawer</key>
|
|
23
23
|
<true/>
|
|
24
24
|
<key>windowFrame</key>
|
|
25
|
-
<string>{{
|
|
25
|
+
<string>{{2143, 139}, {1203, 1047}}</string>
|
|
26
26
|
</dict>
|
|
27
27
|
</plist>
|
data/lib/has_custom_fields.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: has_custom_fields
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- kylejginavan
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-09-
|
|
13
|
+
date: 2011-09-05 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: builder
|
|
@@ -38,6 +38,7 @@ files:
|
|
|
38
38
|
- Rakefile
|
|
39
39
|
- SPECDOC
|
|
40
40
|
- VERSION
|
|
41
|
+
- has_custom_fields.gemspec
|
|
41
42
|
- has_custom_fields.tmproj
|
|
42
43
|
- lib/custom_fields/custom_field_base.rb
|
|
43
44
|
- lib/has_custom_fields.rb
|