mkrf 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/CHANGELOG +14 -1
  2. data/README +50 -22
  3. data/Rakefile +2 -1
  4. data/lib/mkrf.rb +1 -1
  5. data/lib/mkrf/availability.rb +60 -9
  6. data/lib/mkrf/generator.rb +32 -12
  7. data/lib/mkrf/rakehelper.rb +123 -0
  8. data/test/{sample_files/libtrivial/libtrivial.bundle → fixtures/some_binary} +0 -0
  9. data/test/integration/test_sample_projects.rb +1 -1
  10. data/test/sample_files/libtrivial/ext/extconf.rb +3 -0
  11. data/test/sample_files/libtrivial/{lib → ext}/libtrivial.c +0 -0
  12. data/test/unit/test_availability.rb +27 -2
  13. data/test/unit/test_generator.rb +55 -0
  14. metadata +144 -180
  15. data/test/mkrf.log +0 -1
  16. data/test/sample_files/libtrivial/Rakefile +0 -33
  17. data/test/sample_files/libtrivial/extconf.rb +0 -3
  18. data/test/sample_files/libtrivial/lib/libtrivial.o +0 -0
  19. data/test/sample_files/libtrivial/mkrf.log +0 -2
  20. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/Rakefile +0 -33
  21. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.o +0 -0
  22. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.o +0 -0
  23. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml_so.bundle +0 -0
  24. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/mkrf.log +0 -21
  25. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.o +0 -0
  26. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.o +0 -0
  27. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.o +0 -0
  28. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.o +0 -0
  29. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.o +0 -0
  30. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.o +0 -0
  31. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.o +0 -0
  32. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.o +0 -0
  33. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.o +0 -0
  34. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.o +0 -0
  35. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.o +0 -0
  36. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.o +0 -0
  37. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.o +0 -0
  38. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.o +0 -0
  39. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.o +0 -0
  40. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.o +0 -0
  41. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.o +0 -0
  42. data/test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.o +0 -0
  43. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/Rakefile +0 -33
  44. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.o +0 -0
  45. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.o +0 -0
  46. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.o +0 -0
  47. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.o +0 -0
  48. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.o +0 -0
  49. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/mkrf.log +0 -3
  50. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/node.o +0 -0
  51. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/rubyext.o +0 -0
  52. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.bundle +0 -0
  53. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.o +0 -0
  54. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/token.o +0 -0
  55. data/test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.o +0 -0
@@ -4,7 +4,7 @@ class TestSampleProjects < Test::Unit::TestCase
4
4
  SAMPLES_DIR = File.dirname(__FILE__) + '/../sample_files'
5
5
 
6
6
  SAMPLE_LIBS = {
7
- :trivial => "/libtrivial/libtrivial.#{Config::CONFIG['DLEXT']}",
7
+ :trivial => "/libtrivial/ext/libtrivial.#{Config::CONFIG['DLEXT']}",
8
8
  :syck => "/syck-0.55/ext/ruby/ext/syck/syck.#{Config::CONFIG['DLEXT']}",
9
9
  :libxml => "/libxml-ruby-0.3.8/ext/xml/libxml_so.#{Config::CONFIG['DLEXT']}"
10
10
  }
@@ -0,0 +1,3 @@
1
+ require File.dirname(__FILE__) + '/../../../../lib/mkrf'
2
+
3
+ Mkrf::Generator.new('libtrivial')
@@ -3,7 +3,8 @@ require File.dirname(__FILE__) + '/../abstract_unit'
3
3
 
4
4
  class TestAvailability < Test::Unit::TestCase
5
5
  def setup
6
- @avail = Mkrf::Availability.new(:includes => File.join(File.dirname(__FILE__), '..', 'fixtures'))
6
+ @fixture_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'fixtures'))
7
+ @avail = Mkrf::Availability.new(:includes => @fixture_path)
7
8
  end
8
9
 
9
10
  def teardown
@@ -46,7 +47,13 @@ class TestAvailability < Test::Unit::TestCase
46
47
 
47
48
  def test_has_header_should_check_many_paths
48
49
  assert !@avail.has_header?('header_down_a_directory.h')
49
- assert @avail.has_header?('header_down_a_directory.h', File.join(File.dirname(__FILE__), '..', 'fixtures', 'down_a_directory'))
50
+ assert @avail.has_header?('header_down_a_directory.h',
51
+ File.join(@fixture_path, 'down_a_directory'))
52
+ end
53
+
54
+ def test_has_header_should_add_define_with_valid_header
55
+ assert @avail.has_header?('stdmkrf.h')
56
+ assert @avail.defines.include?('HAVE_STDMKRF_H'), "Defines: #{@avail.defines.inspect}"
50
57
  end
51
58
 
52
59
  def test_include_header
@@ -69,6 +76,24 @@ class TestAvailability < Test::Unit::TestCase
69
76
  assert_raises(NoMethodError) { @avail.with_not_a_stackable_attribute }
70
77
  end
71
78
 
79
+ def test_find_executable_should_return_nil_when_not_found
80
+ assert_nil @avail.find_executable('fake_executable')
81
+ end
82
+
83
+ def test_find_executable_should_default_to_search_env_path
84
+ old_path = ENV['PATH']
85
+ ENV['PATH'] = @fixture_path
86
+ expected = File.join(@fixture_path, 'some_binary')
87
+ assert_equal expected, @avail.find_executable('some_binary')
88
+ ensure
89
+ ENV['PATH'] = old_path
90
+ end
91
+
92
+ def test_find_executable_should_search_given_paths_if_supplied
93
+ expected = File.join(@fixture_path, 'some_binary')
94
+ assert_equal expected, @avail.find_executable('some_binary', @fixture_path)
95
+ end
96
+
72
97
  def test_logging
73
98
  @avail.logger.level = Logger::INFO
74
99
  assert @avail.include_library('z')
@@ -1,4 +1,8 @@
1
1
  require File.dirname(__FILE__) + '/../abstract_unit'
2
+ require 'rbconfig'
3
+ # require 'rubygems'
4
+ # require 'mocha'
5
+ # require 'stubba'
2
6
 
3
7
  # stubb this out so we don't overwrite our test rakefile
4
8
  module Mkrf
@@ -10,6 +14,11 @@ module Mkrf
10
14
  end
11
15
  end
12
16
 
17
+ module Kernel
18
+ def exit(*args)
19
+ end
20
+ end
21
+
13
22
  class TestGenerator < Test::Unit::TestCase
14
23
  def setup
15
24
  FileUtils.rm_f 'mkrf.log'
@@ -50,6 +59,23 @@ class TestGenerator < Test::Unit::TestCase
50
59
  assert_match(/WARN/, logs)
51
60
  end
52
61
 
62
+ def test_abort_logs_fatal_error
63
+ generator = Mkrf::Generator.new('testlib') do |g|
64
+ g.abort! "Fake header wasn't found." unless g.include_header 'fake_header.h'
65
+ end
66
+
67
+ logs = File.open('mkrf.log').read
68
+ assert_match(/FATAL/, logs)
69
+ assert_match("Fake header wasn't found.", logs)
70
+ end
71
+
72
+ # Need to figure out how to test this.. mocking doesn't seem to work
73
+ # def test_abort_exits
74
+ # generator = Mkrf::Generator.new('testlib') do |g|
75
+ # g.abort! "Aborting!"
76
+ # end
77
+ # end
78
+
53
79
  def test_availability_options_accessible_in_initialize
54
80
  generator = Mkrf::Generator.new('testlib', ['lib/*.c'], {:loaded_libs => 'static_ruby'})
55
81
  assert_equal ['static_ruby'], generator.available.loaded_libs
@@ -82,6 +108,15 @@ class TestGenerator < Test::Unit::TestCase
82
108
  assert_match Regexp.new("CFLAGS = .*#{cflags}.*"), generator.rakefile_contents
83
109
  end
84
110
 
111
+ def test_defines_compile_string
112
+ generator = Mkrf::Generator.new('testlib') do |g|
113
+ g.add_define 'HAVE_UNIX'
114
+ g.include_header 'stdio.h'
115
+ end
116
+ assert_match(/HAVE_UNIX/, generator.defines_compile_string)
117
+ assert_match(/HAVE_STDIO_H/, generator.defines_compile_string)
118
+ end
119
+
85
120
  protected
86
121
 
87
122
  def spec_code
@@ -116,4 +151,24 @@ class TestGenerator < Test::Unit::TestCase
116
151
  end
117
152
  SPEC
118
153
  end
154
+ end
155
+
156
+ class TestGeneratorDefaults < Test::Unit::TestCase
157
+ def setup
158
+ @generator = Mkrf::Generator.new('trivial_lib')
159
+ end
160
+
161
+ def test_should_default_objects_to_empty_string
162
+ assert_equal '', @generator.objects
163
+ end
164
+
165
+ def test_should_default_ldshared_to_empty_string
166
+ assert_equal '', @generator.ldshared
167
+ end
168
+
169
+ def test_should_default_cflags_properly
170
+ expected = "#{Config::CONFIG['CCDLFLAGS']} #{Config::CONFIG['CFLAGS']} #{Config::CONFIG['ARCH_FLAG']}"
171
+ assert_equal expected, @generator.cflags
172
+ end
173
+
119
174
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: mkrf
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.2
7
- date: 2006-10-04 00:00:00 -07:00
6
+ version: 0.2.0
7
+ date: 2007-02-03 00:00:00 +09:00
8
8
  summary: Generate Rakefiles to Build C Extensions to Ruby
9
9
  require_paths:
10
10
  - lib
@@ -33,252 +33,216 @@ files:
33
33
  - README
34
34
  - CHANGELOG
35
35
  - MIT-LICENSE
36
- - lib/mkrf
37
36
  - lib/mkrf.rb
37
+ - lib/mkrf
38
38
  - lib/mkrf/availability.rb
39
+ - lib/mkrf/rakehelper.rb
39
40
  - lib/mkrf/generator.rb
40
- - test/abstract_unit.rb
41
- - test/fixtures
42
41
  - test/integration
43
- - test/mkrf.log
44
42
  - test/sample_files
43
+ - test/fixtures
45
44
  - test/unit
46
- - test/fixtures/down_a_directory
47
- - test/fixtures/stdmkrf.h
48
- - test/fixtures/down_a_directory/header_down_a_directory.h
45
+ - test/abstract_unit.rb
49
46
  - test/integration/test_sample_projects.rb
50
- - test/sample_files/libtrivial
51
47
  - test/sample_files/libxml-ruby-0.3.8
52
48
  - test/sample_files/syck-0.55
53
- - test/sample_files/libtrivial/extconf.rb
54
- - test/sample_files/libtrivial/lib
55
- - test/sample_files/libtrivial/libtrivial.bundle
56
- - test/sample_files/libtrivial/mkrf.log
57
- - test/sample_files/libtrivial/Rakefile
58
- - test/sample_files/libtrivial/lib/libtrivial.c
59
- - test/sample_files/libtrivial/lib/libtrivial.o
60
- - test/sample_files/libxml-ruby-0.3.8/CHANGELOG
49
+ - test/sample_files/libtrivial
61
50
  - test/sample_files/libxml-ruby-0.3.8/ext
62
- - test/sample_files/libxml-ruby-0.3.8/LICENSE
51
+ - test/sample_files/libxml-ruby-0.3.8/CHANGELOG
63
52
  - test/sample_files/libxml-ruby-0.3.8/README
53
+ - test/sample_files/libxml-ruby-0.3.8/LICENSE
64
54
  - test/sample_files/libxml-ruby-0.3.8/ext/xml
65
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.c
66
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.o
67
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb
68
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.c
69
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.h
70
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.o
71
55
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.rb
72
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml_so.bundle
73
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/mkrf.log
74
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/old_extconf.rb
75
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/Rakefile
76
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.c
77
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.h
78
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.o
79
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.c
80
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.h
81
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.o
82
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.c
83
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.h
84
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.o
85
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.c
86
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.h
87
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.o
88
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.c
89
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.h
90
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.o
91
56
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.c
92
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.h
93
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.o
94
57
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.c
95
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.h
96
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.o
97
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.c
98
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.h
99
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.o
100
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.c
58
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.h
101
59
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.h
102
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.o
103
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.c
60
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.c
61
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.h
62
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.c
63
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.h
64
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.h
104
65
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.h
105
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.o
106
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.c
107
66
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.h
108
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.o
109
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.c
110
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.h
111
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.o
67
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.c
68
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.c
69
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.h
70
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.c
71
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.c
72
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node.h
73
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/sax_parser_callbacks.inc
74
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.c
112
75
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.c
76
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_ns.h
77
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/cbg.c
113
78
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.h
114
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_tree.o
115
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.c
116
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.h
117
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xinclude.o
118
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.c
79
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.c
80
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_document.c
81
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.h
82
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/extconf.rb
119
83
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.h
120
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.o
121
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.c
122
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.h
123
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath_context.o
124
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.c
125
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.h
126
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer.o
84
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_input_cbg.h
85
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.h
86
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser.c
87
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpath.c
88
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_node_set.h
89
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_sax_parser.c
90
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/old_extconf.rb
91
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/libxml.h
92
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attr.h
93
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_attribute.c
127
94
  - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.c
128
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.h
129
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_xpointer_context.o
130
- - test/sample_files/libxml-ruby-0.3.8/ext/xml/sax_parser_callbacks.inc
131
- - test/sample_files/syck-0.55/aclocal.m4
132
- - test/sample_files/syck-0.55/bootstrap
95
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_dtd.c
96
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_schema.h
97
+ - test/sample_files/libxml-ruby-0.3.8/ext/xml/ruby_xml_parser_context.c
98
+ - test/sample_files/syck-0.55/ext
133
99
  - test/sample_files/syck-0.55/CHANGELOG
134
- - test/sample_files/syck-0.55/config
100
+ - test/sample_files/syck-0.55/configure.in
101
+ - test/sample_files/syck-0.55/configure
102
+ - test/sample_files/syck-0.55/TODO
135
103
  - test/sample_files/syck-0.55/config.h
136
- - test/sample_files/syck-0.55/config.h.in
137
104
  - test/sample_files/syck-0.55/config.status
138
- - test/sample_files/syck-0.55/configure
139
- - test/sample_files/syck-0.55/configure.in
140
- - test/sample_files/syck-0.55/COPYING
141
- - test/sample_files/syck-0.55/ext
142
- - test/sample_files/syck-0.55/lib
143
- - test/sample_files/syck-0.55/Makefile
144
- - test/sample_files/syck-0.55/Makefile.am
145
- - test/sample_files/syck-0.55/Makefile.in
105
+ - test/sample_files/syck-0.55/tests
146
106
  - test/sample_files/syck-0.55/README
107
+ - test/sample_files/syck-0.55/aclocal.m4
108
+ - test/sample_files/syck-0.55/RELEASE
109
+ - test/sample_files/syck-0.55/config
110
+ - test/sample_files/syck-0.55/Makefile.am
111
+ - test/sample_files/syck-0.55/config.h.in
147
112
  - test/sample_files/syck-0.55/README.BYTECODE
113
+ - test/sample_files/syck-0.55/Makefile.in
114
+ - test/sample_files/syck-0.55/bootstrap
148
115
  - test/sample_files/syck-0.55/README.EXT
149
- - test/sample_files/syck-0.55/RELEASE
116
+ - test/sample_files/syck-0.55/Makefile
117
+ - test/sample_files/syck-0.55/lib
150
118
  - test/sample_files/syck-0.55/stamp-h1
151
- - test/sample_files/syck-0.55/tests
152
- - test/sample_files/syck-0.55/TODO
153
- - test/sample_files/syck-0.55/config/depcomp
154
- - test/sample_files/syck-0.55/config/install-sh
155
- - test/sample_files/syck-0.55/config/missing
156
- - test/sample_files/syck-0.55/config/README
119
+ - test/sample_files/syck-0.55/COPYING
157
120
  - test/sample_files/syck-0.55/ext/ruby
158
- - test/sample_files/syck-0.55/ext/ruby/CHANGELOG
159
121
  - test/sample_files/syck-0.55/ext/ruby/ext
122
+ - test/sample_files/syck-0.55/ext/ruby/CHANGELOG
160
123
  - test/sample_files/syck-0.55/ext/ruby/install.rb
161
- - test/sample_files/syck-0.55/ext/ruby/lib
124
+ - test/sample_files/syck-0.55/ext/ruby/tests
162
125
  - test/sample_files/syck-0.55/ext/ruby/README
163
126
  - test/sample_files/syck-0.55/ext/ruby/samples
164
- - test/sample_files/syck-0.55/ext/ruby/tests
127
+ - test/sample_files/syck-0.55/ext/ruby/lib
165
128
  - test/sample_files/syck-0.55/ext/ruby/yts
166
129
  - test/sample_files/syck-0.55/ext/ruby/ext/syck
167
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.c
168
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.o
169
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.c
170
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.o
171
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/extconf.rb
172
130
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.c
131
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/bytecode.c
132
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.c
173
133
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.h
174
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/gram.o
175
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.c
176
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.o
177
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.c
178
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.o
179
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/MANIFEST
180
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/mkrf.log
181
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/node.c
182
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/node.o
183
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/Rakefile
184
134
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/rubyext.c
185
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/rubyext.o
186
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.bundle
135
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/implicit.c
187
136
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.c
188
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.h
189
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.o
137
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/emitter.c
190
138
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/token.c
191
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/token.o
192
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.c
193
- - test/sample_files/syck-0.55/ext/ruby/ext/syck/yaml2byte.o
194
139
  - test/sample_files/syck-0.55/ext/ruby/ext/syck/yamlbyte.h
140
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/MANIFEST
141
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/handler.c
142
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/extconf.rb
143
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/node.c
144
+ - test/sample_files/syck-0.55/ext/ruby/ext/syck/syck.h
145
+ - test/sample_files/syck-0.55/ext/ruby/tests/basic.rb
146
+ - test/sample_files/syck-0.55/ext/ruby/samples/yaml-sortHashKeys.rb
147
+ - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-sample.rb
148
+ - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-validate.rb
149
+ - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-modules.rb
150
+ - test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-client.rb
151
+ - test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-server.rb
152
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml.rb
195
153
  - test/sample_files/syck-0.55/ext/ruby/lib/okay
196
- - test/sample_files/syck-0.55/ext/ruby/lib/okay.rb
197
154
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml
198
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml.rb
155
+ - test/sample_files/syck-0.55/ext/ruby/lib/okay.rb
199
156
  - test/sample_files/syck-0.55/ext/ruby/lib/yod.rb
200
- - test/sample_files/syck-0.55/ext/ruby/lib/okay/news.rb
201
157
  - test/sample_files/syck-0.55/ext/ruby/lib/okay/rpc.rb
202
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/baseemitter.rb
203
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/basenode.rb
204
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/compat.rb
158
+ - test/sample_files/syck-0.55/ext/ruby/lib/okay/news.rb
159
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/tag.rb
160
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/ypath.rb
161
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/encoding.rb
205
162
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/constants.rb
206
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/dbm.rb
163
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/compat.rb
164
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/types.rb
165
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/baseemitter.rb
166
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/syck.rb
167
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/rubytypes.rb
207
168
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/emitter.rb
208
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/encoding.rb
209
169
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/error.rb
210
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/rubytypes.rb
211
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/store.rb
212
170
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/stream.rb
213
171
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/stringio.rb
214
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/syck.rb
215
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/tag.rb
216
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/types.rb
172
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/dbm.rb
173
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/store.rb
217
174
  - test/sample_files/syck-0.55/ext/ruby/lib/yaml/yamlnode.rb
218
- - test/sample_files/syck-0.55/ext/ruby/lib/yaml/ypath.rb
219
- - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-modules.rb
220
- - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-sample.rb
221
- - test/sample_files/syck-0.55/ext/ruby/samples/okayNews-validate.rb
222
- - test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-client.rb
223
- - test/sample_files/syck-0.55/ext/ruby/samples/okayRpc-server.rb
224
- - test/sample_files/syck-0.55/ext/ruby/samples/yaml-sortHashKeys.rb
225
- - test/sample_files/syck-0.55/ext/ruby/tests/basic.rb
226
- - test/sample_files/syck-0.55/ext/ruby/yts/cookbook.rb
227
- - test/sample_files/syck-0.55/ext/ruby/yts/index.yml
175
+ - test/sample_files/syck-0.55/ext/ruby/lib/yaml/basenode.rb
176
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsFlowCollections.yml
177
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsNullsAndEmpties.yml
178
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsMapInSeq.yml
228
179
  - test/sample_files/syck-0.55/ext/ruby/yts/yts.rb
180
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsTypeTransfers.yml
181
+ - test/sample_files/syck-0.55/ext/ruby/yts/index.yml
182
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsFoldedScalars.yml
229
183
  - test/sample_files/syck-0.55/ext/ruby/yts/YtsAnchorAlias.yml
230
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsBasicTests.yml
231
184
  - test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
232
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockSequence.yml
233
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsDocumentSeparator.yml
234
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsErrorTests.yml
235
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsFlowCollections.yml
236
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsFoldedScalars.yml
237
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsMapInSeq.yml
238
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsNullsAndEmpties.yml
239
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsRubyTests.yml
185
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsBasicTests.yml
240
186
  - test/sample_files/syck-0.55/ext/ruby/yts/YtsSpecificationExamples.yml
241
- - test/sample_files/syck-0.55/ext/ruby/yts/YtsTypeTransfers.yml
187
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsDocumentSeparator.yml
188
+ - test/sample_files/syck-0.55/ext/ruby/yts/cookbook.rb
242
189
  - test/sample_files/syck-0.55/ext/ruby/yts/YtsYpath.yml
243
- - test/sample_files/syck-0.55/lib/bytecode.c
244
- - test/sample_files/syck-0.55/lib/bytecode.re
245
- - test/sample_files/syck-0.55/lib/emitter.c
190
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsRubyTests.yml
191
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockSequence.yml
192
+ - test/sample_files/syck-0.55/ext/ruby/yts/YtsErrorTests.yml
193
+ - test/sample_files/syck-0.55/tests/Basic.c
194
+ - test/sample_files/syck-0.55/tests/CuTest.c
195
+ - test/sample_files/syck-0.55/tests/Parse.c
196
+ - test/sample_files/syck-0.55/tests/Makefile.am
197
+ - test/sample_files/syck-0.55/tests/Makefile.in
198
+ - test/sample_files/syck-0.55/tests/YTS.c.rb
199
+ - test/sample_files/syck-0.55/tests/Makefile
200
+ - test/sample_files/syck-0.55/tests/CuTest.h
201
+ - test/sample_files/syck-0.55/tests/YTS.c
202
+ - test/sample_files/syck-0.55/tests/YTS.c.erb
203
+ - test/sample_files/syck-0.55/tests/Emit.c
204
+ - test/sample_files/syck-0.55/config/install-sh
205
+ - test/sample_files/syck-0.55/config/README
206
+ - test/sample_files/syck-0.55/config/missing
207
+ - test/sample_files/syck-0.55/config/depcomp
208
+ - test/sample_files/syck-0.55/lib/token.re
246
209
  - test/sample_files/syck-0.55/lib/gram.c
