smilodon 0.3.8 → 0.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 151a8d74f913dd890dbab81a416893da686e039f
4
+ data.tar.gz: 40f3ebef13f1df555695a60589a7e2e83612dc9f
5
+ SHA512:
6
+ metadata.gz: b3b23046bfeb0d557231e0233a5c9367cd03563410a8cda04bd4b46a38bd688d79ba32c59801226a4a81f68a6630347ad5a1774ba59e046d0c7871244edb2bb0
7
+ data.tar.gz: 7f566d9f4c4af1d941d9175ace2e0aa031b56294974a785d63e877bc24578e45e46e3008f7005c985a9413ed8820a79546634dd03eeb9c0951ba42aa2638c895
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
4
  gem 'rake'
data/Gemfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
4
  diff-lcs (1.1.3)
5
5
  rake (0.9.2.2)
data/lib/smilodon.rb CHANGED
@@ -122,7 +122,7 @@ 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
+ File.open(path(file), 'r:UTF-8').read
126
126
  end
127
127
  end
128
128
  end
@@ -1,3 +1,3 @@
1
1
  module Smilodon
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
@@ -1,6 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'smilodon/fakes'
3
3
  require 'rake'
4
+ require 'yaml'
4
5
 
5
6
  load 'tasks/populate.rake'
6
7
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smilodon
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.3.8
4
+ version: 0.3.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Umang Chouhan
@@ -11,7 +10,7 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-03-26 00:00:00.000000000 Z
13
+ date: 2013-04-03 00:00:00.000000000 Z
15
14
  dependencies: []
16
15
  description: Smilodon is a utility to parse data files.
17
16
  email:
@@ -47,6 +46,7 @@ files:
47
46
  - spec/test_files/foo.csv
48
47
  homepage: http://github.com/optimis/smilodon
49
48
  licenses: []
49
+ metadata: {}
50
50
  post_install_message:
51
51
  rdoc_options: []
52
52
  require_paths:
@@ -54,21 +54,19 @@ require_paths:
54
54
  - lib/smilodon
55
55
  required_ruby_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ! '>='
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
- none: false
61
60
  required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  requirements:
63
- - - ! '>='
62
+ - - '>='
64
63
  - !ruby/object:Gem::Version
65
64
  version: '0'
66
- none: false
67
65
  requirements: []
68
66
  rubyforge_project:
69
- rubygems_version: 1.8.23
67
+ rubygems_version: 2.0.0
70
68
  signing_key:
71
- specification_version: 3
69
+ specification_version: 4
72
70
  summary: Smilodon is a utility to parse data files.
73
71
  test_files:
74
72
  - spec/lib/smilodon_spec.rb