RubyGems Navigation menu

photofy 0.1.7

A gem to provide simple method to do file upload of pictures and provides getter setter methods of it and save on model object commit. #Generates photo filed from photo_field arguments and provides methods like #if photo_filed is "collage" then it provides methods on top of it as #collage >> Getter, #collage? >> Returns true if assignment is having value other than nil else false, #collage = >> Setter. Acceptable inputs are file upload(ActionDispatch::Http::UploadedFile), filer handle and String(format validation is ignored), #collage_path >> File path of assignment, #collage_path_to_write >> File path of assignment to write (specific to writing. Used internally), #collage_persisted? >> true if provided file/data is stored on disk, #collage_store! >> to store provided file/data on disk, #collage_destroy! >> to store destroy stored file/data from disk

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.6.4 - November 13, 2017 (8 KB)
  2. 0.6.3 - September 15, 2017 (8 KB)
  3. 0.6.2 - September 15, 2017 (8 KB)
  4. 0.6.1 - September 07, 2017 (8 KB)
  5. 0.5.5 - October 03, 2016 (7.5 KB)
  6. 0.1.7 - March 09, 2014 (6.5 KB)
Show all versions (23 total)

Owners:

Authors:

  • Praveen Kumar Sinha, Annu Yadav, Sachin Choudhary

SHA 256 checksum:

0a635baaeaf9cf2eadca2db9697938efb20a9e50590c88200bce08b7a394992e

Total downloads 53,943

For this version 2,391

Licenses:

N/A

Required Ruby Version: None

Links: