difflcs 0.6.2 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +24 -0
- data/{LICENSE.txt → LICENSE} +0 -0
- data/{README.txt → README} +26 -20
- data/Rakefile +2 -2
- data/lib/diff_l_c_s/version.rb +1 -1
- metadata +9 -8
- data/CHANGELOG.txt +0 -8
data/CHANGELOG
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
*0.6.4* (26 May 2009)
|
2
|
+
|
3
|
+
* Updated README
|
4
|
+
* Re-licensed to LGPL v3
|
5
|
+
|
6
|
+
|
7
|
+
*0.6.3* (4 February 2009)
|
8
|
+
|
9
|
+
* Updated README
|
10
|
+
|
11
|
+
|
12
|
+
*0.6.2* (20 January 2009)
|
13
|
+
|
14
|
+
* Updated link to docs in README
|
15
|
+
|
16
|
+
|
17
|
+
*0.6.1* (31 December 2008)
|
18
|
+
|
19
|
+
* Updated README
|
20
|
+
|
21
|
+
|
22
|
+
*0.6.0* (28 December 2008)
|
23
|
+
|
24
|
+
* First release as a gem
|
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/{README.txt → README}
RENAMED
@@ -1,4 +1,6 @@
|
|
1
|
-
= Diff Longest Common Sub String
|
1
|
+
= Diff Longest Common Sub String Gem documentation
|
2
|
+
|
3
|
+
-- The diff sniffing out texts every move
|
2
4
|
|
3
5
|
A resonably fast diff algoritm using longest common substrings that
|
4
6
|
can also find text that has moved.
|
@@ -26,7 +28,7 @@ NOTE: They are arrays, not strings.
|
|
26
28
|
=> {
|
27
29
|
:matched_old=>[0...2, 5...9, 2...4],
|
28
30
|
:matched_new=>[0...2, 3...7, 7...9]
|
29
|
-
}
|
31
|
+
}
|
30
32
|
|
31
33
|
As you see it can sniff out text that has moved too.
|
32
34
|
|
@@ -37,8 +39,7 @@ prevent too many matches;
|
|
37
39
|
=> {
|
38
40
|
:matched_old => PositionRange::List.from_s('5,9'),
|
39
41
|
:matched_new => PositionRange::List.from_s('3,7')
|
40
|
-
}
|
41
|
-
|
42
|
+
}
|
42
43
|
|
43
44
|
Diff can be called directly on strings too, if 'diff_l_c_s/string' is required.
|
44
45
|
|
@@ -49,31 +50,19 @@ Diff can be called directly on strings too, if 'diff_l_c_s/string' is required.
|
|
49
50
|
:matched_new=>[0...1, 1...2, 2...3]
|
50
51
|
}
|
51
52
|
|
52
|
-
== Download
|
53
|
-
|
54
|
-
The latest version of Diff LCS can be found at:
|
55
|
-
|
56
|
-
* http://rubyforge.org/frs/?group_id=7565
|
57
|
-
|
58
|
-
Documentation can be found at:
|
59
|
-
|
60
|
-
* http://difflcs.rubyforge.org
|
61
|
-
|
62
53
|
== Installation
|
63
54
|
|
64
55
|
You can install Diff LCS with the following command:
|
65
56
|
|
66
57
|
% [sudo] gem install difflcs
|
67
58
|
|
68
|
-
|
59
|
+
The latest version of Diff LCS can also be downloaded at:
|
69
60
|
|
70
|
-
|
71
|
-
|
72
|
-
== License
|
61
|
+
* http://rubyforge.org/frs/?group_id=7565
|
73
62
|
|
74
|
-
|
63
|
+
And then from its distribution directory installed with:
|
75
64
|
|
76
|
-
|
65
|
+
% [sudo] ruby install.rb
|
77
66
|
|
78
67
|
== Support
|
79
68
|
|
@@ -85,3 +74,20 @@ For the latest news on Diff LCS:
|
|
85
74
|
|
86
75
|
Feel free to submit commits or feature requests. If you send a patch,
|
87
76
|
remember to update the corresponding unit tests.
|
77
|
+
|
78
|
+
== This Documentation
|
79
|
+
|
80
|
+
This documentation can be browsed online at:
|
81
|
+
|
82
|
+
* http://difflcs.rubyforge.org
|
83
|
+
|
84
|
+
== Copyrights
|
85
|
+
|
86
|
+
Diff LCS and these docs are Copyright (c) 2006-2009 The LogiLogi
|
87
|
+
Foundation. Diff LCS is licensed under the {GNU Lesser General
|
88
|
+
Public License}[http://www.gnu.org/licenses/lgpl-3.0-standalone.html].
|
89
|
+
These docs are available under the {Creative Commons Attribution-Share
|
90
|
+
Alike License}[http://creativecommons.org/licenses/by-sa/3.0/].
|
91
|
+
|
92
|
+
You can use Diff LCS in an application that is not Free Software
|
93
|
+
but Diff LCS itself remains Free Software.
|
data/Rakefile
CHANGED
@@ -34,7 +34,7 @@ Rake::RDocTask.new { |rdoc|
|
|
34
34
|
rdoc.title = "Diff Longest Common Substring -- The diff sniffing out every move"
|
35
35
|
rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
|
36
36
|
rdoc.options << '--charset' << 'utf-8'
|
37
|
-
rdoc.rdoc_files.include('README
|
37
|
+
rdoc.rdoc_files.include('README', 'CHANGELOG')
|
38
38
|
rdoc.rdoc_files.include('lib/diff_l_c_s.rb')
|
39
39
|
rdoc.rdoc_files.include('lib/diff_l_c_s/*.rb')
|
40
40
|
}
|
@@ -58,7 +58,7 @@ spec = Gem::Specification.new do |s|
|
|
58
58
|
s.requirements << 'none'
|
59
59
|
s.require_path = 'lib'
|
60
60
|
|
61
|
-
s.files = [ "Rakefile", "install.rb", "README
|
61
|
+
s.files = [ "Rakefile", "install.rb", "README", "CHANGELOG", "LICENSE" ]
|
62
62
|
s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
|
63
63
|
s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
|
64
64
|
end
|
data/lib/diff_l_c_s/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: difflcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wybo Wiersma
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-05-26 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -33,11 +33,10 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- Rakefile
|
35
35
|
- install.rb
|
36
|
-
- README
|
37
|
-
- CHANGELOG
|
38
|
-
- LICENSE
|
36
|
+
- README
|
37
|
+
- CHANGELOG
|
38
|
+
- LICENSE
|
39
39
|
- lib/diff_l_c_s.rb
|
40
|
-
- lib/diff_l_c_s
|
41
40
|
- lib/diff_l_c_s/version.rb
|
42
41
|
- lib/diff_l_c_s/string.rb
|
43
42
|
- lib/diff_l_c_s/counter.rb
|
@@ -49,6 +48,8 @@ files:
|
|
49
48
|
- test/test_helper.rb
|
50
49
|
has_rdoc: true
|
51
50
|
homepage: http://difflcs.rubyforge.org
|
51
|
+
licenses: []
|
52
|
+
|
52
53
|
post_install_message:
|
53
54
|
rdoc_options: []
|
54
55
|
|
@@ -69,9 +70,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
70
|
requirements:
|
70
71
|
- none
|
71
72
|
rubyforge_project: difflcs
|
72
|
-
rubygems_version: 1.3.
|
73
|
+
rubygems_version: 1.3.3
|
73
74
|
signing_key:
|
74
|
-
specification_version:
|
75
|
+
specification_version: 3
|
75
76
|
summary: Diffing that sniffs out moved text.
|
76
77
|
test_files: []
|
77
78
|
|