├── .github ├── dependabot.yaml └── workflows │ └── codeql.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── Rakefile ├── email_reply_parser.gemspec ├── lib └── email_reply_parser.rb ├── script ├── release └── test └── test ├── email_reply_parser_test.rb └── emails ├── correct_sig.txt ├── email_1_1.txt ├── email_1_2.txt ├── email_1_3.txt ├── email_1_4.txt ├── email_1_5.txt ├── email_1_6.txt ├── email_1_7.txt ├── email_1_8.txt ├── email_2_1.txt ├── email_2_2.txt ├── email_2_3.txt ├── email_BlackBerry.txt ├── email_bullets.txt ├── email_iPhone.txt ├── email_long_quote.txt ├── email_multi_word_sent_from_my_mobile_device.txt ├── email_one_is_not_on.txt ├── email_sent_from_my_not_signature.txt ├── email_sig_delimiter_in_middle_of_line.txt ├── greedy_on.txt └── pathological.txt /.github/dependabot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/.github/dependabot.yaml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | pkg 2 | .ruby-version -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/Rakefile -------------------------------------------------------------------------------- /email_reply_parser.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/email_reply_parser.gemspec -------------------------------------------------------------------------------- /lib/email_reply_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/lib/email_reply_parser.rb -------------------------------------------------------------------------------- /script/release: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rake release 3 | -------------------------------------------------------------------------------- /script/test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rake test 3 | -------------------------------------------------------------------------------- /test/email_reply_parser_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/email_reply_parser_test.rb -------------------------------------------------------------------------------- /test/emails/correct_sig.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/correct_sig.txt -------------------------------------------------------------------------------- /test/emails/email_1_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_1.txt -------------------------------------------------------------------------------- /test/emails/email_1_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_2.txt -------------------------------------------------------------------------------- /test/emails/email_1_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_3.txt -------------------------------------------------------------------------------- /test/emails/email_1_4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_4.txt -------------------------------------------------------------------------------- /test/emails/email_1_5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_5.txt -------------------------------------------------------------------------------- /test/emails/email_1_6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_6.txt -------------------------------------------------------------------------------- /test/emails/email_1_7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_7.txt -------------------------------------------------------------------------------- /test/emails/email_1_8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_1_8.txt -------------------------------------------------------------------------------- /test/emails/email_2_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_2_1.txt -------------------------------------------------------------------------------- /test/emails/email_2_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_2_2.txt -------------------------------------------------------------------------------- /test/emails/email_2_3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_2_3.txt -------------------------------------------------------------------------------- /test/emails/email_BlackBerry.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my BlackBerry 4 | -------------------------------------------------------------------------------- /test/emails/email_bullets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_bullets.txt -------------------------------------------------------------------------------- /test/emails/email_iPhone.txt: -------------------------------------------------------------------------------- 1 | Here is another email 2 | 3 | Sent from my iPhone 4 | -------------------------------------------------------------------------------- /test/emails/email_long_quote.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_long_quote.txt -------------------------------------------------------------------------------- /test/emails/email_multi_word_sent_from_my_mobile_device.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_multi_word_sent_from_my_mobile_device.txt -------------------------------------------------------------------------------- /test/emails/email_one_is_not_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_one_is_not_on.txt -------------------------------------------------------------------------------- /test/emails/email_sent_from_my_not_signature.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_sent_from_my_not_signature.txt -------------------------------------------------------------------------------- /test/emails/email_sig_delimiter_in_middle_of_line.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/email_sig_delimiter_in_middle_of_line.txt -------------------------------------------------------------------------------- /test/emails/greedy_on.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/greedy_on.txt -------------------------------------------------------------------------------- /test/emails/pathological.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/email_reply_parser/HEAD/test/emails/pathological.txt --------------------------------------------------------------------------------