raspell 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/CHANGELOG +4 -2
  2. data/README +18 -4
  3. data/lib/raspell_stub.rb +1 -1
  4. data/raspell.gemspec +37 -0
  5. metadata +8 -9
  6. data/Manifest +0 -10
  7. data/Rakefile +0 -13
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
- v1.0. documentation
2
+ v1.1. Would be nice if it actually compiled again.
3
3
 
4
- v0.3. fix OS X compilation problem; rubyforge release
4
+ v1.0. Documentation.
5
+
6
+ v0.3. Fix OS X compilation problem; Rubyforge release.
data/README CHANGED
@@ -1,17 +1,27 @@
1
1
 
2
2
  raspell
3
3
 
4
- An interface binding for Aspell.
4
+ An interface binding for the Aspell spelling checker.
5
5
 
6
6
  == License
7
7
 
8
- Copyright 2007 Cloudburst, LLC. Portions copyright 2005 Matthias Veit, Biro Eszter. Used with permission. Licensed under the GPL 2.0. See included LICENSE file.
8
+ Copyright 2007 Cloudburst, LLC. Portions copyright 2005 Matthias Veit, Biro Eszter and used with permission. Licensed under the GPL 2.0. See included LICENSE file.
9
9
 
10
10
  == Requirements
11
11
 
