will_filter 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. data/.loadpath +12 -0
  2. data/.project +18 -0
  3. data/CHANGELOG.rdoc +1 -0
  4. data/Gemfile +32 -0
  5. data/Gemfile.lock +73 -0
  6. data/LICENSE +18 -0
  7. data/README.rdoc +74 -0
  8. data/Rakefile +54 -0
  9. data/VERSION +1 -0
  10. data/app/controllers/application_controller.rb +27 -0
  11. data/app/controllers/will_filter/calendar_controller.rb +31 -0
  12. data/app/controllers/will_filter/exporter_controller.rb +122 -0
  13. data/app/controllers/will_filter/filter_controller.rb +107 -0
  14. data/app/helpers/application_helper.rb +26 -0
  15. data/app/models/will_filter/filter.rb +694 -0
  16. data/app/views/layouts/application.html.erb +11 -0
  17. data/app/views/will_filter/calendar/_annual.html.erb +14 -0
  18. data/app/views/will_filter/calendar/_month.html.erb +39 -0
  19. data/app/views/will_filter/calendar/_quarter.html.erb +15 -0
  20. data/app/views/will_filter/calendar/index.html.erb +52 -0
  21. data/app/views/will_filter/common/_actions_bar.html.erb +5 -0
  22. data/app/views/will_filter/common/_results_table.html.erb +129 -0
  23. data/app/views/will_filter/common/_scripts.html.erb +10 -0
  24. data/app/views/will_filter/exporter/export.html.erb +11 -0
  25. data/app/views/will_filter/exporter/index.html.erb +47 -0
  26. data/app/views/will_filter/filter/_condition.html.erb +30 -0
  27. data/app/views/will_filter/filter/_conditions.html.erb +56 -0
  28. data/app/views/will_filter/filter/_container.html.erb +31 -0
  29. data/app/views/will_filter/filter/containers/_blank.html.erb +1 -0
  30. data/app/views/will_filter/filter/containers/_boolean.html.erb +5 -0
  31. data/app/views/will_filter/filter/containers/_date.html.erb +12 -0
  32. data/app/views/will_filter/filter/containers/_date_range.html.erb +20 -0
  33. data/app/views/will_filter/filter/containers/_date_time.html.erb +12 -0
  34. data/app/views/will_filter/filter/containers/_date_time_range.html.erb +20 -0
  35. data/app/views/will_filter/filter/containers/_list.html.erb +7 -0
  36. data/app/views/will_filter/filter/containers/_numeric_range.html.erb +13 -0
  37. data/app/views/will_filter/filter/containers/_text.html.erb +7 -0
  38. data/app/views/will_filter/filter/index.html.erb +4 -0
  39. data/config/application.rb +45 -0
  40. data/config/boot.rb +6 -0
  41. data/config/database.yml +22 -0
  42. data/config/environment.rb +13 -0
  43. data/config/environments/development.rb +26 -0
  44. data/config/environments/production.rb +49 -0
  45. data/config/environments/test.rb +38 -0
  46. data/config/routes.rb +64 -0
  47. data/config/will_filter/config.yml +97 -0
  48. data/config.ru +4 -0
  49. data/db/development.sqlite3 +0 -0
  50. data/db/migrate/20090730070119_create_will_filter_tables.rb +19 -0
  51. data/db/seeds.rb +7 -0
  52. data/db/test.sqlite3 +0 -0
  53. data/doc/README_FOR_APP +2 -0
  54. data/examples/README +1 -0
  55. data/lib/application_helper.rb +45 -0
  56. data/lib/core_ext/active_record/base.rb +44 -0
  57. data/lib/core_ext/array.rb +34 -0
  58. data/lib/core_ext/object.rb +34 -0
  59. data/lib/generators/will_filter/templates/config.yml +97 -0
  60. data/lib/generators/will_filter/templates/create_will_filter_tables.rb +19 -0
  61. data/lib/generators/will_filter/will_filter_generator.rb +24 -0
  62. data/lib/tasks/.gitkeep +0 -0
  63. data/lib/tasks/will_filter_tasks.rake +32 -0
  64. data/lib/will_filter/calendar.rb +168 -0
  65. data/lib/will_filter/common_methods.rb +49 -0
  66. data/lib/will_filter/config.rb +104 -0
  67. data/lib/will_filter/containers/boolean.rb +43 -0
  68. data/lib/will_filter/containers/date.rb +51 -0
  69. data/lib/will_filter/containers/date_range.rb +56 -0
  70. data/lib/will_filter/containers/date_time.rb +50 -0
  71. data/lib/will_filter/containers/date_time_range.rb +64 -0
  72. data/lib/will_filter/containers/filter_list.rb +59 -0
  73. data/lib/will_filter/containers/list.rb +56 -0
  74. data/lib/will_filter/containers/nil.rb +45 -0
  75. data/lib/will_filter/containers/numeric.rb +52 -0
  76. data/lib/will_filter/containers/numeric_delimited.rb +50 -0
  77. data/lib/will_filter/containers/numeric_range.rb +60 -0
  78. data/lib/will_filter/containers/single_date.rb +57 -0
  79. data/lib/will_filter/containers/text.rb +45 -0
  80. data/lib/will_filter/containers/text_delimited.rb +51 -0
  81. data/lib/will_filter/engine.rb +11 -0
  82. data/lib/will_filter/filter_condition.rb +59 -0
  83. data/lib/will_filter/filter_container.rb +73 -0
  84. data/lib/will_filter/filter_exception.rb +27 -0
  85. data/lib/will_filter.rb +15 -0
  86. data/pkg/will_filter-0.1.0.gem +0 -0
  87. data/pkg/will_filter-0.1.1.gem +0 -0
  88. data/public/404.html +26 -0
  89. data/public/422.html +26 -0
  90. data/public/500.html +26 -0
  91. data/public/favicon.ico +0 -0
  92. data/public/robots.txt +5 -0
  93. data/public/will_filter/images/buttons.png +0 -0
  94. data/public/will_filter/images/calendar.png +0 -0
  95. data/public/will_filter/images/clock.png +0 -0
  96. data/public/will_filter/images/close.gif +0 -0
  97. data/public/will_filter/images/results_table_th_active.gif +0 -0
  98. data/public/will_filter/images/sort_arrow_all.gif +0 -0
  99. data/public/will_filter/images/sort_bg.gif +0 -0
  100. data/public/will_filter/images/spinner.gif +0 -0
  101. data/public/will_filter/javascripts/will_filter.js +568 -0
  102. data/public/will_filter/javascripts/will_filter_prototype_effects.js +15 -0
  103. data/public/will_filter/stylesheets/will_filter.css +168 -0
  104. data/script/rails +6 -0
  105. data/test/functional/models/will_filter/filter_test.rb +297 -0
  106. data/test/performance/browsing_test.rb +9 -0
  107. data/test/test_helper.rb +71 -0
  108. data/uninstall.rb +24 -0
  109. data/will_filter.gemspec +7 -0
  110. metadata +208 -0
metadata ADDED
@@ -0,0 +1,208 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: will_filter
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
+ prerelease:
6
+ segments:
7
+ - 3
8
+ - 0
9
+ - 0
10
+ version: 3.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Michael Berkovich
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-06-14 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ type: :runtime
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
33
+ - 0
34
+ version: 3.0.0
35
+ name: rails
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ type: :runtime
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 1923831917
46
+ segments:
47
+ - 3
48
+ - 0
49
+ - pre
50
+ - 2
51
+ version: 3.0.pre2
52
+ name: will_paginate
53
+ version_requirements: *id002
54
+ description: Rails engine for filtering ActiveRecord model objects.
55
+ email: theiceberk@gmail.com
56
+ executables: []
57
+
58
+ extensions: []
59
+
60
+ extra_rdoc_files:
61
+ - LICENSE
62
+ - README.rdoc
63
+ files:
64
+ - .loadpath
65
+ - .project
66
+ - CHANGELOG.rdoc
67
+ - Gemfile
68
+ - Gemfile.lock
69
+ - LICENSE
70
+ - README.rdoc
71
+ - Rakefile
72
+ - VERSION
73
+ - app/controllers/application_controller.rb
74
+ - app/controllers/will_filter/calendar_controller.rb
75
+ - app/controllers/will_filter/exporter_controller.rb
76
+ - app/controllers/will_filter/filter_controller.rb
77
+ - app/helpers/application_helper.rb
78
+ - app/models/will_filter/filter.rb
79
+ - app/views/layouts/application.html.erb
80
+ - app/views/will_filter/calendar/_annual.html.erb
81
+ - app/views/will_filter/calendar/_month.html.erb
82
+ - app/views/will_filter/calendar/_quarter.html.erb
83
+ - app/views/will_filter/calendar/index.html.erb
84
+ - app/views/will_filter/common/_actions_bar.html.erb
85
+ - app/views/will_filter/common/_results_table.html.erb
86
+ - app/views/will_filter/common/_scripts.html.erb
87
+ - app/views/will_filter/exporter/export.html.erb
88
+ - app/views/will_filter/exporter/index.html.erb
89
+ - app/views/will_filter/filter/_condition.html.erb
90
+ - app/views/will_filter/filter/_conditions.html.erb
91
+ - app/views/will_filter/filter/_container.html.erb
92
+ - app/views/will_filter/filter/containers/_blank.html.erb
93
+ - app/views/will_filter/filter/containers/_boolean.html.erb
94
+ - app/views/will_filter/filter/containers/_date.html.erb
95
+ - app/views/will_filter/filter/containers/_date_range.html.erb
96
+ - app/views/will_filter/filter/containers/_date_time.html.erb
97
+ - app/views/will_filter/filter/containers/_date_time_range.html.erb
98
+ - app/views/will_filter/filter/containers/_list.html.erb
99
+ - app/views/will_filter/filter/containers/_numeric_range.html.erb
100
+ - app/views/will_filter/filter/containers/_text.html.erb
101
+ - app/views/will_filter/filter/index.html.erb
102
+ - config.ru
103
+ - config/application.rb
104
+ - config/boot.rb
105
+ - config/database.yml
106
+ - config/environment.rb
107
+ - config/environments/development.rb
108
+ - config/environments/production.rb
109
+ - config/environments/test.rb
110
+ - config/routes.rb
111
+ - config/will_filter/config.yml
112
+ - db/development.sqlite3
113
+ - db/migrate/20090730070119_create_will_filter_tables.rb
114
+ - db/seeds.rb
115
+ - db/test.sqlite3
116
+ - doc/README_FOR_APP
117
+ - examples/README
118
+ - lib/application_helper.rb
119
+ - lib/core_ext/active_record/base.rb
120
+ - lib/core_ext/array.rb
121
+ - lib/core_ext/object.rb
122
+ - lib/generators/will_filter/templates/config.yml
123
+ - lib/generators/will_filter/templates/create_will_filter_tables.rb
124
+ - lib/generators/will_filter/will_filter_generator.rb
125
+ - lib/tasks/.gitkeep
126
+ - lib/tasks/will_filter_tasks.rake
127
+ - lib/will_filter.rb
128
+ - lib/will_filter/calendar.rb
129
+ - lib/will_filter/common_methods.rb
130
+ - lib/will_filter/config.rb
131
+ - lib/will_filter/containers/boolean.rb
132
+ - lib/will_filter/containers/date.rb
133
+ - lib/will_filter/containers/date_range.rb
134
+ - lib/will_filter/containers/date_time.rb
135
+ - lib/will_filter/containers/date_time_range.rb
136
+ - lib/will_filter/containers/filter_list.rb
137
+ - lib/will_filter/containers/list.rb
138
+ - lib/will_filter/containers/nil.rb
139
+ - lib/will_filter/containers/numeric.rb
140
+ - lib/will_filter/containers/numeric_delimited.rb
141
+ - lib/will_filter/containers/numeric_range.rb
142
+ - lib/will_filter/containers/single_date.rb
143
+ - lib/will_filter/containers/text.rb
144
+ - lib/will_filter/containers/text_delimited.rb
145
+ - lib/will_filter/engine.rb
146
+ - lib/will_filter/filter_condition.rb
147
+ - lib/will_filter/filter_container.rb
148
+ - lib/will_filter/filter_exception.rb
149
+ - pkg/will_filter-0.1.0.gem
150
+ - pkg/will_filter-0.1.1.gem
151
+ - public/404.html
152
+ - public/422.html
153
+ - public/500.html
154
+ - public/favicon.ico
155
+ - public/robots.txt
156
+ - public/will_filter/images/buttons.png
157
+ - public/will_filter/images/calendar.png
158
+ - public/will_filter/images/clock.png
159
+ - public/will_filter/images/close.gif
160
+ - public/will_filter/images/results_table_th_active.gif
161
+ - public/will_filter/images/sort_arrow_all.gif
162
+ - public/will_filter/images/sort_bg.gif
163
+ - public/will_filter/images/spinner.gif
164
+ - public/will_filter/javascripts/will_filter.js
165
+ - public/will_filter/javascripts/will_filter_prototype_effects.js
166
+ - public/will_filter/stylesheets/will_filter.css
167
+ - script/rails
168
+ - test/functional/models/will_filter/filter_test.rb
169
+ - test/performance/browsing_test.rb
170
+ - test/test_helper.rb
171
+ - uninstall.rb
172
+ - will_filter.gemspec
173
+ has_rdoc: true
174
+ homepage: http://github.com/berk/will_filter
175
+ licenses: []
176
+
177
+ post_install_message:
178
+ rdoc_options: []
179
+
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ none: false
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ hash: 3
188
+ segments:
189
+ - 0
190
+ version: "0"
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
+ none: false
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ hash: 3
197
+ segments:
198
+ - 0
199
+ version: "0"
200
+ requirements: []
201
+
202
+ rubyforge_project:
203
+ rubygems_version: 1.6.2
204
+ signing_key:
205
+ specification_version: 3
206
+ summary: Rails engine for filtering ActiveRecord model objects.
207
+ test_files: []
208
+