rack-speling 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -2
- data/README.txt +5 -1
- data/lib/rack/speling.rb +1 -1
- data/lib/rack/speling/version.rb +3 -2
- data/rack-speling.gemspec +3 -2
- data/test/helper.rb +0 -1
- data/test/test_rack-speling.rb +2 -0
- metadata +27 -47
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 330bdd7f98ade25f479b0cd4d94212dc0952f6c8
|
4
|
+
data.tar.gz: 3c8556ff5965b55278e40283400d739e834c846a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 42e16a04454d1646c15128aa0525e2b8b35fc1a6f2ecf22bb251736b0f3d875240c019e26ed5e23b27e0f29a95454a4542f2625ec57fd989ebb149e9c01fe37c
|
7
|
+
data.tar.gz: 5ea22c081c55284aaaf975b9afa7ba6a73a269b39df788773f1959eb93a357378ad66e1fc36ecd755874c5ee82a155b59c8a4def17789faca434ac2fa802d64e
|
data/Gemfile
CHANGED
data/README.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
Rack::Speling is a simple port of mod_speling to Rack.
|
2
2
|
|
3
|
-
Currently, only case-insensitivety is achieved.
|
3
|
+
Currently, only case-insensitivety is achieved out of the box.
|
4
|
+
|
5
|
+
A lookup-lamda can be passed into the middleware to enhance the
|
6
|
+
spelling-correction-process. For now, please look into the source
|
7
|
+
to see how that works.
|
data/lib/rack/speling.rb
CHANGED
data/lib/rack/speling/version.rb
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
|
3
3
|
module Rack # :nodoc:
|
4
4
|
module Speling
|
5
|
-
VERSION = "0.0
|
5
|
+
VERSION = "0.1.0"
|
6
6
|
|
7
7
|
SUMMARY = "Simple Speling corretor in Rack"
|
8
8
|
|
9
9
|
DESCRIPTION = <<-EOD
|
10
10
|
Rack::Speling is a simple port of mod_speling to Rack.
|
11
11
|
|
12
|
-
Currently, only case-insensitivety is achieved.
|
12
|
+
Currently, only case-insensitivety is achieved. Custom
|
13
|
+
correction-code can be passed into the middleware.
|
13
14
|
EOD
|
14
15
|
end
|
15
16
|
end
|
data/rack-speling.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# vim:ft=ruby:fileencoding=utf-8
|
2
|
-
require 'lib/rack/speling/version.rb'
|
2
|
+
require './lib/rack/speling/version.rb'
|
3
3
|
|
4
4
|
spec = Gem::Specification.new do |s|
|
5
5
|
s.name = 'rack-speling'
|
@@ -8,7 +8,8 @@ spec = Gem::Specification.new do |s|
|
|
8
8
|
s.authors = ["Matthias Viehweger"]
|
9
9
|
s.email = ['kronn@kronn.de']
|
10
10
|
s.homepage = 'http://github.com/kronn/rack-speling'
|
11
|
-
|
11
|
+
|
12
|
+
s.licenses = 'APL' # I think
|
12
13
|
|
13
14
|
s.summary = Rack::Speling::SUMMARY
|
14
15
|
s.description = Rack::Speling::DESCRIPTION
|
data/test/helper.rb
CHANGED
data/test/test_rack-speling.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,27 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-speling
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 3
|
10
|
-
version: 0.0.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Matthias Viehweger
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2010-09-16 00:00:00 +02:00
|
19
|
-
default_executable:
|
11
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
20
12
|
dependencies: []
|
13
|
+
description: |2
|
14
|
+
Rack::Speling is a simple port of mod_speling to Rack.
|
21
15
|
|
22
|
-
|
23
|
-
|
16
|
+
Currently, only case-insensitivety is achieved. Custom
|
17
|
+
correction-code can be passed into the middleware.
|
18
|
+
email:
|
24
19
|
- kronn@kronn.de
|
25
20
|
executables: []
|
26
|
-
|
27
21
|
extensions: []
|
28
|
-
|
29
22
|
extra_rdoc_files: []
|
30
|
-
|
31
|
-
|
32
|
-
- .gitignore
|
23
|
+
files:
|
24
|
+
- ".gitignore"
|
33
25
|
- Gemfile
|
34
26
|
- README.txt
|
35
27
|
- Rakefile
|
@@ -40,43 +32,31 @@ files:
|
|
40
32
|
- test/all.rb
|
41
33
|
- test/helper.rb
|
42
34
|
- test/test_rack-speling.rb
|
43
|
-
has_rdoc: true
|
44
35
|
homepage: http://github.com/kronn/rack-speling
|
45
|
-
licenses:
|
46
|
-
|
36
|
+
licenses:
|
37
|
+
- APL
|
38
|
+
metadata: {}
|
47
39
|
post_install_message:
|
48
40
|
rdoc_options: []
|
49
|
-
|
50
|
-
require_paths:
|
41
|
+
require_paths:
|
51
42
|
- lib
|
52
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
-
|
54
|
-
requirements:
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
55
45
|
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
version: "0"
|
61
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
|
-
requirements:
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
64
50
|
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
hash: 17
|
67
|
-
segments:
|
68
|
-
- 1
|
69
|
-
- 3
|
70
|
-
- 5
|
51
|
+
- !ruby/object:Gem::Version
|
71
52
|
version: 1.3.5
|
72
53
|
requirements: []
|
73
|
-
|
74
|
-
|
75
|
-
rubygems_version: 1.3.7
|
54
|
+
rubyforge_project:
|
55
|
+
rubygems_version: 2.4.6
|
76
56
|
signing_key:
|
77
|
-
specification_version:
|
57
|
+
specification_version: 4
|
78
58
|
summary: Simple Speling corretor in Rack
|
79
|
-
test_files:
|
59
|
+
test_files:
|
80
60
|
- test/all.rb
|
81
61
|
- test/helper.rb
|
82
62
|
- test/test_rack-speling.rb
|