perseus_match 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/COPYING CHANGED
@@ -1,7 +1,7 @@
1
1
  = License for perseus_match
2
2
 
3
- GNU GENERAL PUBLIC LICENSE
4
- Version 3, 29 June 2007
3
+ GNU AFFERO GENERAL PUBLIC LICENSE
4
+ Version 3, 19 November 2007
5
5
 
6
6
  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
7
7
  Everyone is permitted to copy and distribute verbatim copies
@@ -9,17 +9,15 @@
9
9
 
10
10
  Preamble
11
11
 
12
- The GNU General Public License is a free, copyleft license for
13
- software and other kinds of works.
12
+ The GNU Affero General Public License is a free, copyleft license for
13
+ software and other kinds of works, specifically designed to ensure
14
+ cooperation with the community in the case of network server software.
14
15
 
15
16
  The licenses for most software and other practical works are designed
16
17
  to take away your freedom to share and change the works. By contrast,
17
- the GNU General Public License is intended to guarantee your freedom to
18
+ our General Public Licenses are intended to guarantee your freedom to
18
19
  share and change all versions of a program--to make sure it remains free
19
- software for all its users. We, the Free Software Foundation, use the
20
- GNU General Public License for most of our software; it applies also to
21
- any other work released this way by its authors. You can apply it to
22
- your programs, too.
20
+ software for all its users.
23
21
 
24
22
  When we speak of free software, we are referring to freedom, not
25
23
  price. Our General Public Licenses are designed to make sure that you
@@ -28,44 +26,34 @@
28
26
  want it, that you can change the software or use pieces of it in new
29
27
  free programs, and that you know you can do these things.
30
28
 
31
- To protect your rights, we need to prevent others from denying you
32
- these rights or asking you to surrender the rights. Therefore, you have
33
- certain responsibilities if you distribute copies of the software, or if
34
- you modify it: responsibilities to respect the freedom of others.
35
-
36
- For example, if you distribute copies of such a program, whether
37
- gratis or for a fee, you must pass on to the recipients the same
38
- freedoms that you received. You must make sure that they, too, receive
39
- or can get the source code. And you must show them these terms so they
40
- know their rights.
41
-
42
- Developers that use the GNU GPL protect your rights with two steps:
43
- (1) assert copyright on the software, and (2) offer you this License
44
- giving you legal permission to copy, distribute and/or modify it.
45
-
46
- For the developers' and authors' protection, the GPL clearly explains
47
- that there is no warranty for this free software. For both users' and
48
- authors' sake, the GPL requires that modified versions be marked as
49
- changed, so that their problems will not be attributed erroneously to
50
- authors of previous versions.
51
-
52
- Some devices are designed to deny users access to install or run
53
- modified versions of the software inside them, although the manufacturer
54
- can do so. This is fundamentally incompatible with the aim of
55
- protecting users' freedom to change the software. The systematic
56
- pattern of such abuse occurs in the area of products for individuals to
57
- use, which is precisely where it is most unacceptable. Therefore, we
58
- have designed this version of the GPL to prohibit the practice for those
59
- products. If such problems arise substantially in other domains, we
60
- stand ready to extend this provision to those domains in future versions
61
- of the GPL, as needed to protect the freedom of users.
62
-
63
- Finally, every program is threatened constantly by software patents.
64
- States should not allow patents to restrict development and use of
65
- software on general-purpose computers, but in those that do, we wish to
66
- avoid the special danger that patents applied to a free program could
67
- make it effectively proprietary. To prevent this, the GPL assures that
68
- patents cannot be used to render the program non-free.
29
+ Developers that use our General Public Licenses protect your rights
30
+ with two steps: (1) assert copyright on the software, and (2) offer
31
+ you this License which gives you legal permission to copy, distribute
32
+ and/or modify the software.
33
+
34
+ A secondary benefit of defending all users' freedom is that
35
+ improvements made in alternate versions of the program, if they
36
+ receive widespread use, become available for other developers to
37
+ incorporate. Many developers of free software are heartened and
38
+ encouraged by the resulting cooperation. However, in the case of
39
+ software used on network servers, this result may fail to come about.
40
+ The GNU General Public License permits making a modified version and
41
+ letting the public access it on a server without ever releasing its
42
+ source code to the public.
43
+
44
+ The GNU Affero General Public License is designed specifically to
45
+ ensure that, in such cases, the modified source code becomes available
46
+ to the community. It requires the operator of a network server to
47
+ provide the source code of the modified version running there to the
48
+ users of that server. Therefore, public use of a modified version, on
49
+ a publicly accessible server, gives the public access to the source
50
+ code of the modified version.
51
+
52
+ An older license, called the Affero General Public License and
53
+ published by Affero, was designed to accomplish similar goals. This is
54
+ a different license, not a version of the Affero GPL, but Affero has
55
+ released a new version of the Affero GPL which permits relicensing under
56
+ this license.
69
57
 
