Skip to content
Rails plugin to workaround for fixing output result of 'to_yaml' method treats multibyte UTF-8 string(such as japanese) as binary.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
benchmark
lib
spec
tasks
.document
.gitignore
History.txt
MIT-LICENSE
README.rdoc
Rakefile
VERSION
init.rb
install.rb
yaml_waml.gemspec

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:

Something went wrong with that request. Please try again.