badgerbadgerbadger 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DESC.md +1 -1
- data/README.md +1 -1
- data/lib/badger/badger.rb +1 -1
- data/lib/badger/helpers.rb +4 -0
- data/lib/badger/version.rb +1 -1
- data/spec/badger_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c69f958d3d1db2bef57ccb39b2b355d4663518f
|
4
|
+
data.tar.gz: 50004b604e1a88580500e3d2fd9dcf87a3a25ae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8a2646a748c17a58ae4cbc28a300087e15990e168839833346ab171e1ab8f1af2d82942dff6c3c34458862deb182097f82fd84b00ccd9080be753585e121434
|
7
|
+
data.tar.gz: f99828aeba35cac9a48064e41ea42dafb4ebb5a3f100d7467cbc1e78fb4c3216279560e7ae210626b5c4095acf450390e77d5589831f5988714d09c5de1281dc
|
data/DESC.md
CHANGED
@@ -12,7 +12,7 @@ In addition, if it finds a gemspec, it will use it to generate:
|
|
12
12
|
|
13
13
|
* A Rubygems Version Badge
|
14
14
|
|
15
|
-
* A License Badge
|
15
|
+
* A License Badge (or Badges)
|
16
16
|
|
17
17
|
And if a license file is found, a License Badge will be generated. Currently supported licenses are:
|
18
18
|
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ Then
|
|
34
34
|
|
35
35
|
ready to paste into the top of your README (with the correct URLs for your repo)
|
36
36
|
|
37
|
-
You can read about Badger's Opinions [here](DESC.md)
|
37
|
+
You can read about Badger's Opinions in the help text [here](https://github.com/pikesley/badger/blob/master/DESC.md)
|
38
38
|
|
39
39
|
If you're on a Mac, pipe the output into `pbcopy` to add the stuff directly to your clipboard:
|
40
40
|
|
data/lib/badger/badger.rb
CHANGED
data/lib/badger/helpers.rb
CHANGED
data/lib/badger/version.rb
CHANGED
data/spec/badger_spec.rb
CHANGED
@@ -109,5 +109,11 @@ module Badger
|
|
109
109
|
}
|
110
110
|
end
|
111
111
|
end
|
112
|
+
|
113
|
+
it 'should work with a "-" in the remote name' do
|
114
|
+
@badger = Badger.new 'https://github.com/pikesley/diabetes-dashboard.git'
|
115
|
+
@badger.add 'travis'
|
116
|
+
@badger[0].should == '[![Build Status](http://img.shields.io/travis/pikesley/diabetes-dashboard.svg)](https://travis-ci.org/pikesley/diabetes-dashboard)'
|
117
|
+
end
|
112
118
|
end
|
113
119
|
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.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pikesley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|