vcardio 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 545dbc5c082b15b136129c2d2d20bdc70c2bef75
4
- data.tar.gz: 56d160b847e807ee2568c69567feb648c7159fdf
3
+ metadata.gz: 35057a06f249827278063da9a75e43dcf3e1b388
4
+ data.tar.gz: 274c68e2565ac119c6f4f105871db925d4492893
5
5
  SHA512:
6
- metadata.gz: 325fc7cdc351a93e120a95a6a5352ee973f93d80c78fa229b9e117ce4a99c8b1093e248032114368fd087a62024fd7a518e1cee514206c70deaab3fe4daf92bb
7
- data.tar.gz: 7f268d967c979b97239436b848f1ed83736374214873447690dffbcc4a27df2ac3205ae5750d5bc607982ff074bd3edf177e36c90e6a193233ac33d16e0453c6
6
+ metadata.gz: cbd18c27d27c2507a8694965680713c01e3cac5e216898b30dca420e5a6bc39cedae07a797789578bceb23d62cfa4d4377887815dc1ac233593749c5d12c067c
7
+ data.tar.gz: 5c1f1d83d2a7d97a3b8d25f33fbadbfd72c7af82e2307f8efa19ccf8f5add9753bac2bfcc9c5f3f1670b5b145fc9fe5b5f588098dcc656ba53944691e4fc98c3
@@ -45,7 +45,13 @@ module VCardio
45
45
  alias_method :to_s, :to_abnf
46
46
 
47
47
  def to_file(path)
48
- File.write(path, to_abnf)
48
+ file = File.new(path, 'w')
49
+
50
+ file.write(to_abnf)
51
+ file.flush
52
+ file.close
53
+
54
+ file
49
55
  end
50
56
 
51
57
  def ==(other)
@@ -1,3 +1,3 @@
1
1
  module VCardio
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -20,9 +20,10 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  )
22
22
 
23
- spec.bindir = 'exe'
24
- spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
25
- spec.require_paths = ['lib']
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+ spec.required_ruby_version = '>= 1.9.2'
26
27
 
27
28
  spec.add_dependency 'manilla', '~> 1.0.0'
28
29
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcardio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: manilla
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
- version: '0'
144
+ version: 1.9.2
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - ">="