diff_match_patch_native 1.0.0 → 1.0.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/Manifest.txt +5 -6
- data/README.rdoc +1 -1
- data/Rakefile +4 -4
- data/ext/{diff_match_patch → diff_match_patch_native}/_dmp.cpp +0 -0
- data/ext/{diff_match_patch → diff_match_patch_native}/_dmp.h +0 -0
- data/ext/{diff_match_patch/diff_match_patch.cpp → diff_match_patch_native/diff_match_patch_native.cpp} +1 -1
- data/ext/{diff_match_patch → diff_match_patch_native}/extconf.rb +1 -1
- data/lib/{diff_match_patch.rb → diff_match_patch_native.rb} +2 -2
- data/test/test_diff_patch_match.rb +1 -1
- metadata +13 -14
- data/lib/diff_match_patch/diff_match_patch.bundle +0 -0
data/Manifest.txt
CHANGED
@@ -2,11 +2,10 @@ History.txt
|
|
2
2
|
Manifest.txt
|
3
3
|
README.rdoc
|
4
4
|
Rakefile
|
5
|
-
ext/
|
6
|
-
ext/
|
7
|
-
ext/
|
8
|
-
ext/
|
9
|
-
lib/
|
10
|
-
lib/diff_match_patch/diff_match_patch.bundle
|
5
|
+
ext/diff_match_patch_native/_dmp.cpp
|
6
|
+
ext/diff_match_patch_native/_dmp.h
|
7
|
+
ext/diff_match_patch_native/diff_match_patch_native.cpp
|
8
|
+
ext/diff_match_patch_native/extconf.rb
|
9
|
+
lib/diff_match_patch_native.rb
|
11
10
|
src/include/diff_match_patch-stl/diff_match_patch.h
|
12
11
|
test/test_diff_patch_match.rb
|
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -12,16 +12,16 @@ Hoe.plugin :bundler, :rubygems, :doofus, :git
|
|
12
12
|
|
13
13
|
Hoe.spec 'diff_match_patch_native' do
|
14
14
|
developer('Elliot Laster', 'elliotlaster@gmail.com')
|
15
|
-
self.version = '1.0.
|
15
|
+
self.version = '1.0.2'
|
16
16
|
self.readme_file = 'README.rdoc'
|
17
17
|
self.history_file = 'History.txt'
|
18
18
|
self.extra_deps << ['rice', '>= 1.4.2']
|
19
19
|
self.extra_dev_deps << ['rake-compiler', '>= 0']
|
20
20
|
|
21
|
-
self.spec_extras = { :extensions => ["ext/
|
21
|
+
self.spec_extras = { :extensions => ["ext/diff_match_patch_native/extconf.rb"] }
|
22
22
|
|
23
|
-
Rake::ExtensionTask.new('
|
24
|
-
ext.lib_dir = File.join('lib', '
|
23
|
+
Rake::ExtensionTask.new('diff_match_patch_native', spec) do |ext|
|
24
|
+
ext.lib_dir = File.join('lib', 'diff_match_patch_native')
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
File without changes
|
File without changes
|
@@ -5,4 +5,4 @@ require 'mkmf-rice'
|
|
5
5
|
dmp_stl_path = File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'src', 'include')
|
6
6
|
$INCFLAGS << " " << "-I#{dmp_stl_path}".quote
|
7
7
|
|
8
|
-
create_makefile("
|
8
|
+
create_makefile("diff_match_patch_native/diff_match_patch_native")
|
@@ -1,6 +1,6 @@
|
|
1
|
-
require File.join(File.dirname(File.expand_path(__FILE__)), '
|
1
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), 'diff_match_patch_native', 'diff_match_patch_native')
|
2
2
|
class DiffMatchPatch
|
3
|
-
VERSION = '1.0.
|
3
|
+
VERSION = '1.0.2'
|
4
4
|
|
5
5
|
def patch_make(*args)
|
6
6
|
case
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require "test/unit"
|
2
|
-
require File.join(File.dirname(File.expand_path(__FILE__)), '../', 'lib', '
|
2
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '../', 'lib', 'diff_match_patch_native')
|
3
3
|
|
4
4
|
class TestDiffMatchPatch < Test::Unit::TestCase
|
5
5
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diff_match_patch_native
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-15 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rice
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165154520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.4.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165154520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake-compiler
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165153820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165153820
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hoe
|
38
|
-
requirement: &
|
38
|
+
requirement: &2165153200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
version: '2.12'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165153200
|
47
47
|
description: The Diff Match and Patch libraries offer robust algorithms to perform
|
48
48
|
the operations required for synchronizing plain text.
|
49
49
|
email:
|
50
50
|
- elliotlaster@gmail.com
|
51
51
|
executables: []
|
52
52
|
extensions:
|
53
|
-
- ext/
|
53
|
+
- ext/diff_match_patch_native/extconf.rb
|
54
54
|
extra_rdoc_files:
|
55
55
|
- History.txt
|
56
56
|
- Manifest.txt
|
@@ -59,12 +59,11 @@ files:
|
|
59
59
|
- Manifest.txt
|
60
60
|
- README.rdoc
|
61
61
|
- Rakefile
|
62
|
-
- ext/
|
63
|
-
- ext/
|
64
|
-
- ext/
|
65
|
-
- ext/
|
66
|
-
- lib/
|
67
|
-
- lib/diff_match_patch/diff_match_patch.bundle
|
62
|
+
- ext/diff_match_patch_native/_dmp.cpp
|
63
|
+
- ext/diff_match_patch_native/_dmp.h
|
64
|
+
- ext/diff_match_patch_native/diff_match_patch_native.cpp
|
65
|
+
- ext/diff_match_patch_native/extconf.rb
|
66
|
+
- lib/diff_match_patch_native.rb
|
68
67
|
- src/include/diff_match_patch-stl/diff_match_patch.h
|
69
68
|
- test/test_diff_patch_match.rb
|
70
69
|
- .gemtest
|
Binary file
|