simple-graphite 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/simple-graphite.rb +8 -0
  2. metadata +5 -5
@@ -17,4 +17,12 @@ class Graphite
17
17
  def hostname
18
18
  Socket.gethostname
19
19
  end
20
+
21
+ def self.time_now
22
+ @time = Time.now.to_i
23
+ end
24
+
25
+ def time_now
26
+ self.time_now
27
+ end
20
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: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 0
10
- version: 1.0.0
10
+ version: 1.1.0
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-19 00:00:00 +00:00
18
+ date: 2010-06-20 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -35,7 +35,7 @@ files:
35
35
  - LICENSE
36
36
  - README.rdoc
37
37
  has_rdoc: true
38
- homepage: http://github.com/ianmmeyer/simple-graphite
38
+ homepage: http://github.com/imeyer/simple-graphite
39
39
  licenses: []
40
40
 
41
41
  post_install_message: