Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sija/sunspot_resque
Sunspot-Resque Session Proxy
https://github.com/sija/sunspot_resque
resque ruby sunspot
Last synced: 29 days ago
JSON representation
Sunspot-Resque Session Proxy
- Host: GitHub
- URL: https://github.com/sija/sunspot_resque
- Owner: Sija
- License: mit
- Created: 2012-06-28T12:32:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-05T02:16:46.000Z (about 12 years ago)
- Last Synced: 2023-04-10T11:59:20.418Z (over 1 year ago)
- Topics: resque, ruby, sunspot
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sunspot::Resque
This gem employs solution provided by [Andrew Evans](http://stdout.heyzap.com/2011/08/17/sunspot-resque-session-proxy/).
Rails 3 only gem.
## Installation
Add this line to your application's Gemfile:
gem 'sunspot_resque'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sunspot_resque
## Usage
After adding this gem to the `Gemfile` your `Sunspot.session` will be automatically proxied.
It's disabled though for all rake tasks as it's what you'd want in most cases.
In all others you can use `DISABLE_SUNSPOT_RESQUE` ENV variable to `false`.## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Credits
* Sijawusz Pur Rahnama
* Andrew Evans