mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-05 23:21:07 -05:00
* Pull in openfarm icons, photos, info * Truncating member location * tidying up harvest display, and reducing duplication in css styles * Tiny crop chip * only show crop charts if there is data to show * Make the styles more Growstuff * Fixed links to openfarm * Updating specs to cope with new photo sources fix broken garden timeline on some pages * Update homepage blurb * Import crop companions * More fluid page * use thumbnail unless the source is flickr * Messing with homepage * Added crop growing_degree_days * expect full size url on photos helper spec * formatted dates from seeds#show * tidy up places#show * Move progress bar * Quicker buttons for approve/reject crops * Remove kaminari gem * use crop cards on hierarchy page * more crops on crops#index * Wrap photo creation in transaction * Wrap crop companions in a transaction
10 lines
225 B
Ruby
10 lines
225 B
Ruby
namespace :openfarm do
|
|
desc "Retrieve crop info from open farm"
|
|
# usage: rake growstuff:admin_user name=skud
|
|
|
|
task import: :environment do
|
|
Rails.logger = Logger.new(STDOUT)
|
|
OpenfarmService.new.import!
|
|
end
|
|
end
|