tinnef 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # tinnef
2
2
 
3
- [![Build Status](http://travis-ci.org/ledermann/tinnef.png)](http://travis-ci.org/ledermann/tinnef)
3
+ [![Build Status](https://secure.travis-ci.org/ledermann/tinnef.png)](http://travis-ci.org/ledermann/tinnef)
4
4
 
5
5
  This gem handles e-mail attachments packaged in the Microsoft "application/ms-tnef" MIME type. It's a Ruby wrapper for the [tnef converter](http://tnef.sourceforge.net).
6
6
 
@@ -1,3 +1,3 @@
1
1
  module Tinnef
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/tinnef.rb CHANGED
@@ -38,7 +38,7 @@ class TNEF
38
38
  command = options[:command] || 'tnef'
39
39
  dir = options[:dir]
40
40
 
41
- IO.popen("#{command} -K -C #{dir}", "w") do |f|
41
+ IO.popen("#{command} -K -C #{dir}", "wb") do |f|
42
42
  f.write(content)
43
43
  f.close
44
44
  if $?.signaled?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinnef
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Ledermann
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-25 00:00:00 Z
18
+ date: 2012-04-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  requirements: []
99
99
 
100
100
  rubyforge_project: .
101
- rubygems_version: 1.8.6
101
+ rubygems_version: 1.8.21
102
102
  signing_key:
103
103
  specification_version: 3
104
104
  summary: Ruby wrapper for tnef, a tool for unpacking 'winmail.dat' files
@@ -106,3 +106,4 @@ test_files:
106
106
  - test/fixtures/quick-winmail.dat
107
107
  - test/test_helper.rb
108
108
  - test/tinnef_test.rb
109
+ has_rdoc: