public
Description: Rails plugin to workaround for fixing output result of 'to_yaml' method treats multibyte UTF-8 string(such as japanese) as binary.
Homepage:
Clone URL: git://github.com/kakutani/yaml_waml.git
name age message
file .document Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
file .gitignore Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
file History.txt Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
file MIT-LICENSE Fri Jan 05 07:23:37 -0800 2007 Add Credit about Akira Ikeda git-svn-id: https... [shintaro.kakutani]
file README.rdoc Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
file Rakefile Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
file VERSION Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
directory benchmark/ Tue Sep 02 19:51:51 -0700 2008 added "using $1 w/ 'H2'". [kakutani]
file init.rb Thu Jan 04 20:07:12 -0800 2007 revert to rev.14 git-svn-id: https://yaml-waml... [shintaro.kakutani]
file install.rb Thu Jan 04 19:29:11 -0800 2007 YAML WorkAround for Multibyte Languate plugin. ... [shintaro.kakutani]
directory lib/ Tue Sep 09 02:11:26 -0700 2008 changed IO spec into File [kakutani]
directory spec/ Tue Sep 09 02:11:26 -0700 2008 changed IO spec into File [kakutani]
directory tasks/ Thu Jan 04 19:29:11 -0800 2007 YAML WorkAround for Multibyte Languate plugin. ... [shintaro.kakutani]
file yaml_waml.gemspec Tue Oct 20 05:25:45 -0700 2009 version 0.3.0: introduce jeweler and releasing ... [kakutani]
README.rdoc

YamlWaml

YamlWaml is for ‘YAML WorkAround for Multibyte Language’.

This Rails plugin originated by the blog entry written by Akira Ikeda.

(*) d.hatena.ne.jp/Rommy/20061229/1167406811

Install

Installing the gem manually

 gem sources -a http://gemcutter.org
 gem install yaml_waml

in ruby code …

 require 'rubygems'
 gem 'yaml_waml'
 ...
 require 'yaml_waml'

2.1.0 <= rails w/ gem dependencies

 Rails::Initializer.run do |config|
   config.gem 'yaml_waml', :version => '~> 0.1.1',
     :source => 'http://gemcutter.org'
 end

2.1.0 <= rails

  • script/plugin install git://github.com/kakutani/yaml_waml.git

rails <= 2.0.2

Repositories

Git

  • git://github.com/kakutani/yaml_waml.git

SVN repository (obsoleted)

It will not maintain anymore.

License

MIT License

Running the specs

In order to run YamlWaml’s full suite of specs (rake pre_commit), you must install the following gems:

  • rspec # Tests plugin behaviour
  • rake # Runs the build script
  • rcov # Verifies that the code is 100% covered by specs

Web Site

Authors

Akira Ikeda(pinpon.ikeda at gmail.com), d.hatena.ne.jp/Rommy

Adapted by KAKUTANI Shintaro(shintaro at kakutani.com), kakutani.com

Thaks for pathes from followings: