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

pulibrary / pomegranate / 222

14 Oct 2016 03:38PM UTC coverage: 1.818% (-98.2%) from 100.0%
222

Pull #118

circleci

eliotjordan
version active record migrations
Pull Request #118: Update to rails 5

11 of 605 relevant lines covered (1.82%)

0.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/models/collection_manifest.rb
1
class CollectionManifest < IIIF::Presentation::Collection
×
2
  def self.find_by_slug(slug)
×
3
    ExternalCollectionsQuery.all.find do |manifest|
×
4
      manifest.slug == slug
×
5
    end
×
6
  end
×
7

×
8
  def slug
×
9
    metadata.find do |entry|
×
10
      entry["label"] == slug_key
×
11
    end["value"].first
×
12
  end
×
13

×
14
  private
×
15

×
16
    def slug_key
×
17
      "Exhibit"
×
18
    end
×
19
end
×
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

© 2025 Coveralls, Inc