mt940_parser 1.4.1 → 1.4.2

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: 6583d3241b3e23eb88a51f25872943ae27dd1a3a
4
- data.tar.gz: ce62a74b3a9c0795ae92dc9c6739791acc10c341
3
+ metadata.gz: 17596b27612729b7edd98c55da6ae9476f209a87
4
+ data.tar.gz: 393359bde883692d86ceea4a39db17e5e5c2999c
5
5
  SHA512:
6
- metadata.gz: ed5cbc27df2583262ae2a321040b6076406cfc11a39a29e0feb4ef6f0d00eae144c56cabaa879fe912a158eb6899bf32fb5c176ac1adeb1aea1a80970bcef4e8
7
- data.tar.gz: a0025cb263cddb8305c174a6d05247fb05a4215ad8970dfeadccfb35aa93a261672877d72e5be11beea8984c0de0cf05a47214236cb633b0c251f40772263957
6
+ metadata.gz: 550267032a9d3b097fece386a4644e9bfc1dd3b9c62c6fdd385b3d41b84705e0b1bccf75abc5da7f4ba1b1f65f176b7ba3ffe90365a84877a6bae0aa10dfe775
7
+ data.tar.gz: 4c26dda885e42c91eb0e8d1553195d556b867b2a35f029af54b4df7535256ad4d9c68110ad53d06ba93f70b8dd7232c8f72536faab37a8d72ed1117cc80eca8d
data/.travis.yml CHANGED
@@ -8,3 +8,5 @@ matrix:
8
8
  allow_failures:
9
9
  - rvm: ruby-head
10
10
  - rvm: jruby-head
11
+ env:
12
+ - CODECLIMATE_REPO_TOKEN=fadbdd7769b9a01ae6b8e3c8b2adf2de3049c87f8407c502fbe11d10578f1d43
data/Gemfile CHANGED
@@ -5,3 +5,7 @@ gemspec
5
5
  group :development do
6
6
  gem "byebug", platform: :mri
7
7
  end
8
+
9
+ group :test do
10
+ gem "codeclimate-test-reporter", require: nil
11
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.1
1
+ 1.4.2
data/lib/mt940/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class MT940
2
2
  # MT940 version
3
- VERSION = '1.4.1'
3
+ VERSION = '1.4.2'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/mt940_parser.gemspec CHANGED
@@ -1,39 +1,39 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mt940_parser 1.4.1 ruby lib
2
+ # stub: mt940_parser 1.4.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mt940_parser"
6
- s.version = "1.4.1"
6
+ s.version = "1.4.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Thies C. Arntzen", "Phillip Oertel"]
11
- s.date = "2015-07-09"
11
+ s.date = "2015-09-10"
12
12
  s.description = "Ruby library that parses account statements in the SWIFT MT940 format."
13
13
  s.email = "developers@betterplace.org"
14
14
  s.extra_rdoc_files = ["README.rdoc", "lib/mt940.rb", "lib/mt940/customer_statement_message.rb", "lib/mt940/errors.rb", "lib/mt940/version.rb"]
15
- s.files = [".document", ".gitignore", ".specification", ".travis.yml", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "VERSION.yml", "docs/0E0Y00DNY.pdf", "docs/FinTS_4.0_Formals.pdf", "docs/FinTS_4.0_Messages_Finanzdatenformate.pdf", "docs/MT940_Deutschland_Structure2002.pdf", "docs/SEPA_20MT940__Schnittstellenbeschreibung.pdf", "docs/mt940.pdf", "docs/swift_mt940_942.pdf", "docs/uebersicht_der_geschaeftsvorfallcodes_und_buchungs_textschluessel.pdf", "lib/mt940.rb", "lib/mt940/customer_statement_message.rb", "lib/mt940/errors.rb", "lib/mt940/version.rb", "mt940_parser.gemspec", "test/fixtures/amount_formats.txt", "test/fixtures/amount_formats.yml", "test/fixtures/currency_in_25.txt", "test/fixtures/currency_in_25.yml", "test/fixtures/empty_86.txt", "test/fixtures/empty_86.yml", "test/fixtures/empty_entry_date.txt", "test/fixtures/empty_entry_date.yml", "test/fixtures/empty_line.txt", "test/fixtures/empty_line.yml", "test/fixtures/missing_crlf_at_end.txt", "test/fixtures/missing_crlf_at_end.yml", "test/fixtures/sepa_mt9401.txt", "test/fixtures/sepa_mt9401.yml", "test/fixtures/sepa_snippet.txt", "test/fixtures/sepa_snippet_broken.txt", "test/fixtures/with_binary_character.txt", "test/fixtures/with_binary_character.yml", "test/helper.rb", "test/test_customer_statement_message.rb", "test/test_mt940.rb"]
15
+ s.files = [".document", ".gitignore", ".specification", ".travis.yml", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "VERSION.yml", "docs/0E0Y00DNY.pdf", "docs/FinTS_4.0_Formals.pdf", "docs/FinTS_4.0_Messages_Finanzdatenformate.pdf", "docs/MT940_Deutschland_Structure2002.pdf", "docs/SEPA_20MT940__Schnittstellenbeschreibung.pdf", "docs/mt940.pdf", "docs/swift_mt940_942.pdf", "docs/uebersicht_der_geschaeftsvorfallcodes_und_buchungs_textschluessel.pdf", "lib/mt940.rb", "lib/mt940/customer_statement_message.rb", "lib/mt940/errors.rb", "lib/mt940/version.rb", "mt940_parser.gemspec", "test/fixtures/amount_formats.txt", "test/fixtures/amount_formats.yml", "test/fixtures/currency_in_25.txt", "test/fixtures/currency_in_25.yml", "test/fixtures/empty_86.txt", "test/fixtures/empty_86.yml", "test/fixtures/empty_entry_date.txt", "test/fixtures/empty_entry_date.yml", "test/fixtures/empty_line.txt", "test/fixtures/empty_line.yml", "test/fixtures/missing_crlf_at_end.txt", "test/fixtures/missing_crlf_at_end.yml", "test/fixtures/sepa_mt9401.txt", "test/fixtures/sepa_mt9401.yml", "test/fixtures/sepa_snippet.txt", "test/fixtures/sepa_snippet_broken.txt", "test/fixtures/with_binary_character.txt", "test/fixtures/with_binary_character.yml", "test/test_customer_statement_message.rb", "test/test_helper.rb", "test/test_mt940.rb"]
16
16
  s.homepage = "http://github.com/betterplace/mt940_parser"
17
17
  s.licenses = ["MIT"]
18
18
  s.rdoc_options = ["--title", "Mt940Parser - MT940 parses account statements in the SWIFT MT940 format.", "--main", "README.rdoc"]
19
19
  s.rubygems_version = "2.4.8"
20
20
  s.summary = "MT940 parses account statements in the SWIFT MT940 format."
21
- s.test_files = ["test/test_customer_statement_message.rb", "test/test_mt940.rb"]
21
+ s.test_files = ["test/test_customer_statement_message.rb", "test/test_helper.rb", "test/test_mt940.rb"]
22
22
 
23
23
  if s.respond_to? :specification_version then
24
24
  s.specification_version = 4
25
25
 
26
26
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
- s.add_development_dependency(%q<gem_hadar>, ["~> 1.0.0"])
27
+ s.add_development_dependency(%q<gem_hadar>, ["~> 1.3.1"])
28
28
  s.add_development_dependency(%q<test-unit>, [">= 0"])
29
29
  s.add_development_dependency(%q<simplecov>, [">= 0"])
30
30
  else
31
- s.add_dependency(%q<gem_hadar>, ["~> 1.0.0"])
31
+ s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
32
32
  s.add_dependency(%q<test-unit>, [">= 0"])
33
33
  s.add_dependency(%q<simplecov>, [">= 0"])
34
34
  end
35
35
  else
36
- s.add_dependency(%q<gem_hadar>, ["~> 1.0.0"])
36
+ s.add_dependency(%q<gem_hadar>, ["~> 1.3.1"])
37
37
  s.add_dependency(%q<test-unit>, [">= 0"])
38
38
  s.add_dependency(%q<simplecov>, [">= 0"])
39
39
  end
@@ -1,4 +1,4 @@
1
- require_relative 'helper'
1
+ require_relative 'test_helper'
2
2
 
3
3
 
4
4
  # $DEBUG = true
@@ -4,8 +4,10 @@ if ENV['START_SIMPLECOV'].to_i == 1
4
4
  add_filter "#{File.basename(File.dirname(__FILE__))}/"
5
5
  end
6
6
  end
7
- require 'rubygems'
8
- require 'yaml'
7
+ if ENV['CODECLIMATE_REPO_TOKEN']
8
+ require "codeclimate-test-reporter"
9
+ CodeClimate::TestReporter.start
10
+ end
9
11
  require 'test/unit'
10
12
  begin
11
13
  require 'byebug'
data/test/test_mt940.rb CHANGED
@@ -1,4 +1,5 @@
1
- require_relative 'helper'
1
+ require_relative 'test_helper'
2
+ require 'yaml'
2
3
 
3
4
  # $DEBUG = true
4
5
  class TestMt940 < Test::Unit::TestCase
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mt940_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thies C. Arntzen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-09 00:00:00.000000000 Z
12
+ date: 2015-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_hadar
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.0
20
+ version: 1.3.1
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.0
27
+ version: 1.3.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: test-unit
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -105,8 +105,8 @@ files:
105
105
  - test/fixtures/sepa_snippet_broken.txt
106
106
  - test/fixtures/with_binary_character.txt
107
107
  - test/fixtures/with_binary_character.yml
108
- - test/helper.rb
109
108
  - test/test_customer_statement_message.rb
109
+ - test/test_helper.rb
110
110
  - test/test_mt940.rb
111
111
  homepage: http://github.com/betterplace/mt940_parser
112
112
  licenses:
@@ -138,4 +138,5 @@ specification_version: 4
138
138
  summary: MT940 parses account statements in the SWIFT MT940 format.
139
139
  test_files:
140
140
  - test/test_customer_statement_message.rb
141
+ - test/test_helper.rb
141
142
  - test/test_mt940.rb