google_custom_search_api_key
is required for the Google Custom Search API.
Set encryption keys:
./config/master.key
: secret
./config/credentials/test.key
: f2904ff27c5c71196618b6f6beaa9ca0
- Create calculator service class in
./app/services/facts/(artist|song|station)/[name]_calculator.rb
- Create test class in
./test/services/(artist|song|station)/[name]_calculator_test.rb
, test#call!
- Add decoration rule in
FactDecorator::VALUE_DECORATOR_METHODS
- Add rake task in the corresponding namespace in
facts.rake
. - Include rake task in
facts:(artists|songs|stations):all
rake task