rack_spellchecker 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/Gemfile.lock +2 -2
- data/README.rdoc +5 -1
- data/VERSION +1 -1
- data/rack_spellchecker.gemspec +6 -9
- metadata +52 -56
- data/spec/rack_spellchecker_spec.rb +0 -7
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -22,6 +22,7 @@ GEM
|
|
22
22
|
term-ansicolor (~> 1.0.5)
|
23
23
|
culerity (0.2.13)
|
24
24
|
diff-lcs (1.1.2)
|
25
|
+
dmarkow-raspell (1.2.2)
|
25
26
|
ffi (0.6.3)
|
26
27
|
rake (>= 0.8.7)
|
27
28
|
gherkin (2.2.9)
|
@@ -40,7 +41,6 @@ GEM
|
|
40
41
|
rack-test (0.5.6)
|
41
42
|
rack (>= 1.0)
|
42
43
|
rake (0.8.7)
|
43
|
-
raspell (1.1)
|
44
44
|
rcov (0.9.9)
|
45
45
|
reek (1.2.8)
|
46
46
|
ruby2ruby (~> 1.2)
|
@@ -80,9 +80,9 @@ DEPENDENCIES
|
|
80
80
|
bundler (~> 1.0.0)
|
81
81
|
capybara
|
82
82
|
cucumber
|
83
|
+
dmarkow-raspell
|
83
84
|
jeweler (~> 1.5.2)
|
84
85
|
rack
|
85
|
-
raspell
|
86
86
|
rcov
|
87
87
|
reek (~> 1.2.8)
|
88
88
|
roodi (~> 2.1.0)
|
data/README.rdoc
CHANGED
@@ -9,9 +9,13 @@ Uses ASpell to check text entry and suggest replacement words
|
|
9
9
|
To use in your Rails app:
|
10
10
|
|
11
11
|
* Install/Configure TinyMCE
|
12
|
+
* Add rack_spellchecker to your Gemfile:
|
13
|
+
|
14
|
+
gem "rack_spellchecker"
|
15
|
+
|
12
16
|
* Mount the rack application to TinyMCE's prescribed location (you can configure it via the spellchecker_rpc_url option in tiny_mce) in counfig/routes.rb:
|
13
17
|
|
14
|
-
|
18
|
+
match "/spell_checker" => RackSpellChecker::Application.new
|
15
19
|
|
16
20
|
== Todo
|
17
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/rack_spellchecker.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rack_spellchecker}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Pickett"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-04-21}
|
13
13
|
s.description = %q{Spellcheck your text entry with TinyMCE and Rack SpellChecker}
|
14
14
|
s.email = %q{dpickett@enlightsolutions.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -35,25 +35,22 @@ Gem::Specification.new do |s|
|
|
35
35
|
"lib/rack_spellchecker/application.rb",
|
36
36
|
"lib/rack_spellchecker/request_handler.rb",
|
37
37
|
"rack_spellchecker.gemspec",
|
38
|
-
"spec/rack_spellchecker_spec.rb",
|
39
38
|
"spec/spec_helper.rb"
|
40
39
|
]
|
41
40
|
s.homepage = %q{http://github.com/dpickett/rack_spellchecker}
|
42
41
|
s.licenses = ["MIT"]
|
43
42
|
s.require_paths = ["lib"]
|
44
|
-
s.rubygems_version = %q{1.
|
43
|
+
s.rubygems_version = %q{1.7.2}
|
45
44
|
s.summary = %q{A rack spellchecker to support TinyMCE spellchecking}
|
46
45
|
s.test_files = [
|
47
|
-
"spec/rack_spellchecker_spec.rb",
|
48
46
|
"spec/spec_helper.rb"
|
49
47
|
]
|
50
48
|
|
51
49
|
if s.respond_to? :specification_version then
|
52
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
53
50
|
s.specification_version = 3
|
54
51
|
|
55
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
56
|
-
s.add_runtime_dependency(%q<raspell>, [">= 0"])
|
53
|
+
s.add_runtime_dependency(%q<dmarkow-raspell>, [">= 0"])
|
57
54
|
s.add_runtime_dependency(%q<rack>, [">= 0"])
|
58
55
|
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
59
56
|
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
|
@@ -65,7 +62,7 @@ Gem::Specification.new do |s|
|
|
65
62
|
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
66
63
|
s.add_development_dependency(%q<capybara>, [">= 0"])
|
67
64
|
else
|
68
|
-
s.add_dependency(%q<raspell>, [">= 0"])
|
65
|
+
s.add_dependency(%q<dmarkow-raspell>, [">= 0"])
|
69
66
|
s.add_dependency(%q<rack>, [">= 0"])
|
70
67
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
71
68
|
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
@@ -78,7 +75,7 @@ Gem::Specification.new do |s|
|
|
78
75
|
s.add_dependency(%q<capybara>, [">= 0"])
|
79
76
|
end
|
80
77
|
else
|
81
|
-
s.add_dependency(%q<raspell>, [">= 0"])
|
78
|
+
s.add_dependency(%q<dmarkow-raspell>, [">= 0"])
|
82
79
|
s.add_dependency(%q<rack>, [">= 0"])
|
83
80
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
84
81
|
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack_spellchecker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Pickett
|
@@ -15,14 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-04-21 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
type: :runtime
|
24
|
-
name: raspell
|
25
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
22
|
none: false
|
27
23
|
requirements:
|
28
24
|
- - ">="
|
@@ -31,12 +27,12 @@ dependencies:
|
|
31
27
|
segments:
|
32
28
|
- 0
|
33
29
|
version: "0"
|
34
|
-
|
35
|
-
|
30
|
+
version_requirements: *id001
|
31
|
+
name: dmarkow-raspell
|
36
32
|
prerelease: false
|
37
33
|
type: :runtime
|
38
|
-
|
39
|
-
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
36
|
none: false
|
41
37
|
requirements:
|
42
38
|
- - ">="
|
@@ -45,12 +41,12 @@ dependencies:
|
|
45
41
|
segments:
|
46
42
|
- 0
|
47
43
|
version: "0"
|
48
|
-
|
49
|
-
|
44
|
+
version_requirements: *id002
|
45
|
+
name: rack
|
50
46
|
prerelease: false
|
51
|
-
type: :
|
52
|
-
|
53
|
-
|
47
|
+
type: :runtime
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
50
|
none: false
|
55
51
|
requirements:
|
56
52
|
- - ~>
|
@@ -61,12 +57,12 @@ dependencies:
|
|
61
57
|
- 3
|
62
58
|
- 0
|
63
59
|
version: 2.3.0
|
64
|
-
|
65
|
-
|
60
|
+
version_requirements: *id003
|
61
|
+
name: rspec
|
66
62
|
prerelease: false
|
67
63
|
type: :development
|
68
|
-
|
69
|
-
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
66
|
none: false
|
71
67
|
requirements:
|
72
68
|
- - ~>
|
@@ -77,12 +73,12 @@ dependencies:
|
|
77
73
|
- 6
|
78
74
|
- 0
|
79
75
|
version: 0.6.0
|
80
|
-
|
81
|
-
|
76
|
+
version_requirements: *id004
|
77
|
+
name: yard
|
82
78
|
prerelease: false
|
83
79
|
type: :development
|
84
|
-
|
85
|
-
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
82
|
none: false
|
87
83
|
requirements:
|
88
84
|
- - ~>
|
@@ -93,12 +89,12 @@ dependencies:
|
|
93
89
|
- 0
|
94
90
|
- 0
|
95
91
|
version: 1.0.0
|
96
|
-
|
97
|
-
|
92
|
+
version_requirements: *id005
|
93
|
+
name: bundler
|
98
94
|
prerelease: false
|
99
95
|
type: :development
|
100
|
-
|
101
|
-
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
98
|
none: false
|
103
99
|
requirements:
|
104
100
|
- - ~>
|
@@ -109,12 +105,12 @@ dependencies:
|
|
109
105
|
- 5
|
110
106
|
- 2
|
111
107
|
version: 1.5.2
|
112
|
-
|
113
|
-
|
108
|
+
version_requirements: *id006
|
109
|
+
name: jeweler
|
114
110
|
prerelease: false
|
115
111
|
type: :development
|
116
|
-
|
117
|
-
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
114
|
none: false
|
119
115
|
requirements:
|
120
116
|
- - ">="
|
@@ -123,12 +119,12 @@ dependencies:
|
|
123
119
|
segments:
|
124
120
|
- 0
|
125
121
|
version: "0"
|
126
|
-
|
127
|
-
|
122
|
+
version_requirements: *id007
|
123
|
+
name: rcov
|
128
124
|
prerelease: false
|
129
125
|
type: :development
|
130
|
-
|
131
|
-
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
128
|
none: false
|
133
129
|
requirements:
|
134
130
|
- - ~>
|
@@ -139,12 +135,12 @@ dependencies:
|
|
139
135
|
- 2
|
140
136
|
- 8
|
141
137
|
version: 1.2.8
|
142
|
-
|
143
|
-
|
138
|
+
version_requirements: *id008
|
139
|
+
name: reek
|
144
140
|
prerelease: false
|
145
141
|
type: :development
|
146
|
-
|
147
|
-
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
148
144
|
none: false
|
149
145
|
requirements:
|
150
146
|
- - ~>
|
@@ -155,12 +151,12 @@ dependencies:
|
|
155
151
|
- 1
|
156
152
|
- 0
|
157
153
|
version: 2.1.0
|
158
|
-
|
159
|
-
|
154
|
+
version_requirements: *id009
|
155
|
+
name: roodi
|
160
156
|
prerelease: false
|
161
157
|
type: :development
|
162
|
-
|
163
|
-
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
164
160
|
none: false
|
165
161
|
requirements:
|
166
162
|
- - ">="
|
@@ -169,12 +165,12 @@ dependencies:
|
|
169
165
|
segments:
|
170
166
|
- 0
|
171
167
|
version: "0"
|
172
|
-
|
173
|
-
|
168
|
+
version_requirements: *id010
|
169
|
+
name: cucumber
|
174
170
|
prerelease: false
|
175
171
|
type: :development
|
176
|
-
|
177
|
-
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
178
174
|
none: false
|
179
175
|
requirements:
|
180
176
|
- - ">="
|
@@ -183,7 +179,10 @@ dependencies:
|
|
183
179
|
segments:
|
184
180
|
- 0
|
185
181
|
version: "0"
|
186
|
-
|
182
|
+
version_requirements: *id011
|
183
|
+
name: capybara
|
184
|
+
prerelease: false
|
185
|
+
type: :development
|
187
186
|
description: Spellcheck your text entry with TinyMCE and Rack SpellChecker
|
188
187
|
email: dpickett@enlightsolutions.com
|
189
188
|
executables: []
|
@@ -212,9 +211,7 @@ files:
|
|
212
211
|
- lib/rack_spellchecker/application.rb
|
213
212
|
- lib/rack_spellchecker/request_handler.rb
|
214
213
|
- rack_spellchecker.gemspec
|
215
|
-
- spec/rack_spellchecker_spec.rb
|
216
214
|
- spec/spec_helper.rb
|
217
|
-
has_rdoc: true
|
218
215
|
homepage: http://github.com/dpickett/rack_spellchecker
|
219
216
|
licenses:
|
220
217
|
- MIT
|
@@ -244,10 +241,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
241
|
requirements: []
|
245
242
|
|
246
243
|
rubyforge_project:
|
247
|
-
rubygems_version: 1.
|
244
|
+
rubygems_version: 1.7.2
|
248
245
|
signing_key:
|
249
246
|
specification_version: 3
|
250
247
|
summary: A rack spellchecker to support TinyMCE spellchecking
|
251
248
|
test_files:
|
252
|
-
- spec/rack_spellchecker_spec.rb
|
253
249
|
- spec/spec_helper.rb
|