uchardet 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,3 +5,7 @@
5
5
  === 0.1.2 2009-12-20
6
6
 
7
7
  * Documentation and code cleanup.
8
+
9
+ === 0.1.3 2009-12-20
10
+
11
+ * extconf.rb fixes for Debian/Ubuntu builds
@@ -5,7 +5,8 @@ if icu_config.empty?
5
5
  abort "ICU seems to be missing. Try 'port install icu' or 'apt-get install libicu-dev'"
6
6
  end
7
7
 
8
- $LIBS << ' ' + `#{icu_config} --ldflags-system --ldflags-libsonly`.strip
8
+ $LIBS << ' ' + `#{icu_config} --ldflags-system`.strip
9
+ $LIBS << ' ' + `#{icu_config} --ldflags-libsonly`.strip
9
10
  $LDFLAGS << ' ' + `#{icu_config} --ldflags-searchpath`.strip
10
11
 
11
12
  create_makefile("uchardet")
@@ -157,7 +157,7 @@ set_declared_encoding(VALUE self, VALUE declared_encoding)
157
157
  * call-seq:
158
158
  * new(text=nil, declared_encoding=nil)
159
159
  *
160
- * Create a new charset detector. Optionally set input text and declared encoding.
160
+ * Create a new charset detector. Optionally set the input text and declared encoding.
161
161
  */
162
162
  static VALUE
163
163
  UCharsetDetector_initialize(int argc, VALUE *argv, VALUE self)
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module Uchardet
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.3'
6
6
  end
7
7
 
8
8
  begin
@@ -44,7 +44,6 @@ module Uchardet
44
44
 
45
45
  @options[:path] = args.last
46
46
  if @options[:path].nil? || @options[:path].empty?
47
- @stdout.puts opts
48
47
  STDERR.puts "ERROR: please specify a file path."
49
48
  exit
50
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uchardet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Goutnik