247
- - test/sample_files/syck-0.55/lib/gram.h
210
+ - test/sample_files/syck-0.55/lib/bytecode.c
248
211
  - test/sample_files/syck-0.55/lib/gram.output
249
- - test/sample_files/syck-0.55/lib/gram.y
250
- - test/sample_files/syck-0.55/lib/handler.c
212
+ - test/sample_files/syck-0.55/lib/yaml2byte.c
213
+ - test/sample_files/syck-0.55/lib/gram.h
251
214
  - test/sample_files/syck-0.55/lib/implicit.c
252
- - test/sample_files/syck-0.55/lib/implicit.re
253
- - test/sample_files/syck-0.55/lib/Makefile
254
215
  - test/sample_files/syck-0.55/lib/Makefile.am
255
216
  - test/sample_files/syck-0.55/lib/Makefile.in
256
- - test/sample_files/syck-0.55/lib/node.c
257
217
  - test/sample_files/syck-0.55/lib/syck.c
258
- - test/sample_files/syck-0.55/lib/syck.h
259
- - test/sample_files/syck-0.55/lib/syck_st.c
260
- - test/sample_files/syck-0.55/lib/syck_st.h
218
+ - test/sample_files/syck-0.55/lib/emitter.c
261
219
  - test/sample_files/syck-0.55/lib/token.c
262
- - test/sample_files/syck-0.55/lib/token.re
263
- - test/sample_files/syck-0.55/lib/yaml2byte.c
264
220
  - test/sample_files/syck-0.55/lib/yamlbyte.h
265
- - test/sample_files/syck-0.55/tests/Basic.c
266
- - test/sample_files/syck-0.55/tests/CuTest.c
267
- - test/sample_files/syck-0.55/tests/CuTest.h
268
- - test/sample_files/syck-0.55/tests/Emit.c
269
- - test/sample_files/syck-0.55/tests/Makefile
270
- - test/sample_files/syck-0.55/tests/Makefile.am
271
- - test/sample_files/syck-0.55/tests/Makefile.in
272
- - test/sample_files/syck-0.55/tests/Parse.c
273
- - test/sample_files/syck-0.55/tests/YTS.c
274
- - test/sample_files/syck-0.55/tests/YTS.c.erb
275
- - test/sample_files/syck-0.55/tests/YTS.c.rb
276
- - test/unit/test_availability.rb
221
+ - test/sample_files/syck-0.55/lib/syck_st.c
222
+ - test/sample_files/syck-0.55/lib/Makefile
223
+ - test/sample_files/syck-0.55/lib/handler.c
224
+ - test/sample_files/syck-0.55/lib/implicit.re
225
+ - test/sample_files/syck-0.55/lib/bytecode.re
226
+ - test/sample_files/syck-0.55/lib/node.c
227
+ - test/sample_files/syck-0.55/lib/syck.h
228
+ - test/sample_files/syck-0.55/lib/gram.y
229
+ - test/sample_files/syck-0.55/lib/syck_st.h
230
+ - test/sample_files/libtrivial/ext
231
+ - test/sample_files/libtrivial/ext/libtrivial.c
232
+ - test/sample_files/libtrivial/ext/extconf.rb
233
+ - test/fixtures/stdmkrf.h
234
+ - test/fixtures/some_binary
235
+ - test/fixtures/down_a_directory
236
+ - test/fixtures/down_a_directory/header_down_a_directory.h
277
237
  - test/unit/test_generator.rb
238
+ - test/unit/test_availability.rb
278
239
  test_files: []
279
240
 
280
- rdoc_options: []
281
-
241
+ rdoc_options:
242
+ - --main
243
+ - README
244
+ - --title
245
+ - mkrf
282
246
  extra_rdoc_files:
283
247
  - README
284
248
  - MIT-LICENSE