libxslt-ruby 0.6.0-x86-mswin32-60 → 0.7.0-x86-mswin32-60
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 +125 -136
 - data/doc/classes/XSLT.html +215 -0
 - data/doc/classes/XSLT/Stylesheet.html +244 -0
 - data/doc/classes/XSLT/TransformContext.html +111 -0
 - data/doc/created.rid +1 -0
 - data/doc/files/CHANGES.html +168 -0
 - data/doc/files/LICENSE.html +133 -0
 - data/doc/files/README.html +269 -0
 - data/doc/files/ext/libxslt/libxslt_c.html +101 -0
 - data/doc/files/ext/libxslt/ruby_xslt_stylesheet_c.html +101 -0
 - data/doc/files/ext/libxslt/ruby_xslt_transform_context_c.html +101 -0
 - data/doc/files/lib/deprecated_rb.html +101 -0
 - data/doc/files/lib/libxslt_rb.html +110 -0
 - data/doc/fr_class_index.html +29 -0
 - data/doc/fr_file_index.html +34 -0
 - data/doc/fr_method_index.html +28 -0
 - data/doc/index.html +24 -0
 - data/doc/rdoc-style.css +208 -0
 - data/ext/libxslt/libxslt.c +21 -212
 - data/ext/libxslt/libxslt.h +0 -17
 - data/ext/libxslt/ruby_xslt_stylesheet.c +135 -173
 - data/ext/libxslt/ruby_xslt_stylesheet.h +5 -10
 - data/ext/libxslt/ruby_xslt_transform_context.c +5 -2
 - data/ext/libxslt/version.h +2 -2
 - data/lib/deprecated.rb +66 -0
 - data/lib/libxslt.rb +1 -0
 - data/lib/libxslt_ruby.so +0 -0
 - data/mingw/libxslt_ruby.so +0 -0
 - data/tests/files/commentary.dtd +34 -0
 - data/tests/files/fuzface.xml +154 -0
 - data/tests/files/fuzface.xsl +4 -0
 - data/tests/files/params.xml +2 -0
 - data/tests/files/params.xsl +11 -0
 - data/tests/files/ramblings.xsl +46 -0
 - data/tests/test_deprecated.rb +99 -0
 - data/tests/test_libxslt.rb +21 -0
 - data/tests/test_stylesheet.rb +64 -0
 - data/tests/test_suite.rb +3 -0
 - data/vc/libxslt_ruby.sln +1 -1
 - data/vc/libxslt_ruby.vcproj +3 -3
 - metadata +41 -10
 - data/mingw/mingw.rake +0 -36
 
    
        data/tests/test_suite.rb
    ADDED
    
    
    
        data/vc/libxslt_ruby.sln
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 9.00 
     | 
|
| 
       3 
3 
     | 
    
         
             
            # Visual Studio 2005
         
     | 
| 
       4 
4 
     | 
    
         
             
            Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxslt_ruby", "libxslt_ruby.vcproj", "{6DCFD1E6-224E-479C-BBD9-B6931DFCD02C}"
         
     | 
| 
       5 
5 
     | 
    
         
             
            EndProject
         
     | 
| 
       6 
     | 
    
         
            -
            Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml_ruby", " 
     | 
| 
      
 6 
     | 
    
         
            +
            Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml_ruby", "..\..\..\libxml-ruby\trunk\vc\libxml_ruby.vcproj", "{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
         
     | 
| 
       7 
7 
     | 
    
         
             
            EndProject
         
     | 
| 
       8 
8 
     | 
    
         
             
            Global
         
     | 
| 
       9 
9 
     | 
    
         
             
            	GlobalSection(SolutionConfigurationPlatforms) = preSolution
         
     | 
    
        data/vc/libxslt_ruby.vcproj
    CHANGED
    
    | 
         @@ -40,7 +40,7 @@ 
     | 
|
| 
       40 
40 
     | 
    
         
             
            			<Tool
         
     | 
| 
       41 
41 
     | 
    
         
             
            				Name="VCCLCompilerTool"
         
     | 
| 
       42 
42 
     | 
    
         
             
            				Optimization="0"
         
     | 
| 
       43 
     | 
    
         
            -
            				AdditionalIncludeDirectories=""C:\Development\msys\src\libiconv-1.12\include";"C:\Development\ruby\lib\ruby\1.8\i386-mswin32";"C:\Development\msys\src\libxml2-2.6.32\include";"C:\Development\msys\src\libxslt-1.1.24" 
     | 
| 
      
 43 
     | 
    
         
            +
            				AdditionalIncludeDirectories=""C:\Development\msys\src\libiconv-1.12\include";"C:\Development\ruby\lib\ruby\1.8\i386-mswin32";"C:\Development\msys\src\libxml2-2.6.32\include";"C:\Development\msys\src\libxslt-1.1.24";"C:\Development\msys\src\libxml-ruby\trunk\ext""
         
     | 
| 
       44 
44 
     | 
    
         
             
            				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;libxsl_EXPORTS"
         
     | 
| 
       45 
45 
     | 
    
         
             
            				MinimalRebuild="true"
         
     | 
| 
       46 
46 
     | 
    
         
             
            				BasicRuntimeChecks="3"
         
     | 
| 
         @@ -62,7 +62,7 @@ 
     | 
|
| 
       62 
62 
     | 
    
         
             
            			<Tool
         
     | 
| 
       63 
63 
     | 
    
         
             
            				Name="VCLinkerTool"
         
     | 
| 
       64 
64 
     | 
    
         
             
            				AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib libxslt.lib libexslt.lib"
         
     | 
| 
       65 
     | 
    
         
            -
            				OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxslt-ruby-0. 
     | 
| 
      
 65 
     | 
    
         
            +
            				OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxslt-ruby-0.7.0-x86-mswin32-60\lib\$(ProjectName).so"
         
     | 
| 
       66 
66 
     | 
    
         
             
            				LinkIncremental="2"
         
     | 
| 
       67 
67 
     | 
    
         
             
            				AdditionalLibraryDirectories="C:\Development\ruby\lib;"C:\Development\msys\src\libxslt-1.1.24\win32\bin.msvc";"C:\Development\msys\src\libxml2-2.6.32\win32\bin.msvc""
         
     | 
| 
       68 
68 
     | 
    
         
             
            				GenerateDebugInformation="true"
         
     | 
| 
         @@ -177,7 +177,7 @@ 
     | 
|
| 
       177 
177 
     | 
    
         
             
            	<References>
         
     | 
| 
       178 
178 
     | 
    
         
             
            		<ProjectReference
         
     | 
| 
       179 
179 
     | 
    
         
             
            			ReferencedProjectIdentifier="{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
         
     | 
| 
       180 
     | 
    
         
            -
            			RelativePathToProject=" 
     | 
| 
      
 180 
     | 
    
         
            +
            			RelativePathToProject="..\..\..\libxml-ruby\trunk\vc\libxml_ruby.vcproj"
         
     | 
| 
       181 
181 
     | 
    
         
             
            		/>
         
     | 
| 
       182 
182 
     | 
    
         
             
            	</References>
         
     | 
| 
       183 
183 
     | 
    
         
             
            	<Files>
         
     | 
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: x86-mswin32-60
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors: 
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Charlie Savage
         
     | 
| 
         @@ -9,7 +9,7 @@ autorequire: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            date: 2008-07- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2008-07-10 00:00:00 -06:00
         
     | 
| 
       13 
13 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -19,10 +19,10 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                requirements: 
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       22 
     | 
    
         
            -
                    version:  
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 0.7.0
         
     | 
| 
       23 
23 
     | 
    
         
             
                version: 
         
     | 
| 
       24 
24 
     | 
    
         
             
            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 
     | 
    
         
            -
            email: 
         
     | 
| 
      
 25 
     | 
    
         
            +
            email: libxml-devel@rubyforge.org
         
     | 
| 
       26 
26 
     | 
    
         
             
            executables: []
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            extensions: []
         
     | 
| 
         @@ -32,6 +32,30 @@ extra_rdoc_files: [] 
     | 
|
| 
       32 
32 
     | 
    
         
             
            files: 
         
     | 
| 
       33 
33 
     | 
    
         
             
            - README
         
     | 
| 
       34 
34 
     | 
    
         
             
            - LICENSE
         
     | 
| 
      
 35 
     | 
    
         
            +
            - doc/classes
         
     | 
| 
      
 36 
     | 
    
         
            +
            - doc/created.rid
         
     | 
| 
      
 37 
     | 
    
         
            +
            - doc/files
         
     | 
| 
      
 38 
     | 
    
         
            +
            - doc/fr_class_index.html
         
     | 
| 
      
 39 
     | 
    
         
            +
            - doc/fr_file_index.html
         
     | 
| 
      
 40 
     | 
    
         
            +
            - doc/fr_method_index.html
         
     | 
| 
      
 41 
     | 
    
         
            +
            - doc/index.html
         
     | 
| 
      
 42 
     | 
    
         
            +
            - doc/rdoc-style.css
         
     | 
| 
      
 43 
     | 
    
         
            +
            - doc/classes/XSLT
         
     | 
| 
      
 44 
     | 
    
         
            +
            - doc/classes/XSLT.html
         
     | 
| 
      
 45 
     | 
    
         
            +
            - doc/classes/XSLT/Stylesheet.html
         
     | 
| 
      
 46 
     | 
    
         
            +
            - doc/classes/XSLT/TransformContext.html
         
     | 
| 
      
 47 
     | 
    
         
            +
            - doc/files/CHANGES.html
         
     | 
| 
      
 48 
     | 
    
         
            +
            - doc/files/ext
         
     | 
| 
      
 49 
     | 
    
         
            +
            - doc/files/lib
         
     | 
| 
      
 50 
     | 
    
         
            +
            - doc/files/LICENSE.html
         
     | 
| 
      
 51 
     | 
    
         
            +
            - doc/files/README.html
         
     | 
| 
      
 52 
     | 
    
         
            +
            - doc/files/ext/libxslt
         
     | 
| 
      
 53 
     | 
    
         
            +
            - doc/files/ext/libxslt/libxslt_c.html
         
     | 
| 
      
 54 
     | 
    
         
            +
            - doc/files/ext/libxslt/ruby_xslt_stylesheet_c.html
         
     | 
| 
      
 55 
     | 
    
         
            +
            - doc/files/ext/libxslt/ruby_xslt_transform_context_c.html
         
     | 
| 
      
 56 
     | 
    
         
            +
            - doc/files/lib/deprecated_rb.html
         
     | 
| 
      
 57 
     | 
    
         
            +
            - doc/files/lib/libxslt_rb.html
         
     | 
| 
      
 58 
     | 
    
         
            +
            - lib/deprecated.rb
         
     | 
| 
       35 
59 
     | 
    
         
             
            - lib/libxslt.rb
         
     | 
| 
       36 
60 
     | 
    
         
             
            - ext/libxslt
         
     | 
| 
       37 
61 
     | 
    
         
             
            - ext/libxslt/extconf.rb
         
     | 
| 
         @@ -42,20 +66,27 @@ files: 
     | 
|
| 
       42 
66 
     | 
    
         
             
            - ext/libxslt/ruby_xslt_transform_context.c
         
     | 
| 
       43 
67 
     | 
    
         
             
            - ext/libxslt/ruby_xslt_transform_context.h
         
     | 
| 
       44 
68 
     | 
    
         
             
            - ext/libxslt/version.h
         
     | 
| 
       45 
     | 
    
         
            -
            - mingw/mingw.rake
         
     | 
| 
       46 
69 
     | 
    
         
             
            - mingw/libxslt-1.dll
         
     | 
| 
       47 
70 
     | 
    
         
             
            - mingw/libxslt_ruby.so
         
     | 
| 
      
 71 
     | 
    
         
            +
            - tests/files
         
     | 
| 
      
 72 
     | 
    
         
            +
            - tests/test_deprecated.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - tests/test_libxslt.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - tests/test_stylesheet.rb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - tests/test_suite.rb
         
     | 
| 
      
 76 
     | 
    
         
            +
            - tests/files/commentary.dtd
         
     | 
| 
      
 77 
     | 
    
         
            +
            - tests/files/fuzface.xml
         
     | 
| 
      
 78 
     | 
    
         
            +
            - tests/files/fuzface.xsl
         
     | 
| 
      
 79 
     | 
    
         
            +
            - tests/files/params.xml
         
     | 
| 
      
 80 
     | 
    
         
            +
            - tests/files/params.xsl
         
     | 
| 
      
 81 
     | 
    
         
            +
            - tests/files/ramblings.xsl
         
     | 
| 
       48 
82 
     | 
    
         
             
            - vc/libxslt_ruby.sln
         
     | 
| 
       49 
83 
     | 
    
         
             
            - vc/libxslt_ruby.vcproj
         
     | 
| 
       50 
84 
     | 
    
         
             
            - lib/libxslt_ruby.so
         
     | 
| 
       51 
85 
     | 
    
         
             
            has_rdoc: true
         
     | 
| 
       52 
86 
     | 
    
         
             
            homepage: http://libxslt.rubyforge.org/
         
     | 
| 
       53 
87 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       54 
     | 
    
         
            -
            rdoc_options: 
         
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
            - libxslt-ruby
         
     | 
| 
       57 
     | 
    
         
            -
            - --inline-source
         
     | 
| 
       58 
     | 
    
         
            -
            - --line-numbers
         
     | 
| 
      
 88 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
       59 
90 
     | 
    
         
             
            require_paths: 
         
     | 
| 
       60 
91 
     | 
    
         
             
            - lib
         
     | 
| 
       61 
92 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
    
        data/mingw/mingw.rake
    DELETED
    
    | 
         @@ -1,36 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # We can't use Ruby's standard build procedures
         
     | 
| 
       2 
     | 
    
         
            -
            # on Windows because the Ruby executable is
         
     | 
| 
       3 
     | 
    
         
            -
            # built with VC++ while here we want to build
         
     | 
| 
       4 
     | 
    
         
            -
            # with MingW.  So just roll our own...
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
            require 'rake/clean'
         
     | 
| 
       7 
     | 
    
         
            -
            require 'rbconfig'
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            RUBY_INCLUDE_DIR = Config::CONFIG["archdir"]
         
     | 
| 
       10 
     | 
    
         
            -
            RUBY_BIN_DIR = Config::CONFIG["bindir"]
         
     | 
| 
       11 
     | 
    
         
            -
            RUBY_LIB_DIR = Config::CONFIG["libdir"]
         
     | 
| 
       12 
     | 
    
         
            -
            RUBY_SHARED_LIB = Config::CONFIG["LIBRUBY"]
         
     | 
| 
       13 
     | 
    
         
            -
            RUBY_SHARED_DLL = RUBY_SHARED_LIB.gsub(/lib$/, 'dll')
         
     | 
| 
       14 
     | 
    
         
            -
                
         
     | 
| 
       15 
     | 
    
         
            -
            CLEAN.include('*.o')
         
     | 
| 
       16 
     | 
    
         
            -
            CLOBBER.include('libxslt.so')
         
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
            task :default => "libxslt"
         
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
            SRC = FileList['../ext/libxslt/*.c']
         
     | 
| 
       21 
     | 
    
         
            -
            OBJ = SRC.collect do |file_name|
         
     | 
| 
       22 
     | 
    
         
            -
              File.basename(file_name).ext('o')
         
     | 
| 
       23 
     | 
    
         
            -
            end
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
            SRC.each do |srcfile|
         
     | 
| 
       26 
     | 
    
         
            -
              objfile = File.basename(srcfile).ext('o')
         
     | 
| 
       27 
     | 
    
         
            -
              file objfile => srcfile do
         
     | 
| 
       28 
     | 
    
         
            -
                command = "gcc -c -fPIC -O2 -Wall -o #{objfile} -I/usr/local/include -I../../rlibxml/ext #{srcfile} -I#{RUBY_INCLUDE_DIR}"
         
     | 
| 
       29 
     | 
    
         
            -
                sh "sh -c '#{command}'" 
         
     | 
| 
       30 
     | 
    
         
            -
              end
         
     | 
| 
       31 
     | 
    
         
            -
            end
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
            file "libxslt" => OBJ do
         
     | 
| 
       34 
     | 
    
         
            -
              command = "libtool --mode=link gcc -shared -o libxslt_ruby.so -L/usr/local/lib -lxml2 -lxslt ../../rlibxml/mingw/libxml_ruby.so #{OBJ} #{RUBY_BIN_DIR}/#{RUBY_SHARED_DLL}" 
         
     | 
| 
       35 
     | 
    
         
            -
              sh "sh -c '#{command}'" 
         
     | 
| 
       36 
     | 
    
         
            -
            end
         
     |