babosa 0.3.10 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/Changelog.md +107 -0
  3. data/README.md +5 -23
  4. data/lib/babosa.rb +0 -17
  5. data/lib/babosa/identifier.rb +19 -17
  6. data/lib/babosa/transliterator/base.rb +19 -3
  7. data/lib/babosa/transliterator/hindi.rb +137 -0
  8. data/lib/babosa/transliterator/macedonian.rb +3 -1
  9. data/lib/babosa/transliterator/turkish.rb +8 -0
  10. data/lib/babosa/transliterator/ukrainian.rb +19 -0
  11. data/lib/babosa/transliterator/vietnamese.rb +143 -0
  12. data/lib/babosa/utf8/active_support_proxy.rb +26 -8
  13. data/lib/babosa/utf8/dumb_proxy.rb +23 -16
  14. data/lib/babosa/utf8/java_proxy.rb +1 -1
  15. data/lib/babosa/utf8/proxy.rb +46 -39
  16. data/lib/babosa/utf8/unicode_proxy.rb +3 -1
  17. data/lib/babosa/version.rb +1 -1
  18. data/spec/babosa_spec.rb +50 -37
  19. data/spec/spec_helper.rb +17 -14
  20. data/spec/transliterators/base_spec.rb +3 -3
  21. data/spec/transliterators/bulgarian_spec.rb +1 -1
  22. data/spec/transliterators/danish_spec.rb +1 -1
  23. data/spec/transliterators/german_spec.rb +2 -2
  24. data/spec/transliterators/greek_spec.rb +1 -1
  25. data/spec/transliterators/hindi_spec.rb +17 -0
  26. data/spec/transliterators/latin_spec.rb +9 -0
  27. data/spec/transliterators/norwegian_spec.rb +1 -1
  28. data/spec/transliterators/polish_spec.rb +14 -0
  29. data/spec/transliterators/romanian_spec.rb +1 -1
  30. data/spec/transliterators/serbian_spec.rb +1 -1
  31. data/spec/transliterators/spanish_spec.rb +1 -1
  32. data/spec/transliterators/swedish_spec.rb +1 -1
  33. data/spec/transliterators/turkish_spec.rb +24 -0
  34. data/spec/transliterators/ukrainian_spec.rb +80 -1
  35. data/spec/transliterators/vietnamese_spec.rb +18 -0
  36. data/spec/utf8_proxy_spec.rb +22 -18
  37. metadata +64 -52
  38. data/init.rb +0 -3
data/init.rb DELETED
@@ -1,3 +0,0 @@
1
- require "rubygems"
2
- require "bundler/setup"
3
- require "babosa"