fulltext_searchable 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/Gemfile +20 -0
- data/LICENSE.txt +20 -0
- data/README.md +4 -0
- data/Rakefile +1 -0
- data/app/models/fulltext_index.rb +163 -0
- data/fulltext_searchable.gemspec +33 -0
- data/lib/fulltext_searchable/active_record.rb +208 -0
- data/lib/fulltext_searchable/engine.rb +4 -0
- data/lib/fulltext_searchable/mysql2_adapter.rb +64 -0
- data/lib/fulltext_searchable/version.rb +3 -0
- data/lib/fulltext_searchable.rb +50 -0
- data/lib/rails/generators/fulltext_searchable/fulltext_searchable_generator.rb +46 -0
- data/lib/rails/generators/fulltext_searchable/templates/initializer.rb +7 -0
- data/lib/rails/generators/fulltext_searchable/templates/migration.rb +9 -0
- data/lib/rails/generators/fulltext_searchable/templates/schema.rb +5 -0
- data/lib/tasks/fulltext_searchable.rake +27 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/blog.rb +7 -0
- data/spec/dummy/app/models/comment.rb +6 -0
- data/spec/dummy/app/models/news.rb +4 -0
- data/spec/dummy/app/models/reply.rb +4 -0
- data/spec/dummy/app/models/user.rb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +44 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml.example +19 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/fulltext_searchable.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +66 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20110119090740_create_blogs.rb +15 -0
- data/spec/dummy/db/migrate/20110119090753_create_news.rb +15 -0
- data/spec/dummy/db/migrate/20110124031824_create_users.rb +13 -0
- data/spec/dummy/db/migrate/20110203091209_create_comments.rb +14 -0
- data/spec/dummy/db/migrate/20110215091428_create_fulltext_indices_table.rb +9 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/controls.js +965 -0
- data/spec/dummy/public/javascripts/dragdrop.js +974 -0
- data/spec/dummy/public/javascripts/effects.js +1123 -0
- data/spec/dummy/public/javascripts/prototype.js +6001 -0
- data/spec/dummy/public/javascripts/rails.js +175 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/public/stylesheets/scaffold.css +56 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/fulltext_searchable_spec.rb +7 -0
- data/spec/models/blog_spec.rb +132 -0
- data/spec/models/comment_spec.rb +9 -0
- data/spec/models/fulltext_index_spec.rb +114 -0
- data/spec/models/news_spec.rb +100 -0
- data/spec/spec_helper.rb +44 -0
- data/spec/support/factories/blogs.rb +29 -0
- data/spec/support/factories/comments.rb +7 -0
- data/spec/support/factories/news.rb +23 -0
- data/spec/support/factories/users.rb +27 -0
- metadata +364 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.