Skip to content
This repository
  • 4 commits
  • 3 files changed
  • 0 comments
  • 2 contributors
Nov 22, 2012
Scott Tadman tadman Removing STDOUT chatter from main module 8889d09
Dec 03, 2012
Mikel Lindsaar Merge pull request #468 from twg/master
Requiring module emits "Loading precompiled parsers from ruby source"
bac1461
Dec 04, 2012
Mikel Lindsaar Updating CHANGELOG 470256e
Mikel Lindsaar Version bump to 2.5.3 9c16d9d

Showing 3 changed files with 4 additions and 7 deletions. Show diff stats Hide diff stats

  1. +3 0  CHANGELOG.rdoc
  2. +1 1  lib/VERSION
  3. +0 6 lib/load_parsers.rb
3  CHANGELOG.rdoc
Source Rendered
... ... @@ -1,5 +1,8 @@
1 1 == HEAD
2 2
  3 +== Version 2.5.3 - Sun Dec 4 15:52:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
  4 +
  5 +* Close pull request 468 - Remove debug output to STDOUT (tadman)
3 6 * Fix up spec warnings
4 7 * Remove un needed require
5 8 * Ensure spec_helper constants only defined once
2  lib/VERSION
... ... @@ -1,4 +1,4 @@
1 1 major:2
2 2 minor:5
3   -patch:2
  3 +patch:3
4 4 build:
6 lib/load_parsers.rb
@@ -8,7 +8,6 @@ module Mail # :doc:
8 8
9 9 def self.compile_parser(parser)
10 10 require 'treetop/compiler'
11   - STDOUT.puts "Compiling parser #{parser} from treetop source"
12 11 Treetop.load(File.join(File.dirname(__FILE__)) + "/mail/parsers/#{parser}")
13 12 end
14 13
@@ -18,20 +17,15 @@ def self.compile_parser(parser)
18 17 content_transfer_encoding content_location ]
19 18
20 19 if defined?(MAIL_SPEC_SUITE_RUNNING)
21   - STDOUT.puts "Compiling all parsers from treetop source"
22   -
23 20 parsers.each do |parser|
24 21 compile_parser(parser)
25 22 end
26 23
27 24 else
28   - STDOUT.puts "Loading precompiled parsers from ruby source"
29   -
30 25 parsers.each do |parser|
31 26 begin
32 27 require "mail/parsers/#{parser}"
33 28 rescue LoadError
34   - STDOUT.puts "Couldn't load parser #{parser} from ruby source"
35 29 compile_parser(parser)
36 30 end
37 31 end

No commit comments for this range

Something went wrong with that request. Please try again.