70
58
  The precise terms and conditions for copying, distribution and
71
59
  modification follow.
@@ -74,7 +62,7 @@
74
62
 
75
63
  0. Definitions.
76
64
 
77
- "This License" refers to version 3 of the GNU General Public License.
65
+ "This License" refers to version 3 of the GNU Affero General Public License.
78
66
 
79
67
  "Copyright" also means copyright-like laws that apply to other kinds of
80
68
  works, such as semiconductor masks.
@@ -551,35 +539,45 @@
551
539
  the Program, the only way you could satisfy both those terms and this
552
540
  License would be to refrain entirely from conveying the Program.
553
541
 
554
- 13. Use with the GNU Affero General Public License.
542
+ 13. Remote Network Interaction; Use with the GNU General Public License.
543
+
544
+ Notwithstanding any other provision of this License, if you modify the
545
+ Program, your modified version must prominently offer all users
546
+ interacting with it remotely through a computer network (if your version
547
+ supports such interaction) an opportunity to receive the Corresponding
548
+ Source of your version by providing access to the Corresponding Source
549
+ from a network server at no charge, through some standard or customary
550
+ means of facilitating copying of software. This Corresponding Source
551
+ shall include the Corresponding Source for any work covered by version 3
552
+ of the GNU General Public License that is incorporated pursuant to the
553
+ following paragraph.
555
554
 
556
555
  Notwithstanding any other provision of this License, you have
557
556
  permission to link or combine any covered work with a work licensed
558
- under version 3 of the GNU Affero General Public License into a single
557
+ under version 3 of the GNU General Public License into a single
559
558
  combined work, and to convey the resulting work. The terms of this
560
559
  License will continue to apply to the part which is the covered work,
561
- but the special requirements of the GNU Affero General Public License,
562
- section 13, concerning interaction through a network will apply to the
563
- combination as such.
560
+ but the work with which it is combined will remain governed by version
561
+ 3 of the GNU General Public License.
564
562
 
565
563
  14. Revised Versions of this License.
566
564
 
567
565
  The Free Software Foundation may publish revised and/or new versions of
568
- the GNU General Public License from time to time. Such new versions will
569
- be similar in spirit to the present version, but may differ in detail to
566
+ the GNU Affero General Public License from time to time. Such new versions
567
+ will be similar in spirit to the present version, but may differ in detail to
570
568
  address new problems or concerns.
571
569
 
572
570
  Each version is given a distinguishing version number. If the
573
- Program specifies that a certain numbered version of the GNU General
571
+ Program specifies that a certain numbered version of the GNU Affero General
574
572
  Public License "or any later version" applies to it, you have the
575
573
  option of following the terms and conditions either of that numbered
576
574
  version or of any later version published by the Free Software
577
575
  Foundation. If the Program does not specify a version number of the
578
- GNU General Public License, you may choose any version ever published
576
+ GNU Affero General Public License, you may choose any version ever published
579
577
  by the Free Software Foundation.
580
578
 
581
579
  If the Program specifies that a proxy can decide which future
