add rchardet19 to detect string encoding

This commit is contained in:
Saito 2011-11-28 17:34:11 +08:00
parent 2244203968
commit 75fa0632e6
2 changed files with 35 additions and 32 deletions

65
Gemfile
View file

@ -1,55 +1,56 @@
source 'http://rubygems.org' source "http://rubygems.org"
gem 'rails', '3.1.1' gem "rails", "3.1.1"
gem 'sqlite3' gem "sqlite3"
gem 'devise', "1.5.0" gem "devise", "1.5.0"
gem 'stamp' gem "stamp"
gem 'kaminari' gem "kaminari"
gem 'haml-rails' gem "haml-rails"
gem 'jquery-rails' gem "jquery-rails"
gem 'grit', :git => 'https://github.com/gitlabhq/grit.git' gem "grit", :git => "https://github.com/gitlabhq/grit.git"
gem "carrierwave" gem "carrierwave"
gem 'six' gem "six"
gem 'therubyracer' gem "therubyracer"
gem 'faker' gem "faker"
gem 'seed-fu', '~> 2.1.0' gem "seed-fu", "~> 2.1.0"
gem "inifile" gem "inifile"
gem "pygments.rb", "0.2.3" gem "pygments.rb", "0.2.3"
gem "thin" gem "thin"
gem "git" gem "git"
gem "acts_as_list" gem "acts_as_list"
gem 'rdiscount' gem "rdiscount"
gem 'acts-as-taggable-on', '~> 2.1.0' gem "acts-as-taggable-on", "~> 2.1.0"
gem 'drapper' gem "drapper"
gem "rchardet19", "~> 1.3.5"
group :assets do group :assets do
gem 'sass-rails', "~> 3.1.0" gem "sass-rails", "~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0" gem "coffee-rails", "~> 3.1.0"
gem 'uglifier' gem "uglifier"
end end
group :development do group :development do
gem 'letter_opener' gem "letter_opener"
gem 'rails-footnotes', '~> 3.7.5' gem "rails-footnotes", "~> 3.7.5"
gem 'annotate', :git => 'https://github.com/ctran/annotate_models.git' gem "annotate", :git => "https://github.com/ctran/annotate_models.git"
end end
group :development, :test do group :development, :test do
gem 'rspec-rails' gem "rspec-rails"
gem 'capybara' gem "capybara"
gem 'autotest' gem "autotest"
gem 'autotest-rails' gem "autotest-rails"
unless ENV["CI"] unless ENV["CI"]
gem 'ruby-debug19', :require => 'ruby-debug' gem "ruby-debug19", :require => "ruby-debug"
end end
gem 'awesome_print' gem "awesome_print"
gem 'database_cleaner' gem "database_cleaner"
gem 'launchy' gem "launchy"
end end
group :test do group :test do
gem 'turn', :require => false gem "turn", :require => false
gem 'simplecov', :require => false gem "simplecov", :require => false
gem "shoulda", "~> 3.0.0.beta2" gem "shoulda", "~> 3.0.0.beta2"
end end

View file

@ -157,6 +157,7 @@ GEM
rdoc (~> 3.4) rdoc (~> 3.4)
thor (~> 0.14.6) thor (~> 0.14.6)
rake (0.9.2.2) rake (0.9.2.2)
rchardet19 (1.3.5)
rdiscount (1.6.8) rdiscount (1.6.8)
rdoc (3.11) rdoc (3.11)
json (~> 1.4) json (~> 1.4)
@ -268,6 +269,7 @@ DEPENDENCIES
pygments.rb (= 0.2.3) pygments.rb (= 0.2.3)
rails (= 3.1.1) rails (= 3.1.1)
rails-footnotes (~> 3.7.5) rails-footnotes (~> 3.7.5)
rchardet19 (~> 1.3.5)
rdiscount rdiscount
rspec-rails rspec-rails
ruby-debug19 ruby-debug19