nokogiri 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

@@ -1,3 +1,10 @@
1
+ === 1.0.1
2
+
3
+ * 1 Bugfix
4
+
5
+ * Made sure extconf.rb searched libdir and prefix so that ports libxml/ruby
6
+ will link properly. Thanks lucsky!
7
+
1
8
  === 1.0.0 / 2008-07-13
2
9
 
3
10
  * 1 major enhancement
@@ -3,6 +3,8 @@ ENV["ARCHFLAGS"] = "-arch #{`uname -p` =~ /powerpc/ ? 'ppc' : 'i386'}"
3
3
  require 'mkmf'
4
4
 
5
5
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
6
+ LIBDIR = Config::CONFIG['libdir']
7
+ INCLUDEDIR = Config::CONFIG['includedir']
6
8
 
7
9
  $CFLAGS << " #{ENV["CFLAGS"]}"
8
10
  if Config::CONFIG['target_os'] == 'mingw32'
@@ -19,8 +21,8 @@ if Config::CONFIG['target_os'] == 'mingw32'
19
21
  find_library('xslt', 'xsltParseStylesheetDoc',
20
22
  File.join(ROOT, 'cross', 'libxslt-1.1.24.win32', 'bin'))
21
23
  else
22
- find_library('xml2', 'xmlParseDoc')
23
- find_library('xslt', 'xsltParseStylesheetDoc')
24
+ find_library('xml2', 'xmlParseDoc', LIBDIR)
25
+ find_library('xslt', 'xsltParseStylesheetDoc', LIBDIR)
24
26
  end
25
27
 
26
28
 
@@ -40,10 +42,12 @@ if Config::CONFIG['target_os'] == 'mingw32'
40
42
  abort "need iconv"
41
43
  end
42
44
  else
43
- unless find_header('libxml/xmlversion.h', '/usr/include/libxml2')
45
+ unless find_header('libxml/xmlversion.h',
46
+ File.join(INCLUDEDIR, "libxml2"), '/usr/include/libxml2'
47
+ )
44
48
  abort "need libxml"
45
49
  end
46
- unless find_header('libxslt/xslt.h', '/usr/include')
50
+ unless find_header('libxslt/xslt.h', INCLUDEDIR, '/usr/include')
47
51
  abort "need libxslt"
48
52
  end
49
53
  end
@@ -1,3 +1,3 @@
1
1
  module Nokogiri
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-30 00:00:00 -07:00
12
+ date: 2008-10-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency