From 13f4775cdb91f8aeac045d69d9c9a59ee8792a4d Mon Sep 17 00:00:00 2001 From: Daniel Hahn Date: Wed, 18 Apr 2012 19:12:19 +0200 Subject: [PATCH 1/5] Version bump to 1.0.2 --- VERSION.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION.yml b/VERSION.yml index 1348797..4a08c4f 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,5 +1,5 @@ ---- -:patch: 1 -:build: +--- :major: 1 :minor: 0 +:patch: 2 +:build: From 00172fd728f0852268d1eb0129b8067791213557 Mon Sep 17 00:00:00 2001 From: Daniel Hahn Date: Wed, 18 Apr 2012 19:12:27 +0200 Subject: [PATCH 2/5] Regenerate gemspec for version 1.0.2 --- mt940_parser.gemspec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/mt940_parser.gemspec b/mt940_parser.gemspec index b932d89..f1e4d57 100644 --- a/mt940_parser.gemspec +++ b/mt940_parser.gemspec @@ -4,13 +4,13 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| - s.name = %q{mt940_parser} - s.version = "1.0.1" + s.name = "mt940_parser" + s.version = "1.0.2" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Thies C. Arntzen", "Phillip Oertel"] - s.date = %q{2011-02-28} - s.email = %q{developers@betterplace.org} + s.date = "2012-04-18" + s.email = "developers@betterplace.org" s.extra_rdoc_files = [ "LICENSE", "README.rdoc" @@ -39,6 +39,8 @@ Gem::Specification.new do |s| "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", @@ -47,15 +49,17 @@ Gem::Specification.new do |s| "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" ] - s.homepage = %q{http://github.com/betterplace/mt940_parser} + s.homepage = "http://github.com/betterplace/mt940_parser" s.licenses = ["MIT"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} - s.summary = %q{MT940 parses account statements in the SWIFT MT940 format.} + s.rubygems_version = "1.8.21" + s.summary = "MT940 parses account statements in the SWIFT MT940 format." s.test_files = [ "test/helper.rb", "test/test_customer_statement_message.rb", @@ -63,7 +67,6 @@ Gem::Specification.new do |s| ] if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then From 85960a3a54a1f3c072e57c917f22fd926dc0f168 Mon Sep 17 00:00:00 2001 From: Daniel Hahn Date: Fri, 20 Apr 2012 10:56:32 +0200 Subject: [PATCH 3/5] Removed Thies' favourite quote marks due to encoding problems --- Gemfile.lock | 6 +++--- lib/mt940.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f8dbcc9..a313ea4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,14 @@ GEM remote: http://rubygems.org/ specs: - diff-lcs (1.1.2) + diff-lcs (1.1.3) git (1.2.5) jeweler (1.5.2) bundler (~> 1.0.0) git (>= 1.2.5) rake - rake (0.8.7) - rcov (0.9.9) + rake (0.9.2.2) + rcov (1.0.0) rspec (2.3.0) rspec-core (~> 2.3.0) rspec-expectations (~> 2.3.0) diff --git a/lib/mt940.rb b/lib/mt940.rb index 9bb3a4b..a7998ee 100644 --- a/lib/mt940.rb +++ b/lib/mt940.rb @@ -221,7 +221,7 @@ def parse_content(content) else @not_implemented_fields ||= [] @not_implemented_fields << [code, content] - $stderr << "code not implemented: code:#{code} content:»#{content}«\n" if $DEBUG + $stderr << "code not implemented: code:#{code} content: \"#{content}\"\n" if $DEBUG end end end From 45de4a4da4ae4148a63e5af9b41bf6a1450846ba Mon Sep 17 00:00:00 2001 From: Daniel Hahn Date: Fri, 20 Apr 2012 10:56:54 +0200 Subject: [PATCH 4/5] Version bump to 1.0.3 --- VERSION.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.yml b/VERSION.yml index 4a08c4f..9b9fd86 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,5 +1,5 @@ ---- +--- :major: 1 :minor: 0 -:patch: 2 :build: +:patch: 3 From adae6922c6f9982e12dd9285a9966a9425e58129 Mon Sep 17 00:00:00 2001 From: Daniel Hahn Date: Fri, 20 Apr 2012 10:56:57 +0200 Subject: [PATCH 5/5] Regenerate gemspec for version 1.0.3 --- mt940_parser.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mt940_parser.gemspec b/mt940_parser.gemspec index f1e4d57..3210142 100644 --- a/mt940_parser.gemspec +++ b/mt940_parser.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = "mt940_parser" - s.version = "1.0.2" + s.version = "1.0.3" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Thies C. Arntzen", "Phillip Oertel"] - s.date = "2012-04-18" + s.date = "2012-04-20" s.email = "developers@betterplace.org" s.extra_rdoc_files = [ "LICENSE", @@ -58,7 +58,7 @@ Gem::Specification.new do |s| s.homepage = "http://github.com/betterplace/mt940_parser" s.licenses = ["MIT"] s.require_paths = ["lib"] - s.rubygems_version = "1.8.21" + s.rubygems_version = "1.8.15" s.summary = "MT940 parses account statements in the SWIFT MT940 format." s.test_files = [ "test/helper.rb",