Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Commit

Permalink
Added Ruby 1.9 compatibility (removed ActiveSupport::Multibyte, inser…
Browse files Browse the repository at this point in the history
…ted unidecode's algorithm)
  • Loading branch information
goncalossilva committed Mar 22, 2010
1 parent 70eec1e commit 9fac38c
Show file tree
Hide file tree
Showing 184 changed files with 46,243 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.markdown
Expand Up @@ -64,3 +64,5 @@ Conditions added by [Pat Nakajima](http://github.com/nakajima/permalink_fu/).
[Henrik Nyh](http://github.com/technoweenie/permalink_fu/) replaced `iconv` with `ActiveSupport::Multibyte`.

[Gonçalo Silva](http://goncalossilva.com) fixed `ActiveSupport::Multibyte` usage for the most recent versions of Rails.

[Gonçalo Silva](http://goncalossilva.com) replaced the `ActiveSupport::Multibyte` usage for unidecode's convertion algorithm to support Ruby 1.9.
2 changes: 2 additions & 0 deletions init.rb
@@ -1 +1,3 @@
# coding: UTF-8

ActiveRecord::Base.send :include, PermalinkFu
257 changes: 257 additions & 0 deletions lib/data/x00.yml
@@ -0,0 +1,257 @@
---
- "\z"
- "\x01"
- "\x02"
- "\x03"
- "\x04"
- "\x05"
- "\x06"
- "\a"
- "\x08"
- ' '
- "\n"
- "\v"
- "\f"
- "\r"
- "\x0e"
- "\x0f"
- "\x10"
- "\x11"
- "\x12"
- "\x13"
- "\x14"
- "\x15"
- "\x16"
- "\x17"
- "\x18"
- "\x19"
- "\x1a"
- "\e"
- "\x1c"
- "\x1d"
- "\x1e"
- "\x1f"
- ' '
- '!'
- '"'
- '#'
- $
- '%'
- '&'
- "'"
- (
- )
- '*'
- +
- ','
- -
- .
- /
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- ':'
- ;
- <
- =
- '>'
- '?'
- '@'
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- ']'
- \
- ']'
- '^'
- _
- '`'
- a
- b
- c
- d
- e
- f
- g
- h
- i
- j
- k
- l
- m
- n
- o
- p
- q
- r
- s
- t
- u
- v
- w
- x
- y
- z
- '{'
- '|'
- '}'
- '~'
- 
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ''
- ' '
- '!'
- C/
- PS
- $?
- Y=
- '|'
- SS
- '"'
- (c)
- a
- <<
- '!'
- ''
- (r)
- -
- deg
- +-
- 2
- 3
- "'"
- u
- P
- '*'
- ','
- 1
- o
- '>>'
- 1/4
- 1/2
- 3/4
- '?'
- A
- A
- A
- A
- A
- A
- AE
- C
- E
- E
- E
- E
- I
- I
- I
- I
- D
- N
- O
- O
- O
- O
- O
- x
- O
- U
- U
- U
- U
- U
- Th
- ss
- a
- a
- a
- a
- a
- a
- ae
- c
- e
- e
- e
- e
- i
- i
- i
- i
- d
- n
- o
- o
- o
- o
- o
- /
- o
- u
- u
- u
- u
- y
- th
- y

0 comments on commit 9fac38c

Please sign in to comment.