forked from runa/rchardet
-
Notifications
You must be signed in to change notification settings - Fork 5
/
rchardet.gemspec
19 lines (18 loc) · 2.17 KB
/
rchardet.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rchardet', __FILE__)
Gem::Specification.new do |s|
s.name = "edouard-rchardet"
s.version = CharDet.version
s.author = "Jeff Hodges"
s.email = "jeff at somethingsimilar dot com"
s.homepage = "http://github.com/mcommons/rchardet/tree/master"
s.platform = Gem::Platform::RUBY
s.summary = "Character encoding auto-detection in Ruby. Ruby 1.9 compatible."
s.description = "Character encoding auto-detection in Ruby. This library is a port of the auto-detection code in Mozilla. It means taking a sequence of bytes in an unknown character encoding, and attempting to determine the encoding so you can read the text. It’s like cracking a code when you don’t have the decryption key."
s.files = ["COPYING", "Rakefile", "README.md", "lib/rchardet.rb", "lib/rchardet/big5freq.rb", "lib/rchardet/big5prober.rb", "lib/rchardet/chardistribution.rb", "lib/rchardet/charsetgroupprober.rb", "lib/rchardet/charsetprober.rb", "lib/rchardet/codingstatemachine.rb", "lib/rchardet/constants.rb", "lib/rchardet/escprober.rb", "lib/rchardet/escsm.rb", "lib/rchardet/eucjpprober.rb", "lib/rchardet/euckrfreq.rb", "lib/rchardet/euckrprober.rb", "lib/rchardet/euctwfreq.rb", "lib/rchardet/euctwprober.rb", "lib/rchardet/gb2312freq.rb", "lib/rchardet/gb2312prober.rb", "lib/rchardet/hebrewprober.rb", "lib/rchardet/jisfreq.rb", "lib/rchardet/jpcntx.rb", "lib/rchardet/langbulgarianmodel.rb", "lib/rchardet/langcyrillicmodel.rb", "lib/rchardet/langgreekmodel.rb", "lib/rchardet/langhebrewmodel.rb", "lib/rchardet/langhungarianmodel.rb", "lib/rchardet/langthaimodel.rb", "lib/rchardet/latin1prober.rb", "lib/rchardet/mbcharsetprober.rb", "lib/rchardet/mbcsgroupprober.rb", "lib/rchardet/mbcssm.rb", "lib/rchardet/sbcharsetprober.rb", "lib/rchardet/sbcsgroupprober.rb", "lib/rchardet/sjisprober.rb", "lib/rchardet/universaldetector.rb", "lib/rchardet/utf8prober.rb"]
s.require_path = "lib"
s.has_rdoc = false # TODO: fix
s.extra_rdoc_files = ['README.md', 'COPYING']
s.rubyforge_project = 'rchardet'
s.add_development_dependency("bacon", ["~> 1.1.0"])
end