charguess 1.3.20110215234539 → 1.3.20110226181011

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/README.rdoc CHANGED
@@ -17,10 +17,18 @@ This gem builds and installs libcharguess and it's binding libcharguess-ruby
17
17
 
18
18
  require "rubygems"
19
19
  require "charguess"
20
-
20
+
21
21
  CharGuess.guess("áéíóú")
22
22
  #=> "UTF-8"
23
23
 
24
+ == CREDITS
25
+
26
+ * Ernesto Jiménez <erjica@gmail.com> assembled this gem
27
+ * MoonWolf <moonwolf@moonwolf.com> originally created the ruby bindings
28
+ * Stéphane Corbé <noubi@users.sourceforge.net> extracted libcharguess from Mozilla's sources
29
+ * Nando Vieira <fnando.vieira@gmail.com> created the setup this gem is based on: https://github.com/fnando/charguess
30
+ * Will Palmer <wmpalmer@gmail.com> helped fixing this gem in Ruby 1.9
31
+
24
32
  == LICENSE:
25
33
 
26
- GPL
34
+ GPL
@@ -2306,7 +2306,7 @@ if test "$ac_test_CFLAGS" = set; then
2306
2306
  CFLAGS=$ac_save_CFLAGS
2307
2307
  elif test $ac_cv_prog_cc_g = yes; then
2308
2308
  if test "$GCC" = yes; then
2309
- CFLAGS="-g -O2"
2309
+ CFLAGS="-g -O2 -fPIC"
2310
2310
  else
2311
2311
  CFLAGS="-g"
2312
2312
  fi
@@ -3150,7 +3150,7 @@ if test "$ac_test_CXXFLAGS" = set; then
3150
3150
  CXXFLAGS=$ac_save_CXXFLAGS
3151
3151
  elif test $ac_cv_prog_cxx_g = yes; then
3152
3152
  if test "$GXX" = yes; then
3153
- CXXFLAGS="-g -O2"
3153
+ CXXFLAGS="-g -O2 -fPIC"
3154
3154
  else
3155
3155
  CXXFLAGS="-g"
3156
3156
  fi
data/tasks/extconf.rake CHANGED
@@ -7,7 +7,7 @@ task :compile => "extconf:compile"
7
7
 
8
8
  task :test => :compile
9
9
 
10
- BIN = "*.{bundle,jar,so,obj,pdb,lib,def,exp}"
11
- $hoe.clean_globs |= ["ext/**/#{BIN}", "lib/**/#{BIN}", 'ext/**/Makefile']
10
+ BIN = "*.{bundle,jar,so,obj,pdb,lib,def,exp,o,a}"
11
+ $hoe.clean_globs |= ["ext/**/#{BIN}", "lib/**/#{BIN}", "ext/libcharguess/cpp/config.{status,h,log}", 'ext/**/Makefile']
12
12
  $hoe.spec.require_paths = Dir['{lib,ext/*}']
13
13
  $hoe.spec.extensions = FileList["ext/**/extconf.rb"].to_a
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charguess
3
3
  version: !ruby/object:Gem::Version
4
- hash: 40220430469069
4
+ hash: 40220452362045
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 20110215234539
10
- version: 1.3.20110215234539
9
+ - 20110226181011
10
+ version: 1.3.20110226181011
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Ernesto Jim\xC3\xA9nez"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-15 00:00:00 +00:00
18
+ date: 2011-02-26 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency