iif-parser 1.0.8 → 1.0.9

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: c658204836a14bedfc2ae321b223abbd06dab507
4
- data.tar.gz: a11dc3f0c2dafa194acff562c800071b2a5408da
3
+ metadata.gz: fcc03a3d56f05bc683eb8920794ced29e55fc6c8
4
+ data.tar.gz: 38662192531e173c1294b464709af756d645be1a
5
5
  SHA512:
6
- metadata.gz: a55d2bbf28c118d4a9959f1612fe4e51d0d5c4702657bddaf70a74a245b9bedb7599a8399eaf5ff390e9c24b2eba5bb65d6ec18a5bb46cc010c7095bd18c2d09
7
- data.tar.gz: 939c425cbfefc251258f69230b19c6df9f224953d23096c44002a0a602600fe76306c26162f93f44f8190e3e9bdeab47b3d96cd736bd03a4e554d4324a6e9ffe
6
+ metadata.gz: 0ab2573bd510417f22d5839561a776bd812cfaafd030214eb07933d5a830861f72ba557d3a5a7b1113f5e69cf55dcbff353836371b6f79a2423e5f60bde08bc6
7
+ data.tar.gz: 72f98ce598c8476bc83357fe5699fb4745ec09bb024e5bbe8d8ed030346c8db389d3ca23247be97cd9ff08ac213ff2a749ea9f90a8f630029b46a8e4150d3151
@@ -1,5 +1,5 @@
1
1
  module Iif
2
2
  class Parser
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
data/lib/iif/parser.rb CHANGED
@@ -14,7 +14,7 @@ module Iif
14
14
  @definitions = {}
15
15
  @entries = []
16
16
  @transactions = []
17
-
17
+ resource.gsub!(/\r\n?/, "\n") # dos to unix EOL conversion
18
18
  resource = open_resource(resource)
19
19
  resource.rewind
20
20
  parse_file(resource)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iif-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Pelczarski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec