optimeez_preferences 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +82 -0
- data/LICENSE +20 -0
- data/README.rdoc +216 -0
- data/Rakefile +75 -0
- data/app/models/preference.rb +65 -0
- data/init.rb +1 -0
- data/lib/generators/preferences/USAGE +5 -0
- data/lib/generators/preferences/preferences_generator.rb +17 -0
- data/lib/generators/preferences/templates/001_create_preferences.rb +16 -0
- data/lib/preferences.rb +619 -0
- data/lib/preferences/engine.rb +8 -0
- data/lib/preferences/preference_definition.rb +56 -0
- data/test/app_root/app/models/car.rb +2 -0
- data/test/app_root/app/models/employee.rb +2 -0
- data/test/app_root/app/models/manager.rb +3 -0
- data/test/app_root/app/models/user.rb +8 -0
- data/test/app_root/db/migrate/001_create_users.rb +11 -0
- data/test/app_root/db/migrate/002_create_cars.rb +11 -0
- data/test/app_root/db/migrate/003_create_employees.rb +12 -0
- data/test/app_root/db/migrate/004_migrate_preferences_to_version_1.rb +13 -0
- data/test/factory.rb +65 -0
- data/test/functional/preferences_test.rb +1364 -0
- data/test/test_helper.rb +26 -0
- data/test/unit/preference_definition_test.rb +237 -0
- data/test/unit/preference_test.rb +236 -0
- metadata +83 -0
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: optimeez_preferences
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.2
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Aaron Pfeifer
|
9
|
+
- Adrien Rambert
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
|
14
|
+
date: 2010-10-20 00:00:00 +02:00
|
15
|
+
default_executable:
|
16
|
+
dependencies: []
|
17
|
+
|
18
|
+
description: Adds support for easily creating custom preferences for ActiveRecord models
|
19
|
+
email: aaron@pluginaweek.org
|
20
|
+
executables: []
|
21
|
+
|
22
|
+
extensions: []
|
23
|
+
|
24
|
+
extra_rdoc_files: []
|
25
|
+
|
26
|
+
files:
|
27
|
+
- app/models/preference.rb
|
28
|
+
- lib/generators/preferences/preferences_generator.rb
|
29
|
+
- lib/generators/preferences/templates/001_create_preferences.rb
|
30
|
+
- lib/generators/preferences/USAGE
|
31
|
+
- lib/preferences/engine.rb
|
32
|
+
- lib/preferences/preference_definition.rb
|
33
|
+
- lib/preferences.rb
|
34
|
+
- test/app_root/app/models/car.rb
|
35
|
+
- test/app_root/app/models/employee.rb
|
36
|
+
- test/app_root/app/models/manager.rb
|
37
|
+
- test/app_root/app/models/user.rb
|
38
|
+
- test/app_root/db/migrate/001_create_users.rb
|
39
|
+
- test/app_root/db/migrate/002_create_cars.rb
|
40
|
+
- test/app_root/db/migrate/003_create_employees.rb
|
41
|
+
- test/app_root/db/migrate/004_migrate_preferences_to_version_1.rb
|
42
|
+
- test/factory.rb
|
43
|
+
- test/functional/preferences_test.rb
|
44
|
+
- test/test_helper.rb
|
45
|
+
- test/unit/preference_definition_test.rb
|
46
|
+
- test/unit/preference_test.rb
|
47
|
+
- CHANGELOG.rdoc
|
48
|
+
- init.rb
|
49
|
+
- LICENSE
|
50
|
+
- Rakefile
|
51
|
+
- README.rdoc
|
52
|
+
has_rdoc: true
|
53
|
+
homepage: http://www.pluginaweek.org
|
54
|
+
licenses: []
|
55
|
+
|
56
|
+
post_install_message:
|
57
|
+
rdoc_options: []
|
58
|
+
|
59
|
+
require_paths:
|
60
|
+
- lib
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: "0"
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
requirements: []
|
74
|
+
|
75
|
+
rubyforge_project: pluginaweek
|
76
|
+
rubygems_version: 1.5.0
|
77
|
+
signing_key:
|
78
|
+
specification_version: 3
|
79
|
+
summary: Adds support for easily creating custom preferences for ActiveRecord models
|
80
|
+
test_files:
|
81
|
+
- test/functional/preferences_test.rb
|
82
|
+
- test/unit/preference_definition_test.rb
|
83
|
+
- test/unit/preference_test.rb
|