xml-registry 0.1.7 → 0.1.8

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/xml-registry.rb +1 -1
  2. metadata +2 -2
data/lib/xml-registry.rb CHANGED
@@ -53,7 +53,7 @@ class XMLRegistry
53
53
  end
54
54
 
55
55
  def save(s)
56
- File.open(s){|f| f.write @doc.xml}
56
+ File.open(s, 'w'){|f| f.write @doc.xml}
57
57
  end
58
58
 
59
59
  def import(s)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: xml-registry
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.7
5
+ version: 0.1.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-14 00:00:00 +00:00
13
+ date: 2012-01-15 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies: []
16
16