582
- versions of the GNU General Public License can be used, that proxy's
580
+ versions of the GNU Affero General Public License can be used, that proxy's
583
581
  public statement of acceptance of a version permanently authorizes you
584
582
  to choose that version for the Program.
585
583
 
@@ -637,40 +635,29 @@
637
635
  Copyright (C) <year> <name of author>
638
636
 
639
637
  This program is free software: you can redistribute it and/or modify
640
- it under the terms of the GNU General Public License as published by
638
+ it under the terms of the GNU Affero General Public License as published by
641
639
  the Free Software Foundation, either version 3 of the License, or
642
640
  (at your option) any later version.
643
641
 
644
642
  This program is distributed in the hope that it will be useful,
645
643
  but WITHOUT ANY WARRANTY; without even the implied warranty of
646
644
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
647
- GNU General Public License for more details.
645
+ GNU Affero General Public License for more details.
648
646
 
649
- You should have received a copy of the GNU General Public License
647
+ You should have received a copy of the GNU Affero General Public License
650
648
  along with this program. If not, see <http://www.gnu.org/licenses/>.
651
649
 
652
650
  Also add information on how to contact you by electronic and paper mail.
653
651
 
654
- If the program does terminal interaction, make it output a short
655
- notice like this when it starts in an interactive mode:
656
-
657
- <program> Copyright (C) <year> <name of author>
658
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
659
- This is free software, and you are welcome to redistribute it
660
- under certain conditions; type `show c' for details.
661
-
662
- The hypothetical commands `show w' and `show c' should show the appropriate
663
- parts of the General Public License. Of course, your program's commands
664
- might be different; for a GUI interface, you would use an "about box".
652
+ If your software can interact with users remotely through a computer
653
+ network, you should also make sure that it provides a way for users to
654
+ get its source. For example, if your program is a web application, its
655
+ interface could display a "Source" link that leads users to an archive
656
+ of the code. There are many ways you could offer source, and different
657
+ solutions will be better for different programs; see section 13 for the
658
+ specific requirements.
665
659
 
666
660
  You should also get your employer (if you work as a programmer) or school,
667
661
  if any, to sign a "copyright disclaimer" for the program, if necessary.
668
- For more information on this, and how to apply and follow the GNU GPL, see
662
+ For more information on this, and how to apply and follow the GNU AGPL, see
669
663
  <http://www.gnu.org/licenses/>.
670
-
671
- The GNU General Public License does not permit incorporating your program
672
- into proprietary programs. If your program is a subroutine library, you
673
- may consider it more useful to permit linking proprietary applications with
674
- the library. If this is what you want to do, use the GNU Lesser General
675
- Public License instead of this License. But first, please read
676
- <http://www.gnu.org/philosophy/why-not-lgpl.html>.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to perseus_match version 0.0.7
5
+ This documentation refers to perseus_match version 0.0.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -13,9 +13,9 @@ Fuzzy string matching based on linguistic analysis.
13
13
  == LINKS
14
14
 
15
15
  <b></b>
16
- Documentation:: <http://prometheus.rubyforge.org/perseus_match>
17
- Source code:: <http://github.com/blackwinter/perseus_match>
18
- Rubyforge project:: <http://rubyforge.org/projects/prometheus>
16
+ Documentation:: http://prometheus.rubyforge.org/perseus_match
17
+ Source code:: http://github.com/blackwinter/perseus_match
18
+ RubyForge project:: http://rubyforge.org/projects/prometheus
19
19
 
20
20
 
21
21
  == AUTHORS
@@ -25,17 +25,18 @@ Rubyforge project:: <http://rubyforge.org/projects/prometheus>
25
25
 
26
26
  == LICENSE AND COPYRIGHT
27
27
 
28
- Copyright (C) 2008 Cologne University of Applied Sciences,
28
+ Copyright (C) 2008-2011 Cologne University of Applied Sciences,
29
29
  Claudiusstr. 1, 50678 Cologne, Germany
30
30
 
31
31
  perseus_match is free software: you can redistribute it and/or modify it under