12
- * Aspell version 0.6 (http://www.aspell.net)
12
+ Raspell requires Aspell version 0.6 (http://www.aspell.net) and at least one Aspell dictionary.
13
13
 
14
- == Basic usage
14
+ Mac:
15
+ sudo port install aspell aspell-dict-en
16
+
17
+ Ubuntu:
18
+ sudo apt-get install aspell libaspell-dev aspell-en
19
+
20
+ == Installation
21
+
22
+ sudo gem install raspell
23
+
24
+ == Usage
15
25
 
16
26
  Aspell lets you <tt>check</tt> words and <tt>suggest</tt> corrections. For example:
17
27
 
@@ -48,3 +58,7 @@ The most useful options are <tt>suggestion_mode</tt>, and the passthrough option
48
58
 
49
59
  See http://aspell.net/man-html/The-Options.html for a list of the passthrough options.
50
60
 
61
+ == Futher resources
62
+
63
+ * http://blog.evanweaver.com/pages/code#raspell
64
+ * http://rubyforge.org/forum/forum.php?forum_id=13988
data/lib/raspell_stub.rb CHANGED
@@ -6,7 +6,7 @@ raise "This file is only for documentation purposes. Require #{File.dirname(__FI
6
6
  class ::Aspell
7
7
 
8
8
  # Creates an Aspell instance. All parameters are optional and have default values. In most situations it is enough to create an Aspell-instance with only a language.
9
- # * <tt>language</tt> - ISO639 language code plus optional ISO 3166 counry code as string (eg: "de" or "us_US").
9
+ # * <tt>language</tt> - ISO639 language code plus optional ISO 3166 counry code as string (eg: "de" or "en_US").
10
10
  # * <tt>jargon</tt> - A special jargon of the selected language.
11
11
  # * <tt>size</tt> - The size of the dictionary to chose (if there are options).
12
12
  # * <tt>encoding</tt> - The encoding to use.
data/raspell.gemspec ADDED
@@ -0,0 +1,37 @@
1
+
2
+ # Gem::Specification for Raspell-1.1
3
+ # Originally generated by Echoe
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = %q{raspell}
7
+ s.version = "1.1"
8
+ s.date = %q{2007-08-12}
9
+ s.summary = %q{An interface binding for the Aspell spelling checker.}
10
+ s.require_paths = ["lib", "ext"]
11
+ s.email = %q{}
12
+ s.homepage = %q{http://blog.evanweaver.com/pages/code#raspell}
13
+ s.rubyforge_project = %q{fauna}
14
+ s.description = %q{An interface binding for the Aspell spelling checker.}
15
+ s.authors = [""]
16
+ s.files = ["test/simple_test.rb", "lib/raspell_stub.rb", "ext/raspell.h", "ext/raspell.c", "ext/extconf.rb", "README", "LICENSE", "CHANGELOG", "raspell.gemspec"]
17
+ s.extensions = ["ext/extconf.rb"]
18
+ end
19
+
20
+
21
+ # # Original Rakefile source (requires the Echoe gem):
22
+ #
23
+ #
24
+ # require 'rubygems'
25
+ # gem 'echoe', '>=2.3'
26
+ # require 'echoe'
27
+ #
28
+ # Echoe.new("raspell") do |p|
29
+ # p.rubyforge_name = "fauna"
30
+ # p.summary = "An interface binding for the Aspell spelling checker."
31
+ # p.url = "http://blog.evanweaver.com/pages/code#raspell"
32
+ # p.docs_host = "blog.evanweaver.com:~/www/snax/public/files/doc/"
33
+ #
34
+ # p.has_rdoc = false # avoids warnings on gem install
35
+ # p.rdoc_pattern = /CHANGELOG|EXAMPLE|LICENSE|README|lib/
36
+ # p.rdoc_options = [] # don't want to include the stubbed out source
37
+ # end
metadata CHANGED
@@ -3,20 +3,20 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: raspell
5
5
  version: !ruby/object:Gem::Version
6
- version: "1.0"
7
- date: 2007-08-03 00:00:00 -04:00
8
- summary: An interface binding for Aspell.
6
+ version: "1.1"
7
+ date: 2007-08-12 00:00:00 -04:00
8
+ summary: An interface binding for the Aspell spelling checker.
9
9
  require_paths:
10
10
  - lib
11
11
  - ext
12
12
  email: ""
13
13
  homepage: http://blog.evanweaver.com/pages/code#raspell
14
14
  rubyforge_project: fauna
15
- description: An interface binding for Aspell.
15
+ description: An interface binding for the Aspell spelling checker.
16
16
  autorequire:
17
17
  default_executable:
18
18
  bindir: bin
19
- has_rdoc: true
19
+ has_rdoc: false
20
20
  required_ruby_version: !ruby/object:Gem::Version::Requirement
21
21
  requirements:
22
22
  - - ">"
@@ -35,11 +35,10 @@ files:
35
35
  - ext/raspell.h
36
36
  - ext/raspell.c
37
37
  - ext/extconf.rb
38
- - Rakefile
39
38
  - README
40
- - Manifest
41
39
  - LICENSE
42
40
  - CHANGELOG
41
+ - raspell.gemspec
43
42
  test_files: []
44
43
 
45
44
  rdoc_options: []
@@ -48,8 +47,8 @@ extra_rdoc_files: []
48
47
 
49
48
  executables: []
50
49
 
51
- extensions: []
52
-
50
+ extensions:
51
+ - ext/extconf.rb
53
52
  requirements: []
54
53
 
55
54
  dependencies: []
data/Manifest DELETED
@@ -1,10 +0,0 @@
1
- test/simple_test.rb
2
- lib/raspell_stub.rb
3
- ext/raspell.h
4
- ext/raspell.c
5
- ext/extconf.rb
6
- Rakefile
7
- README
8
- Manifest
9
- LICENSE
10
- CHANGELOG
data/Rakefile DELETED
@@ -1,13 +0,0 @@
1
-
2
- require 'rubygems'
3
- require 'echoe'
4
-
5
- Echoe.new("raspell") do |p|
6
- p.rubyforge_name = "fauna"
7
- p.description = p.summary = "An interface binding for Aspell."
8
- p.url = "http://blog.evanweaver.com/pages/code#raspell"
9
- p.docs_host = "blog.evanweaver.com:~/www/snax/public/files/doc/"
10
-
11
- p.rdoc_pattern = /CHANGELOG|EXAMPLE|LICENSE|README|lib/
12
- p.rdoc_options = [] # don't want to include the stubbed out source
13
- end