diff_match_patch_native 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,10 @@ History.txt
2
2
  Manifest.txt
3
3
  README.rdoc
4
4
  Rakefile
5
- ext/diff_match_patch/_dmp.cpp
6
- ext/diff_match_patch/_dmp.h
7
- ext/diff_match_patch/diff_match_patch.cpp
8
- ext/diff_match_patch/extconf.rb
9
- lib/diff_match_patch.rb
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
@@ -42,7 +42,7 @@ The API conforms to the standard at http://code.google.com/p/google-diff-match-p
42
42
 
43
43
  == INSTALL:
44
44
 
45
- gem install diff-match-patch
45
+ gem install diff_match_patch_native
46
46
 
47
47
  == LICENSE:
48
48
 
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.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/diff_match_patch/extconf.rb"] }
21
+ self.spec_extras = { :extensions => ["ext/diff_match_patch_native/extconf.rb"] }
22
22
 
23
- Rake::ExtensionTask.new('diff_match_patch', spec) do |ext|
24
- ext.lib_dir = File.join('lib', 'diff_match_patch')
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
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  extern "C"
5
5
 
6
- void Init_diff_match_patch() {
6
+ void Init_diff_match_patch_native() {
7
7
  RUBY_TRY {
8
8
  register_dmp();
9
9
  } RUBY_CATCH
@@ -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("diff_match_patch/diff_match_patch")
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__)), 'diff_match_patch', 'diff_match_patch')
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.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', 'diff_match_patch')
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.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: &2165194700 !ruby/object:Gem::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: *2165194700
24
+ version_requirements: *2165154520
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake-compiler
27
- requirement: &2165191640 !ruby/object:Gem::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: *2165191640
35
+ version_requirements: *2165153820
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &2165190820 !ruby/object:Gem::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: *2165190820
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/diff_match_patch/extconf.rb
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/diff_match_patch/_dmp.cpp
63
- - ext/diff_match_patch/_dmp.h
64
- - ext/diff_match_patch/diff_match_patch.cpp
65
- - ext/diff_match_patch/extconf.rb
66
- - lib/diff_match_patch.rb
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