badgerbadgerbadger 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3550de2427275faa639ca8f287a5dfa88b9a57ed
4
- data.tar.gz: 7738337470feca2f66a52aebbfa5f46241f359b2
3
+ metadata.gz: 5fc45adab722623be2c90cbf81eb1d8097b4fb4c
4
+ data.tar.gz: 7a69d0970d5da953f230cc2b7a677931617ab136
5
5
  SHA512:
6
- metadata.gz: da5d644ba16787e890e4b91b54dc9527bb87794a03fddc1ad7a28eb12acafc7deab4419faa535a3cef6a347091304aa8c782dec2ef4b3713169abbc48f515a89
7
- data.tar.gz: 15a85063cde3208cf9823c0ed68d38897cc324eae75a2935e412d074105ceaef7d8f4456fcb61b3672753b58428225329d609cd2b6f5174a76c9f5a233b8fbe8
6
+ metadata.gz: 2aa977353e440479d03213286f1923d6bfdef1023b9da378d1a64bae46d0ce80a87c4a39bc2840272d9a16042c20a49207bc8e1c61ecd8089f2acdb39205454d
7
+ data.tar.gz: d7ff3bbf2670cde9fcfa34700179fa2dc57441af84b7af9fe30255aea37a0c5fa7597f1e580eef1f2fadc854a7bfb9608fe1fbea3ecab1ccb592bceca7a9275d
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.2
3
+ - 2.3.0
4
4
  deploy:
5
5
  provider: rubygems
6
6
  api_key:
@@ -32,8 +32,9 @@ issues:
32
32
  suffix: issues
33
33
 
34
34
  size:
35
- alt_text: Repo Size
36
- service_root: reposs.herokuapp.com
37
- url_path: github.com
35
+ alt_text: Repo Size
36
+ service_root: reposs.herokuapp.com
37
+ url_path: github.com
38
38
  # REST? Fuck REST
39
- ugly_cruft: ?path=
39
+ ugly_cruft: ?path=
40
+ no_file_extension: true
@@ -5,16 +5,15 @@ Feature: Alternative styles
5
5
 
6
6
  @travis @gemnasium @coveralls @gemspec @mit
7
7
  Scenario: One with everything
8
- When I successfully run `badger badge --style flat-square /tmp/wow_repo`
8
+ When I successfully run `badger badge --style flat /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
16
- [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
17
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg?style=flat-square)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat)](https://codeclimate.com/github/doge/wow)
15
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat)](https://rubygems.org/gems/suchgem)
16
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat)](http://doge.mit-license.org)
18
17
  """
19
18
  Scenario: Invalid style choice
20
19
  When I run `badger badge --style fluffy /tmp/wow_repo`
@@ -8,18 +8,21 @@ Feature: Badge robot
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
15
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
16
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
17
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
16
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
18
17
  """
19
18
  And the output should not contain:
20
19
  """
21
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
22
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
20
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
21
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
22
+ """
23
+ And the output should not contain:
24
+ """
25
+ [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg?style=flat-square)](https://github.com/badges/badgerbadgerbadger)
23
26
  """
24
27
 
25
28
  Scenario: Handle a non-git-repo gracefully
@@ -44,4 +47,4 @@ This repo does not appear to have a github remote
44
47
  Then the output should contain:
45
48
  """
46
49
  badger version
47
- """
50
+ """
@@ -8,7 +8,7 @@ Feature: Get license badges
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- ![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
11
+ ![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
12
12
  """
13
13
  And the output should not contain:
14
14
  """
@@ -16,8 +16,8 @@ Apache
16
16
  """
17
17
  And the output should not contain:
18
18
  """
19
- ![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
20
- ![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
19
+ ![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
20
+ ![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
21
21
  """
22
22
 
23
23
  @license @apache
@@ -25,7 +25,7 @@ Apache
25
25
  When I successfully run `badger badge /tmp/wow_repo`
26
26
  Then the output should contain:
27
27
  """
28
- ![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
28
+ ![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
29
29
  """
30
30
  And the output should not contain:
31
31
  """
@@ -37,7 +37,7 @@ GPL
37
37
  When I successfully run `badger badge /tmp/wow_repo`
38
38
  Then the output should contain:
39
39
  """
40
- ![License](http://img.shields.io/:license-gpl2-blue.svg)](http://www.gnu.org/licenses/gpl-2.0.html)
40
+ ![License](http://img.shields.io/:license-gpl2-blue.svg?style=flat-square)](http://www.gnu.org/licenses/gpl-2.0.html)
41
41
  """
42
42
  And the output should not contain:
43
43
  """
@@ -49,7 +49,7 @@ MIT
49
49
  When I successfully run `badger badge /tmp/wow_repo`
50
50
  Then the output should contain:
51
51
  """
52
- ![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html)
52
+ ![License](http://img.shields.io/:license-gpl3-blue.svg?style=flat-square)](http://www.gnu.org/licenses/gpl-3.0.html)
53
53
  """
54
54
 
55
55
  @license @doge-license
@@ -9,11 +9,10 @@ Feature: Heroku remote
9
9
  When I successfully run `badger badge /tmp/wow_repo`
10
10
  Then the output should contain:
11
11
  """
12
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
13
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
14
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
15
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
16
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
17
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
18
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
12
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
13
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
14
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
15
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
16
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
17
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
19
18
  """
@@ -8,11 +8,10 @@ Feature: Badge robot
8
8
  When I successfully run `badger badge /tmp/wow_repo --png `
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.png)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.png)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.png)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.png)](https://codeclimate.com/github/doge/wow)
15
- [![Gem Version](http://img.shields.io/gem/v/suchgem.png)](https://rubygems.org/gems/suchgem)
16
- [![License](http://img.shields.io/:license-mit-blue.png)](http://doge.mit-license.org)
17
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.png)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.png?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.png?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.png?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.png?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.png?style=flat-square)](https://rubygems.org/gems/suchgem)
16
+ [![License](http://img.shields.io/:license-mit-blue.png?style=flat-square)](http://doge.mit-license.org)
18
17
  """
@@ -8,13 +8,12 @@ Scenario: One with everything
8
8
  When I successfully run `badger badge --pulls /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
