Permalink
Browse files

use yaml_waml to generate nicer lofis.yml

  • Loading branch information...
1 parent 0661dc8 commit 3efcc5da64ced04462462dea1e85f0427de2e43f @DerGuteMoritz DerGuteMoritz committed Nov 18, 2010
Showing with 120 additions and 135 deletions.
  1. +1 −17 Rakefile
  2. +1 −0 Rakefile.jeweler
  3. +118 −118 lofis.yml
View
@@ -1,27 +1,11 @@
require 'yaml'
require 'pathname'
+require 'yaml_waml'
$KCODE = 'UTF8'
root = Pathname.new(__FILE__).dirname
load root.join('Rakefile.jeweler')
-class String
- def to_yaml( opts = {} )
- YAML::quick_emit( is_complex_yaml? ? self : nil, opts ) do |out|
- if to_yaml_properties.empty?
- out.scalar( taguri, self, self =~ /^:/ ? :quote2 : to_yaml_style )
- else
- out.map( taguri, to_yaml_style ) do |map|
- map.add( 'str', "#{self}" )
- to_yaml_properties.each do |m|
- map.add( m, instance_variable_get( m ) )
- end
- end
- end
- end
- end
-end
-
task :default => :compile
desc 'compile multiple lofis files into one'
View
@@ -11,6 +11,7 @@ begin
gem.homepage = "http://github.com/wingfire/lofis"
gem.authors = ["Christof Spies", "Moritz Heidkamp"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ gem.add_development_dependency :yaml_waml
end
Jeweler::GemcutterTasks.new
rescue LoadError
View
236 lofis.yml
@@ -1,5 +1,5 @@
# Lofis version 0.0.1
-# compiled at Thu Sep 30 17:12:28 UTC 2010
+# compiled at Thu Nov 18 11:56:22 UTC 2010
#
# included files:
# source/hawaiian.yml
@@ -17,150 +17,150 @@
---
umlaut:
ss:
- - "\xC3\x9F"
+ - "ß"
"":
- - "\xC2\xAB"
- - "\xC2\xBB"
- - "\xE2\x80\x9E"
- - "\xE2\x80\x9C"
- - "\xE2\x80\x9D"
- - "\xC2\xBF"
- - "\xC2\xA1"
+ - "«"
+ - "»"
+ - ""
+ - ""
+ - ""
+ - "¿"
+ - "¡"
L:
- - "\xC5\x81"
- - "\xC4\xB9"
+ - "Ł"
+ - "Ĺ"
l:
- - "\xC5\x82"
- - "\xC4\xBA"
+ - "ł"
+ - "ĺ"
A:
- - "\xC3\x84"
- - "\xC4\x84"
- - "\xC3\x81"
- - "\xC3\x80"
- - "\xC3\x82"
- - "\xC3\x86"
- - "\xC4\x82"
+ - "Ä"
+ - "Ą"
+ - "Á"
+ - "À"
+ - "Â"
+ - "Æ"
+ - "Ă"
a:
- - "\xC3\xA4"
- - "\xC4\x85"
- - "\xC3\xA1"
- - "\xC3\xA0"
- - "\xC3\xA2"
- - "\xC3\xA6"
- - "\xC4\x83"
+ - "ä"
+ - "ą"
+ - "á"
+ - "à"
+ - "â"
+ - "æ"
+ - "ă"
Y:
- - "\xC3\x9D"
+ - "Ý"
C:
- - "\xC4\x86"
- - "\xC4\x8C"
- - "\xC3\x87"
+ - "Ć"
+ - "Č"
+ - "Ç"
N:
- - "\xC5\x83"
- - "\xC5\x87"
- - "\xC3\x91"
+ - "Ń"
+ - "Ň"
+ - "Ñ"
c:
- - "\xC4\x87"
- - "\xC4\x8D"
- - "\xC3\xA7"
+ - "ć"
+ - "č"
+ - "ç"
n:
- - "\xC5\x84"
- - "\xC5\x88"
- - "\xC3\xB1"
+ - "ń"
+ - "ň"
+ - "ñ"
y:
- - "\xCA\xBB"
- - "\xC3\xBD"
+ - "ʻ"
+ - "ý"
d:
- - "\xC4\x8F"
+ - "ď"
Z:
- - "\xC5\xB9"
- - "\xC5\xBB"
- - "\xC5\xBD"
+ - "Ź"
+ - "Ż"
+ - "Ž"
z:
- - "\xC5\xBA"
- - "\xC5\xBC"
- - "\xC5\xBE"
+ - "ź"
+ - "ż"
+ - "ž"
O:
- - "\xC5\x8C"
- - "\xC3\x93"
- - "\xC3\x96"
- - "\xC3\x94"
- - "\xC5\x92"
- - "\xC3\x92"
+ - "Ō"
+ - "Ó"
+ - "Ö"
+ - "Ô"
+ - "Œ"
+ - "Ò"
o:
- - "\xC5\x8D"
- - "\xC3\xB3"
- - "\xC3\xB6"
- - "\xC3\xB4"
- - "\xC5\x93"
- - "\xC3\xB2"
+ - "ō"
+ - "ó"
+ - "ö"
+ - "ô"
+ - "œ"
+ - "ò"
E:
- - "\xC4\x92"
- - "\xC4\x98"
- - "\xC3\x89"
- - "\xC4\x9A"
- - "\xC3\x88"
- - "\xC3\x8A"
- - "\xC3\x8B"
+ - "Ē"
+ - "Ę"
+ - "É"
+ - "Ě"
+ - "È"
+ - "Ê"
+ - "Ë"
e:
- - "\xC4\x93"
- - "\xC4\x99"
- - "\xC3\xA9"
- - "\xC4\x9B"
- - "\xC3\xA8"
- - "\xC3\xAA"
- - "\xC3\xAB"
+ - "ē"
+ - "ę"
+ - "é"
+ - "ě"
+ - "è"
+ - "ê"
+ - "ë"
G:
- - "\xC4\x9E"
+ - "Ğ"
g:
- - "\xC4\x9F"
+ - "ğ"
R:
- - "\xC5\x94"
- - "\xC5\x98"
+ - "Ŕ"
+ - "Ř"
r:
- - "\xC5\x95"
- - "\xC5\x99"
+ - "ŕ"
+ - "ř"
S:
- - "\xC5\x9A"
- - "\xC5\xA0"
- - "\xC5\x9E"
- - "\xC8\x98"
+ - "Ś"
+ - "Š"
+ - "Ş"
+ - "Ș"
s:
- - "\xC5\x9B"
- - "\xC5\xA1"
- - "\xC5\x9F"
- - "\xC8\x99"
+ - "ś"
+ - "š"
+ - "ş"
+ - "ș"
T:
- - "\xC8\x9A"
- - "\xC5\xA2"
+ - "Ț"
+ - "Ţ"
t:
- - "\xC5\xA5"
- - "\xC8\x9B"
- - "\xC5\xA3"
+ - "ť"
+ - "ț"
+ - "ţ"
I:
- - "\xC4\xAA"
- - "\xC3\x8D"
- - "\xC4\xB0"
- - "\xC3\x8E"
- - "\xC3\x8F"
- - "\xC3\x8C"
+ - "Ī"
+ - "Í"
+ - "İ"
+ - "Î"
+ - "Ï"
+ - "Ì"
i:
- - "\xC4\xAB"
- - "\xC3\xAD"
- - "\xC4\xB1"
- - "\xC3\xAE"
- - "\xC3\xAF"
- - "\xC3\xAC"
+ - "ī"
+ - "í"
+ - "ı"
+ - "î"
+ - "ï"
+ - "ì"
U:
- - "\xC5\xAA"
- - "\xC3\x9C"
- - "\xC3\x9A"
- - "\xC5\xAE"
- - "\xC3\x99"
- - "\xC3\x9B"
+ - "Ū"
+ - "Ü"
+ - "Ú"
+ - "Ů"
+ - "Ù"
+ - "Û"
u:
- - "\xC5\xAB"
- - "\xC3\xBC"
- - "\xC3\xBA"
- - "\xC5\xAF"
- - "\xC3\xB9"
- - "\xC3\xBB"
+ - "ū"
+ - "ü"
+ - "ú"
+ - "ů"
+ - "ù"
+ - "û"

0 comments on commit 3efcc5d

Please sign in to comment.