smilodon 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Smilodon
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
data/lib/smilodon.rb CHANGED
@@ -122,7 +122,8 @@ module Smilodon
122
122
  def read(file)
123
123
  raise DataFileNotConfigured unless file
124
124
  raise MissingDataFile unless File.exist?(path(file))
125
- File.read path(file)
125
+
126
+ Iconv.conv 'UTF-8', 'ISO-8859-1', File.read(path(file))
126
127
  end
127
128
  end
128
129
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smilodon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Umang Chouhan
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-05-12 00:00:00 Z
20
+ date: 2012-07-25 00:00:00 Z
21
21
  dependencies: []
22
22
 
23
23
  description: Smilodon is a utility to parse data files.