meter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/meter/backend.rb CHANGED
@@ -49,7 +49,7 @@ module Meter
49
49
 
50
50
  def namespace=(namespace) #:nodoc:
51
51
  @namespace = namespace
52
- @prefix = "#{namespace}."
52
+ @prefix = "#{namespace}." if @namespace
53
53
  end
54
54
 
55
55
  def host=(host) #:nodoc:
@@ -84,7 +84,7 @@ module Meter
84
84
  end
85
85
 
86
86
  def default_namespace
87
- 'meter'
87
+ nil
88
88
  end
89
89
 
90
90
  end
data/lib/meter/version.rb CHANGED
@@ -2,7 +2,7 @@ module Meter
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
@@ -46,8 +46,8 @@ describe Meter::Configuration do
46
46
  end
47
47
 
48
48
  it 'has the default namespace' do
49
- config.primary_backend.namespace.should == 'meter'
50
- config.secondary_backend.namespace.should == 'meter'
49
+ config.primary_backend.namespace.should == nil
50
+ config.secondary_backend.namespace.should == nil
51
51
  end
52
52
 
53
53
  it 'has the default port' do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: meter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - bukowskis