32
- the terms of the GNU General Public License as published by the Free Software
33
- Foundation, either version 3 of the License, or (at your option) any later
34
- version.
32
+ the terms of the GNU Affero General Public License as published by the Free
33
+ Software Foundation, either version 3 of the License, or (at your option)
34
+ any later version.
35
35
 
36
36
  perseus_match is distributed in the hope that it will be useful, but WITHOUT
37
37
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
38
- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
38
+ FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
39
+ details.
39
40
 
40
- You should have received a copy of the GNU General Public License along with
41
- perseus_match. If not, see <http://www.gnu.org/licenses/>.
41
+ You should have received a copy of the GNU Affero General Public License along
42
+ with perseus_match. If not, see <http://www.gnu.org/licenses/>.
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require %q{lib/perseus_match/version}
1
+ require File.expand_path(%q{../lib/perseus_match/version}, __FILE__)
2
2
 
3
3
  begin
4
4
  require 'hen'
@@ -10,15 +10,14 @@ begin
10
10
  },
11
11
 
12
12
  :gem => {
13
- :version => PerseusMatch::VERSION,
14
- :summary => %q{Fuzzy string matching based on linguistic analysis},
15
- :files => FileList['lib/**/*.rb', 'bin/*'].to_a,
16
- :extra_files => FileList['[A-Z]*', 'spec/**/*.rb', 'sample/**/*'].to_a - %w[LINGO_BASE],
17
- :dependencies => ['ruby-backports', ['ruby-nuggets', '>= 0.4.0'], ['unicode', '>= 0.1.1']]
13
+ :version => PerseusMatch::VERSION,
14
+ :summary => %q{Fuzzy string matching based on linguistic analysis},
15
+ :author => %q{Jens Wille},
16
+ :email => %q{jens.wille@uni-koeln.de},
17
+ :exclude_files => FileList[%w[LINGO_BASE]].to_a,
18
+ :dependencies => ['ruby-backports', ['ruby-nuggets', '>= 0.6.7'], ['unicode', '>= 0.1.1'], 'open4']
18
19
  }
19
20
  }}
20
- rescue LoadError
21
- abort "Please install the 'hen' gem first."
21
+ rescue LoadError => err
22
+ warn "Please install the `hen' gem first. (#{err})"
22
23
  end
23
-
24
- ### Place your custom Rake tasks here.
data/bin/perseus_match CHANGED
@@ -8,6 +8,7 @@ require 'set'
8
8
  require 'rubygems'
9
9
  require 'nuggets/enumerable/minmax'
10
10
  require 'nuggets/numeric/duration'
11
+ require 'nuggets/object/silence'
11
12
  require 'nuggets/string/evaluate'
12
13
 
13
14
  $: << File.join(File.dirname(__FILE__), '..', 'lib')
@@ -158,7 +159,7 @@ action = if options[:check]
158
159
 
159
160
  if CSV.const_defined?(:Reader)
160
161
  require 'fastercsv'
161
- CSV = FasterCSV
162
+ silence { CSV = FasterCSV }
162
163
  end
163
164
 
164
165
  format = if options[:align]
File without changes
File without changes
File without changes
File without changes
data/lib/perseus_match.rb CHANGED
@@ -3,25 +3,25 @@
3
3
  # #
4
4
  # perseus_match -- Fuzzy string matching based on linguistic analysis #
5
5
  # #
6
- # Copyright (C) 2008 Cologne University of Applied Sciences #
7
- # Claudiusstr. 1 #
8
- # 50678 Cologne, Germany #
6
+ # Copyright (C) 2008-2011 Cologne University of Applied Sciences #
7
+ # Claudiusstr. 1 #
8
+ # 50678 Cologne, Germany #
9
9
  # #
10
10
  # Authors: #
11
11
  # Jens Wille <jens.wille@uni-koeln.de> #
12
12
  # #
13
13
  # perseus_match is free software: you can redistribute it and/or modify it #