15
- [![Github Issues](http://githubbadges.herokuapp.com/doge/wow/issues.svg)](https://github.com/doge/wow/issues)
16
- [![Pending Pull-Requests](http://githubbadges.herokuapp.com/doge/wow/pulls.svg)](https://github.com/doge/wow/pulls)
17
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
18
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
19
- [![Badges](http://img.shields.io/:badges-9/9-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Github Issues](http://githubbadges.herokuapp.com/doge/wow/issues.svg?style=flat-square)](https://github.com/doge/wow/issues)
16
+ [![Pending Pull-Requests](http://githubbadges.herokuapp.com/doge/wow/pulls.svg?style=flat-square)](https://github.com/doge/wow/pulls)
17
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
18
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
20
19
  """
@@ -8,11 +8,10 @@ Feature: Badge robot
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
15
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
16
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
17
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
16
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
18
17
  """
@@ -8,8 +8,8 @@ Feature: Get rubygems badge
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
12
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
11
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
12
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
13
13
  """
14
14
 
15
15
  @gemspecmultilicense @gpl3
@@ -17,10 +17,10 @@ Feature: Get rubygems badge
17
17
  When I successfully run `badger badge /tmp/wow_repo`
18
18
  Then the output should contain:
19
19
  """
20
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
21
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
22
- [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
23
- [![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html)
20
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
21
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
22
+ [![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
23
+ [![License](http://img.shields.io/:license-gpl3-blue.svg?style=flat-square)](http://www.gnu.org/licenses/gpl-3.0.html)
24
24
  """
25
25
 
26
26
  @gemspecnolicense
@@ -28,7 +28,7 @@ Feature: Get rubygems badge
28
28
  When I successfully run `badger badge /tmp/wow_repo`
29
29
  Then the output should contain:
30
30
  """
31
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
31
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
32
32
  """
33
33
 
34
34
  And the output should not contain:
@@ -41,6 +41,6 @@ License
41
41
  When I successfully run `badger badge /tmp/wow_repo`
42
42
  Then the output should contain:
43
43
  """
44
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
45
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
46
- """
44
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
45
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
46
+ """
@@ -8,19 +8,19 @@ Feature: Get service badges
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
12
  """
13
13
  And the output should not contain:
14
14
  """
15
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
15
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
16
16
  """
17
17
  And the output should not contain:
18
18
  """
19
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
19
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
20
20
  """
21
21
  And the output should not contain:
22
22
  """
23
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
23
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
24
24
  """
25
25
 
26
26
  @gemnasium
@@ -28,7 +28,7 @@ Feature: Get service badges
28
28
  When I successfully run `badger badge /tmp/wow_repo`
29
29
  Then the output should contain:
30
30
  """
31
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
31
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
32
32
  """
33
33
 
34
34
  @coveralls
@@ -36,12 +36,12 @@ Feature: Get service badges
36
36
  When I successfully run `badger badge /tmp/wow_repo`
37
37
  Then the output should contain:
38
38
  """
39
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
40
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
39
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
40
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
41
41
  """
42
42
  And the output should not contain:
43
43
  """
44
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
44
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
45
45
  """
46
46
 
47
47
  @codeclimate
@@ -49,5 +49,5 @@ Feature: Get service badges
49
49
  When I successfully run `badger badge /tmp/wow_repo`
50
50
  Then the output should contain:
51
51
  """
52
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
52
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
53
53
  """
@@ -8,12 +8,11 @@ Scenario: Include 'size' badge
8
8
  When I successfully run `badger badge --size /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
15
- [![Repo Size](http://reposs.herokuapp.com/?path=doge/wow.svg)](https://github.com/doge/wow)
16
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
17
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
18
- [![Badges](http://img.shields.io/:badges-8/8-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Repo Size](http://reposs.herokuapp.com/?path=doge/wow?style=flat-square)](https://github.com/doge/wow)
16
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
17
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
19
18
  """
@@ -8,18 +8,17 @@ Feature: Badge robot
8
8
  When I successfully run `badger badge /tmp/wow_repo`
9
9
  Then the output should contain:
10
10
  """
11
- [![Build Status](http://img.shields.io/travis/doge/wow.svg)](https://travis-ci.org/doge/wow)
12
- [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg)](https://gemnasium.com/doge/wow)
13
- [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg)](https://coveralls.io/r/doge/wow)
14
- [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg)](https://codeclimate.com/github/doge/wow)
15
- [![Gem Version](http://img.shields.io/gem/v/suchgem.svg)](https://rubygems.org/gems/suchgem)
16
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
17
- [![Badges](http://img.shields.io/:badges-7/7-ff6799.svg)](https://github.com/badges/badgerbadgerbadger)
11
+ [![Build Status](http://img.shields.io/travis/doge/wow.svg?style=flat-square)](https://travis-ci.org/doge/wow)
12
+ [![Dependency Status](http://img.shields.io/gemnasium/doge/wow.svg?style=flat-square)](https://gemnasium.com/doge/wow)
13
+ [![Coverage Status](http://img.shields.io/coveralls/doge/wow.svg?style=flat-square)](https://coveralls.io/r/doge/wow)
14
+ [![Code Climate](http://img.shields.io/codeclimate/github/doge/wow.svg?style=flat-square)](https://codeclimate.com/github/doge/wow)
15
+ [![Gem Version](http://img.shields.io/gem/v/suchgem.svg?style=flat-square)](https://rubygems.org/gems/suchgem)
16
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
18
17
  """
19
18
  And the output should not contain:
20
19
  """
21
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
22
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
20
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
21
+ [![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://doge.mit-license.org)
23
22
  """
24
23
 
25
24
  Scenario: handle a non-git-repo gracefully
@@ -37,4 +36,4 @@ Run this from inside a git repo
37
36
  """
38
37
  This repo does not appear to have a github remote
39
38
  """
40
- And the exit status should be 2
39
+ And the exit status should be 2
@@ -3,7 +3,7 @@ module Badger
3
3
  badge_url = "%s.%s" % [
4
4
  badge_url,
5
5
  Config.instance.config['badge_type']
6
- ]
6
+ ] unless text == 'Repo Size'
7
7
 
8
8
  badge_style = Config.instance.config['badge_style']
9
9
  badge_url = "%s?style=%s" % [
@@ -15,7 +15,7 @@ module Badger
15
15
  method_option :png, :type => :boolean, :default => false, :desc => 'Generate PNG badges instead of the default SVG (because sometimes Github does caching things)'
16
16
  method_option :pulls, :type => :boolean, :default => false, :desc => 'Generate Github pull-request and issue-count badges'
17
17
  method_option :size, :type => :boolean, :default => false, :desc => 'Generate repo size badge'
18
- method_option :style, :type => :string, :default => nil, :desc => "Choose a different badge style (currently supported: #{Config.instance.config['valid_styles'].join ', '})"
18
+ method_option :style, :type => :string, :default => 'flat-square', :desc => "Choose a different badge style (currently supported: #{Config.instance.config['valid_styles'].join ', '})"
19
19
 
20
20
  def badge dir = '.'
21
21
  @badger = Badger.new Badger.git_remote dir
@@ -47,7 +47,7 @@ module Badger
47
47
  @badger.license license_type
48
48
  end
49
49
 
50
- @badger.bonus
50
+ # @badger.bonus
51
51
  puts @badger.to_s
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  module Badger
2
- VERSION = "0.13.0"
2
+ VERSION = "0.14.0"
3
3
  end
@@ -13,7 +13,7 @@ module Badger
13
13
  context 'size badge' do
14
14
  it 'has a size badge' do
15
15
  @badger.add 'size'
16
- expect(@badger[0]).to eq '[![Repo Size](http://reposs.herokuapp.com/?path=doge/wow.svg)](https://github.com/doge/wow)'
16
+ expect(@badger[0]).to eq '[![Repo Size](http://reposs.herokuapp.com/?path=doge/wow)](https://github.com/doge/wow)'
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: badgerbadgerbadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-04 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -275,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  requirements: []
277
277
  rubyforge_project:
278
- rubygems_version: 2.4.5
278
+ rubygems_version: 2.5.1
279
279
  signing_key:
280
280
  specification_version: 4
281
281
  summary: Badge-Driven Development made easy. Generate a set of Github badges for your