docdiff 0.5.0 → 0.6.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.
- checksums.yaml +7 -0
- data/.travis.yml +5 -3
- data/Gemfile +1 -1
- data/Makefile +15 -19
- data/Rakefile +45 -10
- data/bin/docdiff +25 -13
- data/devutil/Rakefile +9 -0
- data/devutil/changelog.sh +40 -0
- data/docdiff.gemspec +4 -4
- data/docdiffwebui.cgi +1 -1
- data/langfilter.rb +1 -5
- data/lib/doc_diff.rb +5 -1
- data/lib/docdiff/charstring.rb +10 -285
- data/lib/docdiff/diff/contours.rb +2 -1
- data/lib/docdiff/diff/editscript.rb +2 -0
- data/lib/docdiff/diff/rcsdiff.rb +2 -0
- data/lib/docdiff/diff/shortestpath.rb +2 -0
- data/lib/docdiff/diff/speculative.rb +6 -3
- data/lib/docdiff/diff/subsequence.rb +2 -0
- data/lib/docdiff/diff/unidiff.rb +2 -1
- data/lib/docdiff/diff.rb +2 -0
- data/lib/docdiff/difference.rb +2 -0
- data/lib/docdiff/document.rb +2 -0
- data/lib/docdiff/encoding/en_ascii.rb +15 -40
- data/lib/docdiff/encoding/ja_eucjp.rb +15 -40
- data/lib/docdiff/encoding/ja_sjis.rb +15 -40
- data/lib/docdiff/encoding/ja_utf8.rb +15 -40
- data/lib/docdiff/version.rb +1 -1
- data/lib/docdiff/view.rb +16 -14
- data/lib/docdiff.rb +1 -1
- data/readme.html +41 -4
- data/readme.md +185 -0
- data/test/charstring_test.rb +16 -26
- data/test/diff_test.rb +2 -1
- data/test/difference_test.rb +2 -1
- data/test/docdiff_test.rb +12 -3
- data/test/document_test.rb +7 -6
- data/test/view_test.rb +3 -1
- metadata +23 -34
- data/devutil/JIS0208.TXT +0 -6952
- data/lib/viewdiff.rb +0 -375
- data/test/viewdiff_test.rb +0 -908
metadata
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: docdiff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.6.2
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Hisashi Morita
|
|
9
|
-
autorequire:
|
|
10
8
|
bindir: bin
|
|
11
9
|
cert_chain: []
|
|
12
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
11
|
dependencies: []
|
|
14
|
-
description:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
description: |-
|
|
13
|
+
DocDiff compares two text files and shows the
|
|
14
|
+
difference. It can compare files word by word,
|
|
15
|
+
character by character, or line by line. It has
|
|
16
|
+
several output formats such as HTML, tty, Manued,
|
|
17
|
+
or user-defined markup.
|
|
18
18
|
email:
|
|
19
|
-
- hisashim
|
|
19
|
+
- hisashim@icloud.com
|
|
20
20
|
executables:
|
|
21
21
|
- docdiff
|
|
22
22
|
extensions: []
|
|
23
23
|
extra_rdoc_files: []
|
|
24
24
|
files:
|
|
25
|
-
- .gitignore
|
|
26
|
-
- .travis.yml
|
|
25
|
+
- ".gitignore"
|
|
26
|
+
- ".travis.yml"
|
|
27
27
|
- Gemfile
|
|
28
28
|
- Guardfile
|
|
29
29
|
- Makefile
|
|
30
30
|
- Rakefile
|
|
31
31
|
- bin/docdiff
|
|
32
|
-
- devutil/
|
|
32
|
+
- devutil/Rakefile
|
|
33
|
+
- devutil/changelog.sh
|
|
33
34
|
- devutil/char_by_charclass.rb
|
|
34
35
|
- devutil/charclass_by_char.rb
|
|
35
36
|
- devutil/jis0208.rb
|
|
@@ -68,8 +69,8 @@ files:
|
|
|
68
69
|
- lib/docdiff/encoding/ja_utf8.rb
|
|
69
70
|
- lib/docdiff/version.rb
|
|
70
71
|
- lib/docdiff/view.rb
|
|
71
|
-
- lib/viewdiff.rb
|
|
72
72
|
- readme.html
|
|
73
|
+
- readme.md
|
|
73
74
|
- sample/01.en.ascii.cr
|
|
74
75
|
- sample/01.en.ascii.crlf
|
|
75
76
|
- sample/01.en.ascii.lf
|
|
@@ -93,37 +94,25 @@ files:
|
|
|
93
94
|
- test/document_test.rb
|
|
94
95
|
- test/test_helper.rb
|
|
95
96
|
- test/view_test.rb
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
homepage: https://github.com/hisashim/docdiff
|
|
98
|
+
licenses:
|
|
99
|
+
- BSD-3-Clause
|
|
100
|
+
metadata: {}
|
|
100
101
|
rdoc_options: []
|
|
101
102
|
require_paths:
|
|
102
103
|
- lib
|
|
103
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
|
-
none: false
|
|
105
105
|
requirements:
|
|
106
|
-
- -
|
|
106
|
+
- - ">="
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
108
|
version: '0'
|
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
|
-
none: false
|
|
111
110
|
requirements:
|
|
112
|
-
- -
|
|
111
|
+
- - ">="
|
|
113
112
|
- !ruby/object:Gem::Version
|
|
114
113
|
version: '0'
|
|
115
114
|
requirements: []
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
signing_key:
|
|
119
|
-
specification_version: 3
|
|
115
|
+
rubygems_version: 3.6.9
|
|
116
|
+
specification_version: 4
|
|
120
117
|
summary: Word-by-word diff
|
|
121
|
-
test_files:
|
|
122
|
-
- test/charstring_test.rb
|
|
123
|
-
- test/diff_test.rb
|
|
124
|
-
- test/difference_test.rb
|
|
125
|
-
- test/docdiff_test.rb
|
|
126
|
-
- test/document_test.rb
|
|
127
|
-
- test/test_helper.rb
|
|
128
|
-
- test/view_test.rb
|
|
129
|
-
- test/viewdiff_test.rb
|
|
118
|
+
test_files: []
|