Skip to content
Browse files

Prepare 0.3.3 release.

  • Loading branch information...
1 parent 800f894 commit 6da53477d537d5c4042309399d5de25c20bca92d @norman norman committed
Showing with 13 additions and 9 deletions.
  1. +8 −4 README.md
  2. +4 −4 lib/babosa/identifier.rb
  3. +1 −1 lib/babosa/version.rb
View
12 README.md
@@ -20,8 +20,9 @@ FriendlyId.
"Jürgen Müller".to_slug.transliterate.to_s #=> "Jurgen Muller"
"Jürgen Müller".to_slug.transliterate(:german).to_s #=> "Juergen Mueller"
-Supported language currently include Danish, German, Serbian and Spanish. I'll
-gladly accept contributions and support more languages.
+Many European languages using both Roman and Cyrillic alphabets are supported.
+I'll gladly accept contributions from fluent speakers to support more
+languages.
### Non-ASCII removal
@@ -164,15 +165,18 @@ Please use Babosa's [Github issue tracker](http://github.com/norman/babosa/issue
## Contributors
+* [Kim Joar Bekkelund](https://github.com/kjbekkelund) - Norwegian support
* [Alexey Shkolnikov](https://github.com/grlm) - Russian support
* [Martin Petrov](https://github.com/martin-petrov) - Bulgarian support
* [Molte Emil Strange Andersen](https://github.com/molte) - Danish support
* [Milan Dobrota](https://github.com/milandobrota) - Serbian support
-* [Kim Joar Bekkelund](https://github.com/kjbekkelund) - Norwegian support
## Changelog
+* 0.3.3 - Add Norwegian support.
+* 0.3.2 - Improve Macedonian support.
+* 0.3.1 - Small fixes to Cyrillic.
* 0.3.0 - Cyrillic support. Improve support for various Unicode spaces and dashes.
* 0.2.2 - Fix for "smart" quote handling.
* 0.2.1 - Implement #empty? for compatiblity with Active Support's #blank?.
@@ -182,7 +186,7 @@ Please use Babosa's [Github issue tracker](http://github.com/norman/babosa/issue
## Copyright
-Copyright (c) 2010 Norman Clarke
+Copyright (c) 2010-2011 Norman Clarke
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
View
8 lib/babosa/identifier.rb
@@ -84,14 +84,14 @@ def empty?
# characters that are Roman-alphabet characters + diacritics. Non-letter
# characters are left unmodified.
#
- # string = Identifier.new "Łódź, Poland"
+ # string = Identifier.new "Łódź
# string.transliterate # => "Lodz, Poland"
# string = Identifier.new "日本"
# string.transliterate # => "日本"
#
# You can pass any key(s) from +Characters.approximations+ as arguments. This allows
- # for contextual approximations. Danish, German, Norwegian, Serbian and Spanish are
- # currently supported.
+ # for contextual approximations. Various languages are supported, you can see which ones
+ # by looking at the source of {Babosa::Transliterator::Base}.
#
# string = Identifier.new "Jürgen Müller"
# string.transliterate # => "Jurgen Muller"
@@ -242,7 +242,7 @@ def tidy_bytes!
end
%w[transliterate clean downcase word_chars normalize normalize_utf8
- tidy_bytes to_ascii to_ruby_method truncate truncate_bytes upcase
+ tidy_bytes to_ascii to_ruby_method truncate truncate_bytes upcase
with_separators].each do |method|
class_eval(<<-EOM, __FILE__, __LINE__ + 1)
def #{method}(*args)
View
2 lib/babosa/version.rb
@@ -1,5 +1,5 @@
module Babosa
module Version
- STRING = "0.3.2"
+ STRING = "0.3.3"
end
end

0 comments on commit 6da5347

Please sign in to comment.
Something went wrong with that request. Please try again.