query_packages now assigns @search_sources - a hash mapping package ids to the matching strategy that put them into the results: :exact, :name_prefix, :name_contains, :semantic or :fulltext. The grid and list views render a small badge with a humanized label per result, making the search tiers observable. semantic_results() was folded into search_packages() so each branch tags its own source. Adds the rails-controller-testing gem for assigns() in tests. |
||
|---|---|---|
| .. | ||
| controllers | ||
| files | ||
| fixtures | ||
| helpers | ||
| integration | ||
| lib | ||
| mailers | ||
| models | ||
| system | ||
| application_system_test_case.rb | ||
| test_helper.rb | ||