fixed_width_file_parser 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: 3455ef0663d655e5f0e6961429d6a3aa69eae6a0
4
- data.tar.gz: fdf7ab1baa2f5047f8d9720b42c659a0c9276dba
3
+ metadata.gz: 04730af88a0166b4bb3867a05e16e8809b88ee9c
4
+ data.tar.gz: 841b3ff29e6317526003204f9d416410a3c7da08
5
5
  SHA512:
6
- metadata.gz: 8ed8bf0c4ff9214fb096c43c0df00f2b2a446232a4459538f947f6fbd8d903921375a1c5e161072cc7eff82486821a3321e348e1f3c06fc6954d16d39f8fab46
7
- data.tar.gz: f5808f8824d113cde29ecb1b24503050cbe39550ce47b8cb9a7ed9952c3095219b516d11800dacc4b7ade542643d9a29fa931734869f7beb3e9eaa4d405ffeba
6
+ metadata.gz: 043a55b1803586954e8e31507401cc17303e4bcb40eda28893323d93256906735f555918a013490eee840e7aa6d74f6f82f7baed5143f25df9824a642a157d80
7
+ data.tar.gz: b048ec7f10529162fe334433d015f3aa884837bcbd142a3648ebb06635d62b328c39cf22e037570f19a3d05619c5a6598605714f49d28e0576560e390fcccc4b
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.0
3
+ - 2.2.2
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # FixedWidthFileParser
2
+ [![Build Status](https://travis-ci.org/elevatorup/fixed_width_file_parser.svg?branch=master)](https://travis-ci.org/elevatorup/fixed_width_file_parser)
3
+ [![Code Climate](https://codeclimate.com/github/elevatorup/fixed_width_file_parser/badges/gpa.svg)](https://codeclimate.com/github/elevatorup/fixed_width_file_parser)
2
4
 
3
5
  FixedWidthFileParser is used to parse fixed width files. Crazy right?
4
6
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
3
  Dir.glob('lib/tasks/**/*.rake').each(&method(:import))
4
+
5
+ task default: :spec
@@ -49,6 +49,8 @@ module FixedWidthFileParser
49
49
 
50
50
  while !file.eof?
51
51
  line = file.readline
52
+ # If the current line is blank, skip to the next line
53
+ next if line.blank?
52
54
 
53
55
  line_fields = {}
54
56
  fields.each do |field|
@@ -1,3 +1,3 @@
1
1
  module FixedWidthFileParser
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixed_width_file_parser
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
  - Jim Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2016-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.4.6
93
+ rubygems_version: 2.4.7
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Parse fixed width files easily and efficiently.