json2graphite 0.0.7 → 0.0.8

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 (2) hide show
  1. data/lib/json2graphite.rb +2 -2
  2. metadata +2 -2
data/lib/json2graphite.rb CHANGED
@@ -23,8 +23,8 @@ module Json2Graphite
23
23
  end
24
24
 
25
25
  # For backward compatibility with other things
26
- alias_method :to_graphite, :dump
27
- alias_method :get_graphite, :dump_as_hash
26
+ instance_eval { alias :to_graphite :dump }
27
+ instance_eval { alias :get_graphite :dump_as_hash }
28
28
 
29
29
  # DOCUMENT THIS!!!
30
30
  def walk_the_forrest (obj=self, path=[], &blk)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json2graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-11 00:00:00.000000000 Z
12
+ date: 2013-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json