uchardet 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/ext/uchardet/extconf.rb +2 -1
- data/ext/uchardet/uchardet.c +1 -1
- data/lib/uchardet.rb +1 -1
- data/lib/uchardet/cli.rb +0 -1
- metadata +1 -1
data/History.txt
CHANGED
data/ext/uchardet/extconf.rb
CHANGED
|
@@ -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
|
|
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")
|
data/ext/uchardet/uchardet.c
CHANGED
|
@@ -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)
|
data/lib/uchardet.rb
CHANGED
data/lib/uchardet/cli.rb
CHANGED