badgerbadgerbadger 0.8.1 → 0.8.2

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: 109c1451027d1ef6666265c6fc42cc1b5849308a
4
- data.tar.gz: 857fb8e3b22048b08e4f4bf2ca476616a965818d
3
+ metadata.gz: 3485c8ffd28bdd32ae9a4e42bbb32aa4fa1bad99
4
+ data.tar.gz: 79fb67b4e0ba61450275c3ceba1a5c79733d1870
5
5
  SHA512:
6
- metadata.gz: c55f9a58352fc589c3e143e0d3936fc97dd876d44e95b0fd21f9fb0be668ee0358e3829460bcac13c38b82e33ca02e1db9ba90edd6989ef8686508d8295a83d3
7
- data.tar.gz: 8e39591e4ea114f2806ad3282af6a38b8bc8773e07d252daf03959d63f940edb698eeee421b646f7ae87690239bc807313a63661b3c0b066fc4051bd0581e0c1
6
+ metadata.gz: 66ceff7a709d8034c19e2963c48d94af212e24936ccdd2882e44da808dc4e47fbf2bbc810fefe2f87a302ea70d81116748274a158ba36e6b4630aa2aaa9833d9
7
+ data.tar.gz: ab7fd3b07922f3354b7fd54a8027437e938bd6324ef242074ba5f2fcad4c73e409cff6914df32902ac7b0207fb18b3b96f1852f6d57aae9861aa2db52d20e515
@@ -4,6 +4,10 @@ module Badger
4
4
  include Singleton
5
5
 
6
6
  def initialize
7
+ reset!
8
+ end
9
+
10
+ def reset!
7
11
  @config = fetch_yaml 'config'
8
12
  @services = fetch_yaml 'services'
9
13
  @licenses = fetch_yaml 'licenses'
@@ -1,3 +1,3 @@
1
1
  module Badger
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
@@ -3,10 +3,13 @@ require 'spec_helper'
3
3
  module Badger
4
4
  describe Badger do
5
5
  before :each do
6
- Config.instance.config['badge_type'] = 'svg'
7
6
  @badger = Badger.new "https://github.com/doge/wow"
8
7
  end
9
8
 
9
+ after :each do
10
+ Config.instance.reset!
11
+ end
12
+
10
13
  context 'initialisation' do
11
14
  it 'should have no badges by default' do
12
15
  @badger.length.should == 0
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.8.1
4
+ version: 0.8.2
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-04 00:00:00.000000000 Z
11
+ date: 2014-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor