cinch-storage 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,5 +22,5 @@ Gem::Specification.new do |gem|
22
22
  gem.add_development_dependency 'coveralls'
23
23
  gem.add_development_dependency 'cinch-test'
24
24
 
25
- gem.add_dependency 'psych', '~> 1.3.4'
25
+ gem.add_dependency 'psych', '~> 2.0.0'
26
26
  end
@@ -6,13 +6,13 @@ class CinchStorage
6
6
 
7
7
  def initialize(file, init = Hash.new)
8
8
  @filename = file
9
- @data = YAML::load(File.open(@filename)) if File::exist?(@filename)
9
+ @data = Psych::load(File.open(@filename)) if File::exist?(@filename)
10
10
  @data ||= init
11
11
  end
12
12
 
13
13
  def save
14
14
  File.open(@filename, 'w') do |file|
15
- YAML::dump(@data, file)
15
+ Psych::dump(@data, file)
16
16
  end
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  module Cinch
2
2
  module Storage
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
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: 2013-07-04 00:00:00.000000000 Z
12
+ date: 2013-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 1.3.4
85
+ version: 2.0.0
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 1.3.4
93
+ version: 2.0.0
94
94
  description: Simle YAML backed Storage solution for Cinch plugins.
95
95
  email:
96
96
  - bhaberer@gmail.com
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 1.8.24
132
+ rubygems_version: 1.8.25
133
133
  signing_key:
134
134
  specification_version: 3
135
135
  summary: Simle YAML backed Storage solution for Cinch plugins.