mail_diff 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -12,7 +12,7 @@ require 'cgi'
12
12
  # so that it doesn't interfere with the output.
13
13
  #
14
14
  class MailDiff::Diff
15
- CHUNK_REGEXP = /@@ .+ @@\n/
15
+ CHUNK_REGEXP = /^@@ .+ @@\n?/
16
16
 
17
17
  attr_reader :input, :options
18
18
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mail_diff}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilya Sabanin"]
12
- s.date = %q{2011-10-03}
12
+ s.date = %q{2012-04-18}
13
13
  s.description = %q{Version of PrettyDiff that generate markup that works in most email clients}
14
14
  s.email = %q{ilya.sabanin@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -39,6 +39,9 @@ Gem::Specification.new do |s|
39
39
  s.require_paths = ["lib"]
40
40
  s.rubygems_version = %q{1.3.7}
41
41
  s.summary = %q{Unified Diff to HTML converter for emails}
42
+ s.test_files = [
43
+ "test/dummy_mail_diff_test.rb"
44
+ ]
42
45
 
43
46
  if s.respond_to? :specification_version then
44
47
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_diff
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilya Sabanin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-03 00:00:00 +08:00
18
+ date: 2012-04-18 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -93,5 +93,5 @@ rubygems_version: 1.3.7
93
93
  signing_key:
94
94
  specification_version: 3
95
95
  summary: Unified Diff to HTML converter for emails
96
- test_files: []
97
-
96
+ test_files:
97
+ - test/dummy_mail_diff_test.rb