pretty_diff 0.3.0 → 0.3.1
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/README.rdoc +5 -1
- data/Rakefile +4 -4
- data/VERSION +1 -1
- data/pretty_diff.gemspec +7 -7
- metadata +5 -5
data/README.rdoc
CHANGED
|
@@ -24,7 +24,7 @@ The library is really easy to read and change. All HTML is concentrated in a sin
|
|
|
24
24
|
|
|
25
25
|
By default PrettyDiff will generate HTML that can be easily colored with the CSS that you can find in the example above.
|
|
26
26
|
|
|
27
|
-
PrettyDiff will generate 2 columns of line numbers, as it's usually done for diffs. These columns are copy
|
|
27
|
+
PrettyDiff will generate 2 columns of line numbers, as it's usually done for diffs. These columns are copy/paste safe, means that line numbers won't be copied when you copy diff contents.
|
|
28
28
|
|
|
29
29
|
Tabs will be automatically converted to double spaces.
|
|
30
30
|
|
|
@@ -38,4 +38,8 @@ The test suit can be somewhat improved.
|
|
|
38
38
|
|
|
39
39
|
The library was extracted from Beanstalk during the awesome Wildbit Open Source Fridays.
|
|
40
40
|
|
|
41
|
+
Read more about Open Source Fridays here:
|
|
42
|
+
|
|
43
|
+
http://wildbit.com/blog/2010/01/15/open-source-fridays-at-wildbit/
|
|
44
|
+
|
|
41
45
|
Copyright (c) 2010 Ilya Sabanin, Wildbit; see LICENSE for details.
|
data/Rakefile
CHANGED
|
@@ -6,13 +6,13 @@ begin
|
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
|
7
7
|
gem.name = "pretty_diff"
|
|
8
8
|
gem.summary = "Library for converting unified diff format into HTML listings."
|
|
9
|
-
gem.description = "PrettyDiff is
|
|
10
|
-
listings out of unified diff format.
|
|
11
|
-
and built-in syntax highlighting."
|
|
9
|
+
gem.description = "PrettyDiff is a highly customizable library for creating fully featured HTML
|
|
10
|
+
listings out of unified diff format strings.
|
|
11
|
+
Include copy/paste-safe line numbers and built-in syntax highlighting."
|
|
12
12
|
gem.email = "ilya.sabanin@gmail.com"
|
|
13
13
|
gem.homepage = "http://github.com/isabanin/pretty_diff"
|
|
14
14
|
gem.authors = ["Ilya Sabanin"]
|
|
15
|
-
gem.add_development_dependency "
|
|
15
|
+
gem.add_development_dependency "shoulda", ">= 0"
|
|
16
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
17
17
|
end
|
|
18
18
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.1
|
data/pretty_diff.gemspec
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{pretty_diff}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.1"
|
|
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
12
|
s.date = %q{2010-01-15}
|
|
13
|
-
s.description = %q{PrettyDiff is
|
|
14
|
-
listings out of unified diff format.
|
|
15
|
-
and built-in syntax highlighting.}
|
|
13
|
+
s.description = %q{PrettyDiff is a highly customizable library for creating fully featured HTML
|
|
14
|
+
listings out of unified diff format strings.
|
|
15
|
+
Include copy/paste-safe line numbers and built-in syntax highlighting.}
|
|
16
16
|
s.email = %q{ilya.sabanin@gmail.com}
|
|
17
17
|
s.extra_rdoc_files = [
|
|
18
18
|
"LICENSE",
|
|
@@ -59,12 +59,12 @@ Gem::Specification.new do |s|
|
|
|
59
59
|
s.specification_version = 3
|
|
60
60
|
|
|
61
61
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
62
|
-
s.add_development_dependency(%q<
|
|
62
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
|
63
63
|
else
|
|
64
|
-
s.add_dependency(%q<
|
|
64
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
65
65
|
end
|
|
66
66
|
else
|
|
67
|
-
s.add_dependency(%q<
|
|
67
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pretty_diff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ilya Sabanin
|
|
@@ -13,7 +13,7 @@ date: 2010-01-15 00:00:00 +07:00
|
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
16
|
+
name: shoulda
|
|
17
17
|
type: :development
|
|
18
18
|
version_requirement:
|
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -23,9 +23,9 @@ dependencies:
|
|
|
23
23
|
version: "0"
|
|
24
24
|
version:
|
|
25
25
|
description: |-
|
|
26
|
-
PrettyDiff is
|
|
27
|
-
listings out of unified diff format.
|
|
28
|
-
and built-in syntax highlighting.
|
|
26
|
+
PrettyDiff is a highly customizable library for creating fully featured HTML
|
|
27
|
+
listings out of unified diff format strings.
|
|
28
|
+
Include copy/paste-safe line numbers and built-in syntax highlighting.
|
|
29
29
|
email: ilya.sabanin@gmail.com
|
|
30
30
|
executables: []
|
|
31
31
|
|