simple-graphite 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +2 -2
  2. data/lib/simple-graphite.rb +1 -1
  3. metadata +4 -4
@@ -1,6 +1,6 @@
1
1
  = simple-graphite
2
2
 
3
- A simple interface into [Graphite](http://graphite.wikidot.com "Graphite").
3
+ A simple interface into [Graphite](http://graphite.wikidot.com).
4
4
 
5
5
  = How-to
6
6
 
@@ -13,7 +13,7 @@ or
13
13
 
14
14
  To push data to Graphite:
15
15
  g.push_to_graphite do |socket|
16
- socket.puts "your.metric.name 3.1415926 #{g.time}"
16
+ socket.puts "your.metric.name 3.1415926 #{g.time_now}"
17
17
  end
18
18
 
19
19
  == Note on Patches/Pull Requests
@@ -23,6 +23,6 @@ class Graphite
23
23
  end
24
24
 
25
25
  def time_now
26
- self.time_now
26
+ self.class.time_now
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-graphite
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ian Meyer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-20 00:00:00 +00:00
18
+ date: 2010-06-21 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21