utilitypack 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  require 'rubygems'
2
- require 'json/pure'
2
+ require 'json'
3
3
  require 'utility_pack/core_ext/file'
4
4
 
5
5
  module UtilityPack
@@ -14,11 +14,11 @@ module UtilityPack
14
14
  end
15
15
 
16
16
  def load
17
- File.exists?(@path) ? json_parse_file(@path) : {}
17
+ ::File.exists?(@path) ? json_parse_file(@path) : {}
18
18
  end
19
19
 
20
20
  def save h
21
- File.write_file @path, h.to_json
21
+ ::File.write_file @path, h.to_json
22
22
  end
23
23
 
24
24
  def [](key)
@@ -2,7 +2,7 @@ module UtilityPack
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Pfeil
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-11-06 01:00:00 -04:00
17
+ date: 2012-01-05 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20