cinch-storage 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,5 +14,11 @@ class CinchStorage
14
14
  YAML::dump(@data, file)
15
15
  end
16
16
  end
17
+
18
+ def synced_save(bot)
19
+ bot.synchronize(@filename) do
20
+ save
21
+ end
22
+ end
17
23
  end
18
24
 
@@ -1,5 +1,5 @@
1
1
  module Cinch
2
2
  module Storage
3
- VERSION = "0.0.1"
3
+ VERSION = "0.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: 0.0.1
4
+ version: 0.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-05-01 00:00:00.000000000 Z
12
+ date: 2013-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: psych