public
Fork of kakutani/yaml_waml
Description: Rails plugin to workaround for fixing output result of 'to_yaml' method treats multibyte UTF-8 string(such as japanese) as binary.
Homepage: http://code.google.com/p/yaml-waml/
Clone URL: git://github.com/ohac/yaml_waml.git
name age message
file .gitignore Tue Jun 10 02:16:41 -0700 2008 Moved from google code to github.com. * change... [kakutani]
file History.txt Tue Sep 02 02:03:31 -0700 2008 support YAML.dump and version 0.2.0. applied p... [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 Loading commit data...
file Rakefile Tue Jun 10 02:16:41 -0700 2008 Moved from google code to github.com. * change... [kakutani]
directory benchmark/
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/
directory spec/
directory tasks/ Thu Jan 04 19:29:11 -0800 2007 YAML WorkAround for Multibyte Languate plugin. ... [shintaro.kakutani]
file yaml_waml.gemspec Thu Sep 04 04:13:22 -0700 2008 version 0.3.0 [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://gems.github.com
 gem install kakutani-yaml_waml

in ruby code …

 require 'rubygems'
 gem 'kakutani-yaml_waml'
 ...
 require 'yaml_waml'

2.1.0 <= rails w/ gem dependencies

 Rails::Initializer.run do |config|
   config.gem 'kakutani-yaml_waml', :version => '~> 0.1.1', :lib => 'yaml_waml',
     :source => 'http://gems.github.com'
 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: