libxslt-ruby 0.8.0-x86-mswin32-60 → 0.8.2-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/README +163 -141
- data/Rakefile +129 -0
- data/doc/classes/LibXSLT/XSLT/Stylesheet.html +5 -4
- data/doc/classes/LibXSLT/XSLT/TransformContext.html +6 -0
- data/doc/classes/LibXSLT/XSLT.html +1 -12
- data/doc/classes/LibXSLT/XSLTError.html +20 -0
- data/doc/classes/LibXSLT.html +6 -0
- data/doc/classes/XSLT.html +15 -14
- data/doc/created.rid +1 -1
- data/doc/files/CHANGES.html +24 -3
- data/doc/files/LICENSE.html +2 -2
- data/doc/files/README.html +42 -9
- data/doc/files/ext/libxslt/libxslt_c.html +1 -1
- data/doc/files/ext/libxslt/ruby_xslt_stylesheet_c.html +1 -1
- data/doc/files/ext/libxslt/ruby_xslt_transform_context_c.html +1 -1
- data/doc/files/lib/libxslt/deprecated_rb.html +1 -1
- data/doc/files/lib/libxslt_rb.html +7 -1
- data/doc/files/lib/xslt_rb.html +135 -0
- data/doc/fr_file_index.html +1 -0
- data/ext/libxslt/version.h +2 -2
- data/ext/mingw/Rakefile +42 -0
- data/{vc → ext/vc}/libxslt_ruby.sln +3 -3
- data/{vc → ext/vc}/libxslt_ruby.vcproj +17 -18
- data/lib/libxslt/deprecated.rb +57 -56
- data/lib/libxslt-1.dll +0 -0
- data/lib/libxslt.rb +10 -6
- data/lib/libxslt_ruby.so +0 -0
- data/lib/text.xml +129 -0
- data/lib/xslt.rb +15 -0
- metadata +32 -29
- data/ext/libxslt/extconf.rb +0 -104
- data/mingw/libxslt-1.dll +0 -0
- data/mingw/libxslt_ruby.so +0 -0
data/lib/text.xml
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<html><head><title>Ramblings - Fuzface... - The Internet's a big place and here's some proof...</title></head><body><h1>Fuzface...</h1><h3>The Internet's a big place and here's some proof...</h3>
|
3
|
+
By: SeanChittenden<br/>
|
4
|
+
Date: $Date: 2008-07-09 23:35:19 -0600 (Wed, 09 Jul 2008) $<br/>
|
5
|
+
<p>
|
6
|
+
I think it's a tragedy that I'm going to start off my new
|
7
|
+
commentary by talking about facial hair and the Internet.
|
8
|
+
Something about that just screams pathetic, but whatever: it's
|
9
|
+
humor and that's life.
|
10
|
+
</p>
|
11
|
+
|
12
|
+
<p>
|
13
|
+
I've been working at home for a while now, which has been great.
|
14
|
+
I've been doing a lot of reading, good work, contributing to the
|
15
|
+
FreeBSD project, and living life at my own pace. The problem?
|
16
|
+
I don't have to interact with people, so I've let my appearance
|
17
|
+
slide a bit, most notably I've gone two weeks without shaving
|
18
|
+
and I have an awful hairy face.
|
19
|
+
</p>
|
20
|
+
|
21
|
+
<p>
|
22
|
+
Nothing is worse than going for a hard run, coming back, and
|
23
|
+
then bending your head down so that the hairs under your chin
|
24
|
+
touch the hairs on your neck. This has to be one of the most
|
25
|
+
disgusting/gross feelings I've experienced in a while. While
|
26
|
+
today wasn't the first time I'd experienced such a slimy tangled
|
27
|
+
mess, it is the first time I seriously considered shaving part
|
28
|
+
of my face, but not all of it: I was considering a beard.
|
29
|
+
</p>
|
30
|
+
|
31
|
+
<p>
|
32
|
+
Alright, so it's 5pm and I'm a sweaty post-run mess (it was 110
|
33
|
+
degrees in direct sunlight according to my thermometer) and
|
34
|
+
considering the possibility of growing a beard. Swifty nift?
|
35
|
+
Maybe. This is something I'd never done before, let alone
|
36
|
+
seriously consider. Normally I'd call my dad for such manly
|
37
|
+
advice, but he is: a) normally in another state, and; b) in
|
38
|
+
another country right now probably growing a beard (he's
|
39
|
+
notorious for coming back from a trip with a gnarly unshaven
|
40
|
+
face, sometimes he'll shape it into a decent beard). So, what's
|
41
|
+
a tech-junkie to do? Hop on the Internet and see if Google's
|
42
|
+
able to provide me with some inspiration.
|
43
|
+
</p>
|
44
|
+
|
45
|
+
<p>
|
46
|
+
Sure enough, I typed in "pictures of bearded men" and I was able
|
47
|
+
to find something: 14,000 pages of something to be exact.
|
48
|
+
Anyway, so most of these were rinky dink sites, a few of them
|
49
|
+
had some promise. One guy was trying to start a tradition where
|
50
|
+
everyone grows a beard for New Years. As I was scrolling down
|
51
|
+
the page trying to find some pictures, my mind was having the
|
52
|
+
following thought process: <i>This seems like a dumb
|
53
|
+
idea... New Years provides a perfectly good excuse to kiss some
|
54
|
+
total stranger that you've had your eye on for the duration of a
|
55
|
+
New Years party. Why waste such an opportunity with a crappy
|
56
|
+
kiss?</i> And at about this point I said this page sucks,
|
57
|
+
and flipped back to my search results.
|
58
|
+
</p>
|
59
|
+
|
60
|
+
<p>
|
61
|
+
Since I'd never done this before, I didn't know what was
|
62
|
+
fashionably correct in terms of where a guy should shave under
|
63
|
+
his neck, or what the deal was... I knew there were lots of
|
64
|
+
styles out there, just none that I could picture in my mind
|
65
|
+
(save maybe Santa Claus and a few really gnarly beards that are
|
66
|
+
long enough to be used as full-body covering. Oooh! And don't
|
67
|
+
forget the Russian and Amish beards, those stand out in my mind
|
68
|
+
too.). Google, being pretty comprehensive, and the Internet
|
69
|
+
being huge, found the exact screwball page I was looking for:
|
70
|
+
http://fuzface-gallery.tripod.com/
|
71
|
+
</p>
|
72
|
+
|
73
|
+
<p>
|
74
|
+
I don't know if I really should be amazed at the sheer number of
|
75
|
+
entries that Google returned, or that the Internet is big enough
|
76
|
+
to house such random gallery of crap, but it is and it never
|
77
|
+
ceases to amaze me... it's almost as amazing as the fact that
|
78
|
+
some bozo spent the time to create such a page. Don't people
|
79
|
+
have lives? Oh wait, I just visited his page... so back to my
|
80
|
+
diatribe...
|
81
|
+
</p>
|
82
|
+
|
83
|
+
<p>
|
84
|
+
There were tons of faces, lots of men, lots of hair, and plenty
|
85
|
+
of styles to choose from. Page after page of faces and hair.
|
86
|
+
Ugh. This wasn't getting any where and I was now entertaining
|
87
|
+
the rebound though of shaving my head. Time to close my browser
|
88
|
+
and hop in the shower: I reak. So what'd I do? Well, after
|
89
|
+
looking through enough of those pictures, I decided a few
|
90
|
+
things:
|
91
|
+
</p>
|
92
|
+
|
93
|
+
<p>
|
94
|
+
<ol><li>
|
95
|
+
I'm amazed that the Internet is big enough to foster the
|
96
|
+
creation of such random and utterly useless information. Then
|
97
|
+
again, I've been on and using the Net since '95, so this
|
98
|
+
shouldn't surprise me that much.
|
99
|
+
</li><li>
|
100
|
+
There are a lot of guys out there with varying tastes in,
|
101
|
+
shall we say, "facial hair styles," most of which I find
|
102
|
+
pretty unappealing.
|
103
|
+
</li><li>
|
104
|
+
I don't like beards. After one clogged drain, two
|
105
|
+
reapplications of shaving cream, and a few pases with the
|
106
|
+
razor, it took me about 5-10 minutes to get a nice cleanly
|
107
|
+
shaven face.
|
108
|
+
</li><li>
|
109
|
+
<crass comment>And - back me up here fellas, you can
|
110
|
+
sympathize with this feeling after you get done looking
|
111
|
+
through a magazine for a hair-cut style (ladies.. just smile
|
112
|
+
and nod and pretend you care) - after looking at a few dozen
|
113
|
+
pictures of men, I was able to safely reaffirm my desire for
|
114
|
+
heterosexual relations (translation from Bill Clintonese: have
|
115
|
+
sex with a woman). And with that thought in mind, I began to
|
116
|
+
pine for the college porn collection of old. Mmmm,
|
117
|
+
Playboy.</crass comment>
|
118
|
+
</li></ol>
|
119
|
+
</p>
|
120
|
+
|
121
|
+
<p>
|
122
|
+
::grin:: Until next time. -Sean
|
123
|
+
</p>
|
124
|
+
|
125
|
+
<p>
|
126
|
+
P.S. To the guys out there with beards, this is just my
|
127
|
+
opinion: take it with a grain of salt.
|
128
|
+
</p>
|
129
|
+
</body></html>
|
data/lib/xslt.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# This file loads libxslt and adds the LibXSLT namespace
|
2
|
+
# to the toplevel for conveneience. The end result
|
3
|
+
# is to have XSLT:: universally exposed.
|
4
|
+
#
|
5
|
+
# It is recommend that you only load this file for libs
|
6
|
+
# that do not have their own namespace, eg. administrative
|
7
|
+
# scripts, personal programs, etc. For other applications
|
8
|
+
# require 'libxslt' instead and include LibXSLT into your
|
9
|
+
# app/libs namespace.
|
10
|
+
|
11
|
+
require 'libxslt'
|
12
|
+
|
13
|
+
include LibXML
|
14
|
+
include LibXSLT
|
15
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libxslt-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: x86-mswin32-60
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
@@ -9,17 +9,18 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-21 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: libxml-ruby
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
20
21
|
- - ">="
|
21
22
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.8.
|
23
|
+
version: 0.8.2
|
23
24
|
version:
|
24
25
|
description: The Libxslt-Ruby project provides Ruby language bindings for the GNOME XSLT C library. It is free software, released under the MIT License.
|
25
26
|
email: libxml-devel@rubyforge.org
|
@@ -30,54 +31,56 @@ extensions: []
|
|
30
31
|
extra_rdoc_files: []
|
31
32
|
|
32
33
|
files:
|
34
|
+
- Rakefile
|
33
35
|
- README
|
34
36
|
- LICENSE
|
35
37
|
- setup.rb
|
36
38
|
- doc/classes
|
37
|
-
- doc/created.rid
|
38
|
-
- doc/files
|
39
|
-
- doc/fr_class_index.html
|
40
|
-
- doc/fr_file_index.html
|
41
|
-
- doc/fr_method_index.html
|
42
|
-
- doc/index.html
|
43
|
-
- doc/rdoc-style.css
|
44
39
|
- doc/classes/LibXSLT
|
45
|
-
- doc/classes/LibXSLT.html
|
46
|
-
- doc/classes/XSLT.html
|
47
40
|
- doc/classes/LibXSLT/XSLT
|
48
|
-
- doc/classes/LibXSLT/XSLT.html
|
49
|
-
- doc/classes/LibXSLT/XSLTError.html
|
50
41
|
- doc/classes/LibXSLT/XSLT/Stylesheet.html
|
51
42
|
- doc/classes/LibXSLT/XSLT/TransformContext.html
|
43
|
+
- doc/classes/LibXSLT/XSLT.html
|
44
|
+
- doc/classes/LibXSLT/XSLTError.html
|
45
|
+
- doc/classes/LibXSLT.html
|
46
|
+
- doc/classes/XSLT.html
|
47
|
+
- doc/created.rid
|
48
|
+
- doc/files
|
52
49
|
- doc/files/CHANGES.html
|
53
50
|
- doc/files/ext
|
54
|
-
- doc/files/lib
|
55
|
-
- doc/files/LICENSE.html
|
56
|
-
- doc/files/README.html
|
57
51
|
- doc/files/ext/libxslt
|
58
52
|
- doc/files/ext/libxslt/libxslt_c.html
|
59
53
|
- doc/files/ext/libxslt/ruby_xslt_stylesheet_c.html
|
60
54
|
- doc/files/ext/libxslt/ruby_xslt_transform_context_c.html
|
55
|
+
- doc/files/lib
|
61
56
|
- doc/files/lib/libxslt
|
62
|
-
- doc/files/lib/libxslt_rb.html
|
63
57
|
- doc/files/lib/libxslt/deprecated_rb.html
|
58
|
+
- doc/files/lib/libxslt_rb.html
|
59
|
+
- doc/files/lib/xslt_rb.html
|
60
|
+
- doc/files/LICENSE.html
|
61
|
+
- doc/files/README.html
|
62
|
+
- doc/fr_class_index.html
|
63
|
+
- doc/fr_file_index.html
|
64
|
+
- doc/fr_method_index.html
|
65
|
+
- doc/index.html
|
66
|
+
- doc/rdoc-style.css
|
64
67
|
- lib/libxslt
|
65
|
-
- lib/libxslt.rb
|
66
68
|
- lib/libxslt/deprecated.rb
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
69
|
+
- lib/libxslt.rb
|
70
|
+
- lib/text.xml
|
71
|
+
- lib/xslt.rb
|
70
72
|
- ext/libxslt/libxslt.h
|
71
|
-
- ext/libxslt/ruby_xslt_stylesheet.c
|
72
73
|
- ext/libxslt/ruby_xslt_stylesheet.h
|
73
|
-
- ext/libxslt/ruby_xslt_transform_context.c
|
74
74
|
- ext/libxslt/ruby_xslt_transform_context.h
|
75
75
|
- ext/libxslt/version.h
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
76
|
+
- ext/libxslt/libxslt.c
|
77
|
+
- ext/libxslt/ruby_xslt_stylesheet.c
|
78
|
+
- ext/libxslt/ruby_xslt_transform_context.c
|
79
|
+
- ext/mingw/Rakefile
|
80
|
+
- ext/vc/libxslt_ruby.sln
|
81
|
+
- ext/vc/libxslt_ruby.vcproj
|
80
82
|
- lib/libxslt_ruby.so
|
83
|
+
- lib/libxslt-1.dll
|
81
84
|
has_rdoc: true
|
82
85
|
homepage: http://libxslt.rubyforge.org/
|
83
86
|
post_install_message:
|
@@ -101,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
104
|
requirements: []
|
102
105
|
|
103
106
|
rubyforge_project: libxslt-ruby
|
104
|
-
rubygems_version: 1.0
|
107
|
+
rubygems_version: 1.2.0
|
105
108
|
signing_key:
|
106
109
|
specification_version: 2
|
107
110
|
summary: Ruby libxslt bindings
|
data/ext/libxslt/extconf.rb
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
#!/usr/local/bin/ruby -w
|
2
|
-
|
3
|
-
# $Id: extconf.rb 43 2007-12-07 12:38:59Z transami $
|
4
|
-
#
|
5
|
-
# See the LICENSE file for copyright and distribution information
|
6
|
-
|
7
|
-
require 'mkmf'
|
8
|
-
|
9
|
-
$preload = nil
|
10
|
-
$LIBPATH.push(Config::CONFIG['libdir'])
|
11
|
-
|
12
|
-
def crash(str)
|
13
|
-
print(" extconf failure: %s\n", str)
|
14
|
-
exit 1
|
15
|
-
end
|
16
|
-
|
17
|
-
require 'rubygems'
|
18
|
-
gem_specs = Gem::SourceIndex.from_installed_gems.search('libxml-ruby')
|
19
|
-
if gem_specs.empty?
|
20
|
-
crash(<<EOL)
|
21
|
-
libxml-ruby bindings must be installed
|
22
|
-
EOL
|
23
|
-
end
|
24
|
-
|
25
|
-
# Sort by version, newest first
|
26
|
-
gem_specs = gem_specs.sort_by {|spec| spec.version}.reverse
|
27
|
-
|
28
|
-
libxml_ruby_path = gem_specs.first.full_gem_path
|
29
|
-
|
30
|
-
$INCFLAGS += " -I#{libxml_ruby_path}/ext"
|
31
|
-
|
32
|
-
# Directories
|
33
|
-
dir_config('xml2')
|
34
|
-
dir_config('xslt')
|
35
|
-
|
36
|
-
unless have_library('m', 'atan')
|
37
|
-
# try again for gcc 4.0
|
38
|
-
saveflags = $CFLAGS
|
39
|
-
$CFLAGS += ' -fno-builtin'
|
40
|
-
unless have_library('m', 'atan')
|
41
|
-
crash('need libm')
|
42
|
-
end
|
43
|
-
$CFLAGS = saveflags
|
44
|
-
end
|
45
|
-
|
46
|
-
unless have_library("z", "inflate")
|
47
|
-
crash("need zlib")
|
48
|
-
else
|
49
|
-
$defs.push('-DHAVE_ZLIB_H')
|
50
|
-
end
|
51
|
-
|
52
|
-
unless (have_library('xml2', 'xmlXPtrNewRange') or
|
53
|
-
find_library('xml2', 'xmlXPtrNewRange', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
|
54
|
-
(have_header('libxml/xmlversion.h') or
|
55
|
-
find_header('libxml/xmlversion.h',
|
56
|
-
'/opt/include/libxml2',
|
57
|
-
'/usr/local/include/libxml2',
|
58
|
-
'/usr/include/libxml2'))
|
59
|
-
crash(<<EOL)
|
60
|
-
need libxml2.
|
61
|
-
|
62
|
-
Install the library or try one of the following options to extconf.rb:
|
63
|
-
|
64
|
-
--with-xml2-dir=/path/to/libxml2
|
65
|
-
--with-xml2-lib=/path/to/libxml2/lib
|
66
|
-
--with-xml2-include=/path/to/libxml2/include
|
67
|
-
EOL
|
68
|
-
end
|
69
|
-
|
70
|
-
unless (have_library('xslt','xsltApplyStylesheet') or
|
71
|
-
find_library('xslt', 'xsltApplyStylesheet', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
|
72
|
-
(have_header('xslt.h') or
|
73
|
-
find_header('xslt.h',
|
74
|
-
'/opt/include/libxslt',
|
75
|
-
'/usr/local/include/libxslt',
|
76
|
-
'/usr/include/libxslt'))
|
77
|
-
crash(<<EOL)
|
78
|
-
need libxslt.
|
79
|
-
|
80
|
-
Install the library or try one of the following options to extconf.rb:
|
81
|
-
|
82
|
-
--with-xslt-dir=/path/to/libxslt
|
83
|
-
--with-xslt-lib=/path/to/libxslt/lib
|
84
|
-
--with-xslt-include=/path/to/libxslt/include
|
85
|
-
EOL
|
86
|
-
end
|
87
|
-
|
88
|
-
unless have_header('libxml/ruby_libxml.h') and
|
89
|
-
have_header('libxml/ruby_xml_document.h')
|
90
|
-
crash(<<EOL)
|
91
|
-
need headers for libxml-ruby.
|
92
|
-
|
93
|
-
If you downloaded a release, this is a bug - please inform
|
94
|
-
libxml-devel@rubyforge.org including the release version and
|
95
|
-
download URL you obtained it from.
|
96
|
-
|
97
|
-
If you checked libxslt-ruby out from CVS, you will need to
|
98
|
-
obtain the headers from CVS (using the same version tag if
|
99
|
-
applicable) and place them in directory 'ext/xml/libxml-ruby'.
|
100
|
-
EOL
|
101
|
-
end
|
102
|
-
|
103
|
-
create_header()
|
104
|
-
create_makefile("libxslt_ruby")
|
data/mingw/libxslt-1.dll
DELETED
Binary file
|
data/mingw/libxslt_ruby.so
DELETED
Binary file
|