• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MushroomObserver / mushroom-observer / 9412758445
94%
main: 96%

Build:
Build:
LAST BUILD BRANCH: nimmo-phlex-name-classification-forms
DEFAULT BRANCH: main
Ran 07 Jun 2024 06:44AM UTC
Jobs 1
Files 764
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jun 2024 06:36AM UTC coverage: 94.426% (-0.003%) from 94.429%
9412758445

Pull #2164

github

nimmolo
Move `read_exif_data` to Image as an instance method

Creates a method to read the image's exif data, from what had been in the show action of the Images::EXIFController. This is an AJAX response to show an image's exif header. The method reads the info off the actual file on the server; we do not store this info in the Image record.

PR makes the method available outside that controller, in other words.

Also clears up a method name that I hadn't understood:
- rename Image::URL method from `file_name` to `full_filepath`
- rename Image instance method `local_file_name` to `full_filepath`

These methods return the full path of the image on the server per environment, like this:
`/Users/nimmo/Documents/GitHub/developer-startup/mushroom-observer/public/images/orig/1663403.jpg`
Pull Request #2164: Move `read_exif_data` to Image as an instance method

43 of 47 new or added lines in 5 files covered. (91.49%)

25988 of 27522 relevant lines covered (94.43%)

551.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9412758445.1 07 Jun 2024 06:44AM UTC 0
94.43
GitHub Action Run
Source Files on build 9412758445
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #2164
  • PR Base - main (#9390208596)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc