mail_diff 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/mail_diff/html_generators/line_generator.rb +2 -2
- data/mail_diff.gemspec +2 -5
- metadata +6 -6
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
|
@@ -45,7 +45,7 @@ private
|
|
|
45
45
|
def added_html
|
|
46
46
|
wrapper do
|
|
47
47
|
%Q[<td valign="top" style="padding: .3em 1em;">
|
|
48
|
-
<pre style="width:auto; margin: 0; border: 0; padding: 0; white-space: pre-wrap; font: 11px Monaco, 'Lucida Console', Consolas, 'Courier New', monospace;"><span
|
|
48
|
+
<pre style="width:auto; margin: 0; border: 0; padding: 0; white-space: pre-wrap; font: 11px Monaco, 'Lucida Console', Consolas, 'Courier New', monospace;"><span style="background-color: #E0F2CE; color: #030;">#{ line.format }</span></pre>
|
|
49
49
|
</td>]
|
|
50
50
|
end
|
|
51
51
|
end
|
|
@@ -53,7 +53,7 @@ private
|
|
|
53
53
|
def deleted_html
|
|
54
54
|
wrapper do
|
|
55
55
|
%Q[<td valign="top" style="padding: .3em 1em;">
|
|
56
|
-
<pre style="width:auto; margin: 0; border: 0; padding: 0; white-space: pre-wrap; font: 11px Monaco, 'Lucida Console', Consolas, 'Courier New', monospace;"><span
|
|
56
|
+
<pre style="width:auto; margin: 0; border: 0; padding: 0; white-space: pre-wrap; font: 11px Monaco, 'Lucida Console', Consolas, 'Courier New', monospace;"><span style="background-color: #FDD; color: #300;">#{ line.format }</span></pre>
|
|
57
57
|
</td>]
|
|
58
58
|
end
|
|
59
59
|
end
|
data/mail_diff.gemspec
CHANGED
|
@@ -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.
|
|
8
|
+
s.version = "0.1.2"
|
|
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-
|
|
12
|
+
s.date = %q{2011-10-03}
|
|
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,9 +39,6 @@ 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
|
-
]
|
|
45
42
|
|
|
46
43
|
if s.respond_to? :specification_version then
|
|
47
44
|
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:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
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-
|
|
18
|
+
date: 2011-10-03 00:00:00 +08: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
|
+
|