fozzie 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
data/fozzie.gemspec CHANGED
@@ -5,7 +5,7 @@ require "fozzie/version"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "fozzie"
7
7
  s.version = Fozzie::VERSION
8
- s.authors = ["Marc Watts", "Mark Barger", "Dave Nolan"]
8
+ s.authors = ["Marc Watts", "Dave Nolan"]
9
9
  s.email = ["marc.watts@lonelyplanet.co.uk"]
10
10
  s.summary = %q{Statsd Ruby gem from Lonely Planet Online}
11
11
  s.description = %q{
@@ -27,7 +27,7 @@ module Fozzie
27
27
 
28
28
  # Returns the origin name of the current machine to register the stat against
29
29
  def origin_name
30
- @origin_name ||= Uname.uname.nodename
30
+ @origin_name ||= Uname.nodename
31
31
  end
32
32
 
33
33
  def sniff?
@@ -1,3 +1,3 @@
1
1
  module Fozzie
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
@@ -36,9 +36,8 @@ describe Fozzie::Configuration do
36
36
  end
37
37
 
38
38
  it "creates a prefix with origin" do
39
- subject.stubs(:origin_name).returns("app.server.local")
40
39
  subject.appname = 'astoria'
41
- subject.data_prefix.should eq 'astoria.app-server-local.test'
40
+ subject.data_prefix.should match /^astoria\.(\S+)\.test$/
42
41
  end
43
42
 
44
43
  it "handles missing configuration namespace" do
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fozzie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marc Watts
9
- - Mark Barger
10
9
  - Dave Nolan
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-06-06 00:00:00.000000000 Z
13
+ date: 2012-06-15 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: sys-uname
@@ -279,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
278
  version: '0'
280
279
  segments:
281
280
  - 0
282
- hash: 3531054699927461571
281
+ hash: -2592284232910855340
283
282
  required_rubygems_version: !ruby/object:Gem::Requirement
284
283
  none: false
285
284
  requirements:
@@ -288,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
287
  version: '0'
289
288
  segments:
290
289
  - 0
291
- hash: 3531054699927461571
290
+ hash: -2592284232910855340
292
291
  requirements: []
293
292
  rubyforge_project: fozzie
294
293
  rubygems_version: 1.8.24