badges/badgerbadgerbadger

View on GitHub
lib/badger/dependencyci.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Badger
  class DependencyCI
    def self.badge name
      badge_url = 'http://%s/github/%s/badge' % [
        'dependencyci.com',
        name
      ]

      target_url = 'http://dependencyci.com/github/%s' % [
        name
      ]

      Badger.badge 'Dependency CI', badge_url, target_url
    end
  end
end