Skip to content

Commit

Permalink
v2.4.5. Use shields.io for badges. Repackaged with Projectz
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Oct 31, 2013
1 parent b97aae4 commit 5ce154c
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 16 deletions.
38 changes: 38 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Contribute

## Development

1. Fork the project and clone your fork
2. Install global dependencies

``` bash
npm install -g coffee-script
```

3. Compile the project

``` bash
# Only once
cake compile

# On every change
cake watch
```

4. Run your tests

``` bash
cake test
```

5. Prepare the project for publishing

``` bash
cake prepublish
```

6. Publish the project

``` bash
cake publish
```
3 changes: 3 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## History

- v2.4.5 October 31, 2013
- Use shields.io for badges

- v2.4.4 October 5, 2013
- Fixed inspectlet error for everyone not using it (regression from v2.3.0)

Expand Down
17 changes: 17 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

<!-- LICENSEFILE/ -->

# License

Copyright &copy; 2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)

## The MIT License
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.

<!-- /LICENSEFILE -->


72 changes: 67 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@

<!-- TITLE/ -->

# Services Plugin for [DocPad](http://docpad.org)

[![Build Status](https://secure.travis-ci.org/docpad/docpad-plugin-services.png?branch=master)](http://travis-ci.org/docpad/docpad-plugin-services "Check this project's build status on TravisCI")
<!-- /TITLE -->


<!-- BADGES/ -->

[![Build Status](http://img.shields.io/travis-ci/docpad/docpad-plugin-services.png?branch=master)](http://travis-ci.org/docpad/docpad-plugin-services "Check this project's build status on TravisCI")
[![NPM version](https://badge.fury.io/js/docpad-plugin-services.png)](https://npmjs.org/package/docpad-plugin-services "View this project on NPM")
[![Gittip donate button](http://img.shields.io/gittip/docpad.png)](https://www.gittip.com/docpad/ "Donate weekly to this project using Gittip")
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")

Adds super simple support to DocPad for many 3rd part services, buttons and badges.
<!-- /BADGES -->


Adds super simple support to DocPad for many 3rd party services, buttons and badges.


## Supports
Expand Down Expand Up @@ -119,10 +131,60 @@ environments:
```


<!-- HISTORY/ -->

## History
You can discover the history inside the `History.md` file
[Discover the change history by heading on over to the `History.md` file.](https://github.com/docpad/docpad-plugin-services/blob/master/History.md#files)

<!-- /HISTORY -->


<!-- CONTRIBUTE/ -->

## Contribute

[Discover how you can contribute by heading on over to the `Contributing.md` file.](https://github.com/docpad/docpad-plugin-services/blob/master/Contributing.md#files)

<!-- /CONTRIBUTE -->


<!-- BACKERS/ -->

## Backers

### Maintainers

These amazing people are maintaining this project:

- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)

### Sponsors

No sponsors yet! Will you be the first?

[![Gittip donate button](http://img.shields.io/gittip/docpad.png)](https://www.gittip.com/docpad/ "Donate weekly to this project using Gittip")
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")

### Contributors

These amazing people have contributed code to this project:

- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton) - [view contributions](https://github.com/docpad/docpad-plugin-services/commits?author=balupton)

[Become a contributor!](https://github.com/docpad/docpad-plugin-services/blob/master/Contributing.md#files)

<!-- /BACKERS -->


<!-- LICENSE/ -->

## License
Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://creativecommons.org/licenses/MIT/)
<br/>Copyright &copy; 2012+ [Bevry Pty Ltd](http://bevry.me)

Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)

Copyright &copy; 2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)

<!-- /LICENSE -->


26 changes: 21 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
"title": "Services Plugin for [DocPad](http://docpad.org)",
"name": "docpad-plugin-services",
"version": "2.4.4",
"version": "2.4.5",
"description": "Adds super simple support for many 3rd party services to DocPad",
"homepage": "http://docpad.org/plugin/services",
"license": {
"type": "MIT"
},
"badges": {
"travis": true,
"npm": true,
"gittip": "docpad",
"flattr": "344188/balupton-on-Flattr",
"paypal": "QB8GQPZAH84N6"
},
"keywords": [
"docpad",
"docpad-plugin",
Expand All @@ -21,14 +32,18 @@
"reddit-submit",
"mixpanel",
"reinvigorate",
"zopim"
"zopim",
"travis",
"travisci",
"travis-ci",
"shields.io"
],
"author": "Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
"author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton <b@lupton.cc>(https://github.com/balupton)"
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
],
"bugs": {
"url": "http://docpad.org/plugin/services/issues"
Expand All @@ -41,7 +56,8 @@
"node": ">=0.4"
},
"devDependencies": {
"coffee-script": "~1.6.2"
"coffee-script": "~1.6.2",
"projectz": "~0.2.3"
},
"main": "./out/services.plugin.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/services.plugin.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module.exports = (BasePlugin) ->
return """
<div class="travis-status-button service-button">
<a href="http://travis-ci.org/bevry/docpad" title="Check this project's build status on TravisCI">
<img alt="Build status" src="//secure.travis-ci.org/#{code}.png?branch=master" />
<img alt="Build status" src="//img.shields.io/travis-ci/#{code}.png?branch=master" />
</a>
</div>
"""
Expand Down Expand Up @@ -143,7 +143,7 @@ module.exports = (BasePlugin) ->
return """
<div class="gittip-button service-button">
<a href="https://www.gittip.com/#{code}/" title="Donate weekly to this project using Gittip">
<img alt="Gittip donate button" src="//badgr.co/gittip/#{code}.png" />
<img alt="Gittip donate button" src="//img.shields.io/gittip/#{code}.png" />
</a>
</div>
"""
Expand Down Expand Up @@ -175,7 +175,7 @@ module.exports = (BasePlugin) ->
return """
<div class="paypal-button service-button">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=#{code}" title="Donate once-off to this project using Paypal">
<img alt="Paypal donate button" src="//www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif" />
<img alt="Paypal donate button" src="//img.shields.io/paypal/donate.png?color=yellow" />
</a>
</div>
"""
Expand Down
6 changes: 3 additions & 3 deletions test/out-expected/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@
</span>
</div></div><div class="service-badges"><div class="travis-status-button service-button">
<a href="http://travis-ci.org/bevry/docpad" title="Check this project's build status on TravisCI">
<img alt="Build status" src="//secure.travis-ci.org/bevry/docpad.png?branch=master" />
<img alt="Build status" src="//img.shields.io/travis-ci/bevry/docpad.png?branch=master" />
</a>
</div><div class="fury-button service-button">
<a href="https://npmjs.org/package/docpad" title="View this project on NPM">
<img alt="Package version" src="//badge.fury.io/js/docpad.png" />
</a>
</div><div class="gittip-button service-button">
<a href="https://www.gittip.com/docpad/" title="Donate weekly to this project using Gittip">
<img alt="Gittip donate button" src="//badgr.co/gittip/docpad.png" />
<img alt="Gittip donate button" src="//img.shields.io/gittip/docpad.png" />
</a>
</div><div class="flattr-button service-button">
<a href="http://flattr.com/thing/344188/balupton-on-Flattr" title="Donate monthly to this project using Flattr">
<img alt="Flattr donate button" src="//raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif" />
</a>
</div><div class="paypal-button service-button">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6" title="Donate once-off to this project using Paypal">
<img alt="Paypal donate button" src="//www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif" />
<img alt="Paypal donate button" src="//img.shields.io/paypal/donate.png?color=yellow" />
</a>
</div></div></div>

Expand Down

0 comments on commit 5ce154c

Please sign in to comment.