14
- # under the terms of the GNU General Public License as published by the Free #
15
- # Software Foundation, either version 3 of the License, or (at your option) #
16
- # any later version. #
14
+ # under the terms of the GNU Affero General Public License as published by #
15
+ # the Free Software Foundation, either version 3 of the License, or (at your #
16
+ # option) any later version. #
17
17
  # #
18
18
  # perseus_match is distributed in the hope that it will be useful, but #
19
19
  # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
20
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License #
21
- # for more details. #
20
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public #
21
+ # License for more details. #
22
22
  # #
23
- # You should have received a copy of the GNU General Public License along #
24
- # with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
23
+ # You should have received a copy of the GNU Affero General Public License #
24
+ # along with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
25
25
  # #
26
26
  ###############################################################################
27
27
  #++
@@ -3,25 +3,25 @@
3
3
  # #
4
4
  # A component of perseus_match, the fuzzy string matcher #
5
5
  # #
6
- # Copyright (C) 2008 Cologne University of Applied Sciences #
7
- # Claudiusstr. 1 #
8
- # 50678 Cologne, Germany #
6
+ # Copyright (C) 2008-2011 Cologne University of Applied Sciences #
7
+ # Claudiusstr. 1 #
8
+ # 50678 Cologne, Germany #
9
9
  # #
10
10
  # Authors: #
11
11
  # Jens Wille <jens.wille@uni-koeln.de> #
12
12
  # #
13
13
  # perseus_match is free software: you can redistribute it and/or modify it #
14
- # under the terms of the GNU General Public License as published by the Free #
15
- # Software Foundation, either version 3 of the License, or (at your option) #
16
- # any later version. #
14
+ # under the terms of the GNU Affero General Public License as published by #
15
+ # the Free Software Foundation, either version 3 of the License, or (at your #
16
+ # option) any later version. #
17
17
  # #
18
18
  # perseus_match is distributed in the hope that it will be useful, but #
19
19
  # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
20
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License #
21
- # for more details. #
20
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public #
21
+ # License for more details. #
22
22
  # #
23
- # You should have received a copy of the GNU General Public License along #
24
- # with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
23
+ # You should have received a copy of the GNU Affero General Public License #
24
+ # along with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
25
25
  # #
26
26
  ###############################################################################
27
27
  #++
@@ -3,25 +3,25 @@
3
3
  # #
4
4
  # A component of perseus_match, the fuzzy string matcher #
5
5
  # #
6
- # Copyright (C) 2008 Cologne University of Applied Sciences #
7
- # Claudiusstr. 1 #
8
- # 50678 Cologne, Germany #
6
+ # Copyright (C) 2008-2011 Cologne University of Applied Sciences #
7
+ # Claudiusstr. 1 #
8
+ # 50678 Cologne, Germany #
9
9
  # #
10
10
  # Authors: #
11
11
  # Jens Wille <jens.wille@uni-koeln.de> #
12
12
  # #
13
13
  # perseus_match is free software: you can redistribute it and/or modify it #
14
- # under the terms of the GNU General Public License as published by the Free #
15
- # Software Foundation, either version 3 of the License, or (at your option) #
16
- # any later version. #
14
+ # under the terms of the GNU Affero General Public License as published by #
15
+ # the Free Software Foundation, either version 3 of the License, or (at your #
16
+ # option) any later version. #
17
17
  # #
18
18
  # perseus_match is distributed in the hope that it will be useful, but #
19
19
  # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
20
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License #
21
- # for more details. #
20
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public #
21
+ # License for more details. #
22
22
  # #
23
- # You should have received a copy of the GNU General Public License along #
24
- # with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
23
+ # You should have received a copy of the GNU Affero General Public License #
24
+ # along with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
25
25
  # #
26
26
  ###############################################################################
27
27
  #++
@@ -3,25 +3,25 @@
3
3
  # #
4
4
  # A component of perseus_match, the fuzzy string matcher #
5
5
  # #
6
- # Copyright (C) 2008 Cologne University of Applied Sciences #
7
- # Claudiusstr. 1 #
8
- # 50678 Cologne, Germany #
6
+ # Copyright (C) 2008-2011 Cologne University of Applied Sciences #
7
+ # Claudiusstr. 1 #
8
+ # 50678 Cologne, Germany #
9
9
  # #
10
10
  # Authors: #
11
11
  # Jens Wille <jens.wille@uni-koeln.de> #
12
12
  # #
13
13
  # perseus_match is free software: you can redistribute it and/or modify it #
14
- # under the terms of the GNU General Public License as published by the Free #
15
- # Software Foundation, either version 3 of the License, or (at your option) #
16
- # any later version. #
14
+ # under the terms of the GNU Affero General Public License as published by #
15
+ # the Free Software Foundation, either version 3 of the License, or (at your #
16
+ # option) any later version. #
17
17
  # #
18
18
  # perseus_match is distributed in the hope that it will be useful, but #
19
19
  # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
20
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License #
21
- # for more details. #
20
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public #
21
+ # License for more details. #
22
22
  # #
23
- # You should have received a copy of the GNU General Public License along #
24
- # with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
23
+ # You should have received a copy of the GNU Affero General Public License #
24
+ # along with perseus_match. If not, see <http://www.gnu.org/licenses/>. #
25
25
  # #
26
26
  ###############################################################################
27
27
  #++
@@ -36,6 +36,7 @@ require 'rubygems'
36
36
  require 'backports/tempfile'
37
37
  require 'nuggets/tempfile/open'
38
38
  require 'nuggets/util/i18n'
39
+ require 'nuggets/util/ruby'
39
40
 
40
41
  begin
41
42
  require 'text/soundex'
@@ -111,12 +112,7 @@ class PerseusMatch
111
112
  YAML.dump(LINGO_CONFIG, t)
112
113
  }
113
114
 
114
- file = file?(form) || begin
115
- temp = Tempfile.open('perseus_match_temp') { |t| t.puts form }
116
- temp.path
117
- end
118
-
119
- ruby = Config::CONFIG.values_at('RUBY_INSTALL_NAME', 'EXEEXT').join
115
+ file = file?(form)
120
116
 
121
117
  if keep = ENV['PM_KEEP_TOKENS']
122
118
  keep = File.expand_path(keep =~ /\A(?:1|y(?:es)?|true)\z/i ? tokens_file : keep)
@@ -124,16 +120,21 @@ class PerseusMatch
124
120
 
125
121
  begin
126
122
  Dir.chdir(LINGO_BASE) {
127
- tokens = %x{#{ruby} lingo.rb -c "#{cfg.path}" < "#{file}"}
128
- File.open(keep, 'w') { |f| f.puts tokens } if keep
129
- parse(tokens, unknowns, @_tokens)
123
+ Process.ruby(*%W[lingo.rb -c #{cfg.path}]) { |_, i, o, _|
124
+ file ? File.foreach(file) { |line| i.puts line } : i.puts(form)
125
+
126
+ i.close_write
127
+ tokens = o.read
128
+
129
+ File.open(keep, 'w') { |f| f.puts tokens } if keep
130
+ parse(tokens, unknowns, @_tokens)
131
+ }
130
132
  }
131
133
  ensure
132
134
  cfg.unlink
133
- temp.unlink if temp
134
135
  end
135
136
 
136
- if temp
137
+ unless file
137
138
  tokens, @tokens = @tokens[form], nil
138
139
  tokens
139
140
  end
@@ -4,7 +4,7 @@ class PerseusMatch
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 0
7
- TINY = 7
7
+ TINY = 8
8
8
 
9
9
  class << self
10
10
 
data/spec/spec.opts ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --require spec/spec_helper
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perseus_match
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 8
10
+ version: 0.0.8
5
11
  platform: ruby
6
12
  authors:
7
13
  - Jens Wille
@@ -9,39 +15,68 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-02-24 00:00:00 +01:00
13
- default_executable:
18
+ date: 2011-04-29 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: ruby-backports
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
20
25
  requirements:
21
26
  - - ">="
22
27
  - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
23
31
  version: "0"
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: ruby-nuggets
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
30
39
  requirements:
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
33
- version: 0.4.0
34
- version:
42
+ hash: 9
43
+ segments:
44
+ - 0
45
+ - 6
46
+ - 7
47
+ version: 0.6.7
48
+ type: :runtime
49
+ version_requirements: *id002
35
50
  - !ruby/object:Gem::Dependency
36
51
  name: unicode
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
40
55
  requirements:
41
56
  - - ">="
42
57
  - !ruby/object:Gem::Version
58
+ hash: 25
59
+ segments:
60
+ - 0
61
+ - 1
62
+ - 1
43
63
  version: 0.1.1
44
- version:
64
+ type: :runtime
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ name: open4
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ type: :runtime
79
+ version_requirements: *id004
45
80
  description: Fuzzy string matching based on linguistic analysis
46
81
  email: jens.wille@uni-koeln.de
47
82
  executables:
@@ -49,65 +84,72 @@ executables:
49
84
  extensions: []
50
85
 
51
86
  extra_rdoc_files:
87
+ - README
52
88
  - COPYING
53
89
  - ChangeLog
54
- - README
55
90
  files:
56
91
  - lib/perseus_match/token.rb
57
- - lib/perseus_match/core_ext.rb
58
- - lib/perseus_match/list.rb
59
- - lib/perseus_match/version.rb
60
92
  - lib/perseus_match/token_set.rb
61
93
  - lib/perseus_match/cluster.rb
94
+ - lib/perseus_match/version.rb
95
+ - lib/perseus_match/core_ext.rb
96
+ - lib/perseus_match/list.rb
62
97
  - lib/perseus_match.rb
63
98
  - bin/perseus_match
99
+ - README
100
+ - ChangeLog
64
101
  - Rakefile
65
102
  - COPYING
66
- - ChangeLog
67
- - README
68
- - spec/spec_helper.rb
69
- - spec/perseus_match/list_spec.rb
103
+ - example/lingo.cfg
104
+ - example/phrases.txt
105
+ - example/check.csv
106
+ - example/config.yaml
70
107
  - spec/perseus_match/cluster_spec.rb
108
+ - spec/perseus_match/list_spec.rb
71
109
  - spec/perseus_match/token_spec.rb
72
110
  - spec/perseus_match/token_set_spec.rb
73
111
  - spec/perseus_match_spec.rb
74
- - sample/config.yaml
75
- - sample/lingo.cfg
76
- - sample/phrases.txt
77
- - sample/check.csv
78
- has_rdoc: true
112
+ - spec/spec.opts
113
+ - spec/spec_helper.rb
79
114
  homepage: http://prometheus.rubyforge.org/perseus_match
115
+ licenses: []
116
+
80
117
  post_install_message:
81
118
  rdoc_options:
82
119
  - --line-numbers
83
- - --inline-source
84
- - --title
85
- - perseus_match Application documentation
86
120
  - --main
87
121
  - README
88
122
  - --charset
89
123
  - UTF-8
90
124
  - --all
125
+ - --title
126
+ - perseus_match Application documentation (v0.0.8)
91
127
  require_paths:
92
128
  - lib
93
129
  required_ruby_version: !ruby/object:Gem::Requirement
130
+ none: false
94
131
  requirements:
95
132
  - - ">="
96
133
  - !ruby/object:Gem::Version
134
+ hash: 3
135
+ segments:
136
+ - 0
97
137
  version: "0"
98
- version:
99
138
  required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
100
140
  requirements:
101
141
  - - ">="
102
142
  - !ruby/object:Gem::Version
143
+ hash: 3
144
+ segments:
145
+ - 0
103
146
  version: "0"
104
- version:
105
147
  requirements: []
106
148
 
107
149
  rubyforge_project: prometheus
108
- rubygems_version: 1.3.1
150
+ rubygems_version: 1.7.2
109
151
  signing_key:
110
- specification_version: 2
152
+ specification_version: 3
111
153
  summary: Fuzzy string matching based on linguistic analysis
112
154
  test_files: []
113
155