aspell_edit_dist 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .idea/*
2
+ pkg/*
2
3
  Makefile
3
4
  *.o
4
5
  *.so
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,56 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{aspell_edit_dist}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Adam Pohorecki"]
12
+ s.date = %q{2010-03-17}
13
+ s.email = %q{adam@pohorecki.pl}
14
+ s.extensions = ["ext/extconf.rb"]
15
+ s.extra_rdoc_files = [
16
+ "README"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "aspell_edit_dist.gemspec",
24
+ "ext/aspell_edit_dist.cpp",
25
+ "ext/aspell_edit_dist.h",
26
+ "ext/extconf.rb",
27
+ "ext/leditdist.cpp",
28
+ "ext/leditdist.hpp",
29
+ "ext/weights.hpp",
30
+ "lib/aspell_edit_dist_stub.rb",
31
+ "test/edit_distance_test.rb",
32
+ "test/test_helper.rb",
33
+ "test/weights_test.rb"
34
+ ]
35
+ s.homepage = %q{http://github.com/psyho/aspell_edit_dist}
36
+ s.rdoc_options = ["--charset=UTF-8"]
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = %q{1.3.6}
39
+ s.summary = %q{Gem that exposes limit_edit_distance function from Aspell.}
40
+ s.test_files = [
41
+ "test/edit_distance_test.rb",
42
+ "test/weights_test.rb",
43
+ "test/test_helper.rb"
44
+ ]
45
+
46
+ if s.respond_to? :specification_version then
47
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
48
+ s.specification_version = 3
49
+
50
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
51
+ else
52
+ end
53
+ else
54
+ end
55
+ end
56
+
data/ext/weights.hpp CHANGED
@@ -2,6 +2,14 @@
2
2
  #ifndef __aspeller_weights_hh__
3
3
  #define __aspeller_weights_hh__
4
4
 
5
+ #ifdef min
6
+ #undef min
7
+ #endif
8
+
9
+ #ifdef max
10
+ #undef max
11
+ #endif
12
+
5
13
  namespace aspeller {
6
14
 
7
15
  struct EditDistanceWeights {
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspell_edit_dist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Adam Pohorecki
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-12-29 00:00:00 +01:00
17
+ date: 2010-03-17 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
@@ -26,6 +31,7 @@ files:
26
31
  - README
27
32
  - Rakefile
28
33
  - VERSION
34
+ - aspell_edit_dist.gemspec
29
35
  - ext/aspell_edit_dist.cpp
30
36
  - ext/aspell_edit_dist.h
31
37
  - ext/extconf.rb
@@ -49,18 +55,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
49
55
  requirements:
50
56
  - - ">="
51
57
  - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
52
60
  version: "0"
53
- version:
54
61
  required_rubygems_version: !ruby/object:Gem::Requirement
55
62
  requirements:
56
63
  - - ">="
57
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 0
58
67
  version: "0"
59
- version:
60
68
  requirements: []
61
69
 
62
70
  rubyforge_project:
63
- rubygems_version: 1.3.5
71
+ rubygems_version: 1.3.6
64
72
  signing_key:
65
73
  specification_version: 3
66
74
  summary: Gem that exposes limit_edit_distance function from Aspell.