mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
74bdae9e4c
The difference from CRuby's Encoding: - Encoding is a module, instead of a class - each Encoding (e.g. `Encoding::UTF_8) is a string instead of Encoding object - only supports `UTF-8` and `ASCII-8BIT` (and its alias `BINARY`) Using this gem automatically turn on `MRB_UTF8_STRING` support.
9 lines
307 B
Ruby
9 lines
307 B
Ruby
MRuby::Gem::Specification.new('mruby-encoding') do |spec|
|
|
spec.license = 'MIT'
|
|
spec.author = 'mruby developers'
|
|
spec.summary = "Poorman's Encoding for mruby"
|
|
spec.build.defines << "HAVE_MRUBY_ENCODING_GEM"
|
|
spec.build.defines << "MRB_UTF8_STRING"
|
|
spec.add_test_dependency 'mruby-string-ext'
|
|
end
|