diff options
| author | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
| commit | 7379daad1c73bd3610ed296436250b417ac3673d (patch) | |
| tree | 04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb | |
| parent | 91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff) | |
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb b/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb deleted file mode 100644 index cb301b8..0000000 --- a/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/class_facet.rb +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | module ThinkingSphinx | ||
| 2 | class ClassFacet < ThinkingSphinx::Facet | ||
| 3 | def name | ||
| 4 | :class | ||
| 5 | end | ||
| 6 | |||
| 7 | def attribute_name | ||
| 8 | "class_crc" | ||
| 9 | end | ||
| 10 | |||
| 11 | def value(object, attribute_value) | ||
| 12 | object.class.name | ||
| 13 | end | ||
| 14 | end | ||
| 15 | end | ||
