Skip to content

Status badges to inform a pod's latest version and platform released on Cocoapods!

Notifications You must be signed in to change notification settings

orta/cocoapod-badges

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocoapod Badges Build Status

Badge w/ Version Badge w/ Platform

Cocoapod Badges are status badges to inform a pod's latest version deployed to Cocoapods through their simple API.

The badges are created with a SVG file, thanks to olivierlacan/shields repo that provides badges to:

No images are generated. The badges are SVG files compiled by the browser. They may be saved, but if you look at their source code, you'll be able to see the SVG xml file.

The "badge service" is hosted at Heroku

Usage

Just replace the $PODNAME on both URLs and the badge will automatically fetch the info.

ATTENTION: The $PODNAME is case sensitive, since Cocoapods has differentiation! In case of unexpected issues, the badges will display "error".

Version Badge

Displays the pod's latest version available.

http://cocoapod-badges.herokuapp.com/v/$PODNAME/badge.png

NSStringMask

Platforms Badge

For this to be available, the pod must provide this information, which is optional. If it's not set, the badge will display "error", even though $PODNAME may be correct!

http://cocoapod-badges.herokuapp.com/p/$PODNAME/badge.png
iOS OSX iOS/OSX error
ios osx ios/osx error

Deprecation Warning

This is a new version of Cocoapod Badges! The previous version (case insensitive) is still available at /v1/ for continuity reasons but it's deprecated and its support will stop! All you have to do is fix upper and lower case letters on your badge's URL.

License

cocoapod-badges is licensed under the MIT License:

Copyright (c) 2013 Flávio Caetano (http://flaviocaetano.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Status badges to inform a pod's latest version and platform released on Cocoapods!

Resources

Stars

Watchers

Forks

Packages

No packages published