Empact-roxml 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/Rakefile +2 -3
- data/lib/roxml.rb +16 -10
- data/lib/roxml/extensions/active_support.rb +0 -3
- data/lib/roxml/extensions/array/conversions.rb +2 -2
- data/lib/roxml/extensions/string/iterators.rb +1 -1
- data/lib/roxml/options.rb +9 -8
- data/roxml.gemspec +3 -6
- data/tasks/test.rake +42 -0
- data/test/mocks/mocks.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/test/unit/options_test.rb +4 -4
- data/test/unit/xml_name_test.rb +11 -11
- metadata +7 -12
data/History.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
== 2.4.1 (January 28, 2009)
|
2
|
+
|
3
|
+
* 3 minor enhancements
|
4
|
+
|
5
|
+
* remove dependency on 'extensions' gem, as we weren't using it much and it
|
6
|
+
was causing problems for some
|
7
|
+
* deprecate the 'xml' declaration in favor of the more explicit 'xml_reference'
|
8
|
+
declaration. Reorder params to make for cleaner 3.0 transition.
|
9
|
+
* deprecate '#tag_name' in favor of 'self.class.tag_name', as it's a class-specific value
|
10
|
+
|
1
11
|
== 2.4.0 (January 15, 2009)
|
2
12
|
|
3
13
|
* 1 major enhancement
|
data/Rakefile
CHANGED
@@ -9,11 +9,10 @@ $hoe = Hoe.new('roxml', ROXML::VERSION) do |p|
|
|
9
9
|
p.author = ["Ben Woosley", "Zak Mandhro", "Anders Engstrom", "Russ Olsen"]
|
10
10
|
p.email = "ben.woosley@gmail.com"
|
11
11
|
p.url = "http://roxml.rubyforge.org"
|
12
|
-
p.changes =
|
12
|
+
p.changes = File.read("History.txt").split(/^==/)[1].strip
|
13
13
|
p.rubyforge_name = p.name
|
14
14
|
p.extra_deps = [
|
15
|
-
['activesupport','>= 2.1.0']
|
16
|
-
['extensions', '>= 0.6.0']
|
15
|
+
['activesupport','>= 2.1.0']
|
17
16
|
]
|
18
17
|
p.extra_dev_deps = [
|
19
18
|
['newgem', ">= #{::Newgem::VERSION}"]
|
data/lib/roxml.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
end
|
4
4
|
|
5
5
|
module ROXML # :nodoc:
|
6
|
-
VERSION = '2.4.
|
6
|
+
VERSION = '2.4.1'
|
7
7
|
|
8
8
|
def self.included(base) # :nodoc:
|
9
9
|
base.extend ClassMethods::Accessors,
|
@@ -18,11 +18,12 @@ module ROXML # :nodoc:
|
|
18
18
|
|
19
19
|
module InstanceMethods # :nodoc:
|
20
20
|
# Instance method equivalents of the Class method accessors
|
21
|
-
module Accessors
|
21
|
+
module Accessors # :nodoc:all
|
22
22
|
# Provides access to ROXML::ClassMethods::Accessors::tag_name directly from an instance of a ROXML class
|
23
23
|
def tag_name
|
24
24
|
self.class.tag_name
|
25
25
|
end
|
26
|
+
deprecate :tag_name => 'use class.tag_name instead'
|
26
27
|
|
27
28
|
# Provides access to ROXML::ClassMethods::Accessors::tag_refs directly from an instance of a ROXML class
|
28
29
|
def tag_refs
|
@@ -72,7 +73,7 @@ module ROXML # :nodoc:
|
|
72
73
|
module Conversions
|
73
74
|
# Returns a LibXML::XML::Node or a REXML::Element representing this object
|
74
75
|
def to_xml(name = nil)
|
75
|
-
returning XML::Node.new_element(name || tag_name) do |root|
|
76
|
+
returning XML::Node.new_element(name || self.class.tag_name) do |root|
|
76
77
|
self.class.roxml_attrs.each do |attr|
|
77
78
|
ref = attr.to_ref(self)
|
78
79
|
v = ref.to_xml
|
@@ -232,7 +233,7 @@ module ROXML # :nodoc:
|
|
232
233
|
#
|
233
234
|
# Example:
|
234
235
|
# class Book
|
235
|
-
#
|
236
|
+
# xml_reader :author, :text => 'Author'
|
236
237
|
# xml_accessor :description, :text, :as => :cdata
|
237
238
|
# xml_reader :title
|
238
239
|
# end
|
@@ -415,19 +416,24 @@ module ROXML # :nodoc:
|
|
415
416
|
# [:required] If true, throws RequiredElementMissing when the element isn't present
|
416
417
|
# [:frozen] If true, all results are frozen (using #freeze) at parse-time.
|
417
418
|
#
|
418
|
-
def
|
419
|
+
def xml_reference(writable, sym, type_and_or_opts = :text, opts = nil, &block)
|
419
420
|
opts = Opts.new(sym, *[type_and_or_opts, opts].compact, &block)
|
420
421
|
|
421
422
|
add_accessor(opts, writable)
|
422
423
|
end
|
423
424
|
|
425
|
+
def xml(sym, writable = false, type_and_or_opts = :text, opts = nil, &block) #:nodoc:
|
426
|
+
xml_reference(writable, sym, type_and_or_opts, opts, &block)
|
427
|
+
end
|
428
|
+
deprecate :xml => :xml_reference
|
429
|
+
|
424
430
|
# Declares a read-only xml reference. See xml for details.
|
425
431
|
#
|
426
432
|
# Note that while xml_reader does not create a setter for this attribute,
|
427
433
|
# its value can be modified indirectly via methods. For more complete
|
428
434
|
# protection, consider the :frozen option.
|
429
435
|
def xml_reader(sym, type_and_or_opts = :text, opts = nil, &block)
|
430
|
-
|
436
|
+
xml_reference false, sym, type_and_or_opts, opts, &block
|
431
437
|
end
|
432
438
|
|
433
439
|
# Declares a writable xml reference. See xml for details.
|
@@ -436,11 +442,11 @@ module ROXML # :nodoc:
|
|
436
442
|
# you can use the :frozen option to prevent its value from being
|
437
443
|
# modified indirectly via methods.
|
438
444
|
def xml_accessor(sym, type_and_or_opts = :text, opts = nil, &block)
|
439
|
-
|
445
|
+
xml_reference true, sym, type_and_or_opts, opts, &block
|
440
446
|
end
|
441
447
|
|
442
448
|
# This method is deprecated, please use xml_initialize instead
|
443
|
-
def xml_construct(*args)
|
449
|
+
def xml_construct(*args) # :nodoc:
|
444
450
|
present_tags = tag_refs_without_deprecation.map(&:accessor)
|
445
451
|
missing_tags = args - present_tags
|
446
452
|
unless missing_tags.empty?
|
@@ -513,7 +519,7 @@ module ROXML # :nodoc:
|
|
513
519
|
(@roxml_attrs + (superclass.try(:roxml_attrs) || [])).freeze
|
514
520
|
end
|
515
521
|
|
516
|
-
def tag_refs
|
522
|
+
def tag_refs # :nodoc:
|
517
523
|
roxml_attrs.map {|a| a.to_ref(nil) }
|
518
524
|
end
|
519
525
|
deprecate :tag_refs => :roxml_attrs
|
@@ -556,7 +562,7 @@ module ROXML # :nodoc:
|
|
556
562
|
end
|
557
563
|
|
558
564
|
# Deprecated in favor of #from_xml
|
559
|
-
def parse(data)
|
565
|
+
def parse(data) # :nodoc:
|
560
566
|
from_xml(data)
|
561
567
|
end
|
562
568
|
deprecate :parse => :from_xml
|
@@ -21,9 +21,6 @@ class String
|
|
21
21
|
undef_method :to_xs if method_defined?(:to_xs)
|
22
22
|
end
|
23
23
|
|
24
|
-
require 'extensions/enumerable'
|
25
|
-
require 'extensions/array'
|
26
|
-
|
27
24
|
class Module #:nodoc:
|
28
25
|
include ActiveSupport::CoreExtensions::Module if ActiveSupport::CoreExtensions.const_defined? :Module
|
29
26
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module ROXML
|
2
2
|
module CoreExtensions
|
3
|
-
module Array #:nodoc:
|
3
|
+
module Array #:nodoc:all
|
4
4
|
module Conversions
|
5
5
|
# Translates an array into a hash, where each element of the array is
|
6
6
|
# an array with 2 elements:
|
@@ -15,7 +15,7 @@ module ROXML
|
|
15
15
|
result
|
16
16
|
end
|
17
17
|
hash.each_pair do |k, v|
|
18
|
-
hash[k] = v.
|
18
|
+
hash[k] = v.first if v.one?
|
19
19
|
end
|
20
20
|
hash
|
21
21
|
end
|
data/lib/roxml/options.rb
CHANGED
@@ -43,7 +43,7 @@ module ROXML
|
|
43
43
|
def to_hash_args(args, type, name)
|
44
44
|
args = [args] unless args.is_a? Array
|
45
45
|
|
46
|
-
if args.one? && !(args.
|
46
|
+
if args.one? && !(args.first.keys & HASH_KEYS).empty?
|
47
47
|
opts = {type => name}
|
48
48
|
if type == :content
|
49
49
|
opts[:type] = :text
|
@@ -245,14 +245,15 @@ module ROXML
|
|
245
245
|
types = (@opts.keys & TYPE_KEYS)
|
246
246
|
# type arg
|
247
247
|
if args.one? && types.empty?
|
248
|
-
|
248
|
+
type = args.first
|
249
|
+
if type.is_a? Array
|
249
250
|
@opts[:as] << :array
|
250
|
-
return
|
251
|
-
elsif
|
252
|
-
@opts[:hash] =
|
251
|
+
return type.first
|
252
|
+
elsif type.is_a? Hash
|
253
|
+
@opts[:hash] = type
|
253
254
|
return :hash
|
254
255
|
else
|
255
|
-
return
|
256
|
+
return type
|
256
257
|
end
|
257
258
|
end
|
258
259
|
|
@@ -263,8 +264,8 @@ module ROXML
|
|
263
264
|
|
264
265
|
# type options
|
265
266
|
if types.one?
|
266
|
-
@opts[:from] = @opts.delete(types.
|
267
|
-
types.
|
267
|
+
@opts[:from] = @opts.delete(types.first)
|
268
|
+
types.first
|
268
269
|
elsif types.empty?
|
269
270
|
:text
|
270
271
|
else
|
data/roxml.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{roxml}
|
5
|
-
s.version = "2.4.
|
5
|
+
s.version = "2.4.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Ben Woosley", "Zak Mandhro", "Anders Engstrom", "Russ Olsen"]
|
9
|
-
s.date = %q{2009-01-
|
9
|
+
s.date = %q{2009-01-28}
|
10
10
|
s.description = %q{ROXML is a Ruby library designed to make it easier for Ruby developers to work with XML. Using simple annotations, it enables Ruby classes to be mapped to XML. ROXML takes care of the marshalling and unmarshalling of mapped attributes so that developers can focus on building first-class Ruby classes. As a result, ROXML simplifies the development of RESTful applications, Web Services, and XML-RPC.}
|
11
11
|
s.email = %q{ben.woosley@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
|
13
|
-
s.files = ["History.txt", "MIT-LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "TODO", "html/index.html", "html/style.css", "lib/roxml.rb", "lib/roxml/extensions/active_support.rb", "lib/roxml/extensions/array.rb", "lib/roxml/extensions/array/conversions.rb", "lib/roxml/extensions/deprecation.rb", "lib/roxml/extensions/string.rb", "lib/roxml/extensions/string/conversions.rb", "lib/roxml/extensions/string/iterators.rb", "lib/roxml/options.rb", "lib/roxml/xml.rb", "lib/roxml/xml/libxml.rb", "lib/roxml/xml/rexml.rb", "roxml.gemspec", "tasks/
|
13
|
+
s.files = ["History.txt", "MIT-LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "TODO", "html/index.html", "html/style.css", "lib/roxml.rb", "lib/roxml/extensions/active_support.rb", "lib/roxml/extensions/array.rb", "lib/roxml/extensions/array/conversions.rb", "lib/roxml/extensions/deprecation.rb", "lib/roxml/extensions/string.rb", "lib/roxml/extensions/string/conversions.rb", "lib/roxml/extensions/string/iterators.rb", "lib/roxml/options.rb", "lib/roxml/xml.rb", "lib/roxml/xml/libxml.rb", "lib/roxml/xml/rexml.rb", "roxml.gemspec", "tasks/test.rake", "test/bugs/rexml_bugs.rb", "test/fixtures/book_malformed.xml", "test/fixtures/book_pair.xml", "test/fixtures/book_text_with_attribute.xml", "test/fixtures/book_valid.xml", "test/fixtures/book_with_authors.xml", "test/fixtures/book_with_contributions.xml", "test/fixtures/book_with_contributors.xml", "test/fixtures/book_with_contributors_attrs.xml", "test/fixtures/book_with_default_namespace.xml", "test/fixtures/book_with_depth.xml", "test/fixtures/book_with_octal_pages.xml", "test/fixtures/book_with_publisher.xml", "test/fixtures/book_with_wrapped_attr.xml", "test/fixtures/dictionary_of_attr_name_clashes.xml", "test/fixtures/dictionary_of_attrs.xml", "test/fixtures/dictionary_of_guarded_names.xml", "test/fixtures/dictionary_of_mixeds.xml", "test/fixtures/dictionary_of_name_clashes.xml", "test/fixtures/dictionary_of_names.xml", "test/fixtures/dictionary_of_texts.xml", "test/fixtures/library.xml", "test/fixtures/library_uppercase.xml", "test/fixtures/muffins.xml", "test/fixtures/nameless_ageless_youth.xml", "test/fixtures/node_with_attr_name_conflicts.xml", "test/fixtures/node_with_name_conflicts.xml", "test/fixtures/numerology.xml", "test/fixtures/person.xml", "test/fixtures/person_with_guarded_mothers.xml", "test/fixtures/person_with_mothers.xml", "test/mocks/dictionaries.rb", "test/mocks/mocks.rb", "test/release/dependencies_test.rb", "test/test_helper.rb", "test/unit/array_test.rb", "test/unit/freeze_test.rb", "test/unit/inheritance_test.rb", "test/unit/options_test.rb", "test/unit/overriden_output_test.rb", "test/unit/roxml_test.rb", "test/unit/string_test.rb", "test/unit/to_xml_test.rb", "test/unit/xml_attribute_test.rb", "test/unit/xml_block_test.rb", "test/unit/xml_bool_test.rb", "test/unit/xml_construct_test.rb", "test/unit/xml_convention_test.rb", "test/unit/xml_hash_test.rb", "test/unit/xml_initialize_test.rb", "test/unit/xml_name_test.rb", "test/unit/xml_namespace_test.rb", "test/unit/xml_object_test.rb", "test/unit/xml_required_test.rb", "test/unit/xml_text_test.rb", "vendor/override_rake_task/README", "vendor/override_rake_task/init.rb", "vendor/override_rake_task/install.rb", "vendor/override_rake_task/lib/override_rake_task.rb"]
|
14
14
|
s.has_rdoc = true
|
15
15
|
s.homepage = %q{http://roxml.rubyforge.org}
|
16
16
|
s.rdoc_options = ["--main", "README.rdoc"]
|
@@ -26,18 +26,15 @@ Gem::Specification.new do |s|
|
|
26
26
|
|
27
27
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
28
|
s.add_runtime_dependency(%q<activesupport>, [">= 2.1.0"])
|
29
|
-
s.add_runtime_dependency(%q<extensions>, [">= 0.6.0"])
|
30
29
|
s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
|
31
30
|
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
|
32
31
|
else
|
33
32
|
s.add_dependency(%q<activesupport>, [">= 2.1.0"])
|
34
|
-
s.add_dependency(%q<extensions>, [">= 0.6.0"])
|
35
33
|
s.add_dependency(%q<newgem>, [">= 1.2.3"])
|
36
34
|
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
37
35
|
end
|
38
36
|
else
|
39
37
|
s.add_dependency(%q<activesupport>, [">= 2.1.0"])
|
40
|
-
s.add_dependency(%q<extensions>, [">= 0.6.0"])
|
41
38
|
s.add_dependency(%q<newgem>, [">= 1.2.3"])
|
42
39
|
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
43
40
|
end
|
data/tasks/test.rake
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# We need to override hoe's test task in order to support separate REXML & LibXML testing
|
2
|
+
require File.join(File.dirname(__FILE__), '../vendor/override_rake_task/lib/override_rake_task')
|
3
|
+
|
4
|
+
Rake::TestTask.new(:bugs) do |t|
|
5
|
+
t.libs << 'test'
|
6
|
+
t.test_files = FileList['test/bugs/*_bugs.rb']
|
7
|
+
t.verbose = true
|
8
|
+
end
|
9
|
+
|
10
|
+
remove_task :test
|
11
|
+
desc "Test ROXML using the default parser selection behavior"
|
12
|
+
task :test do
|
13
|
+
module ROXML
|
14
|
+
SILENCE_XML_NAME_WARNING = true
|
15
|
+
end
|
16
|
+
require 'lib/roxml'
|
17
|
+
require 'rake/runtest'
|
18
|
+
Rake.run_tests $hoe.test_globs
|
19
|
+
end
|
20
|
+
|
21
|
+
namespace :test do
|
22
|
+
desc "Test ROXML under the LibXML parser"
|
23
|
+
task :libxml do
|
24
|
+
module ROXML
|
25
|
+
XML_PARSER = 'libxml'
|
26
|
+
end
|
27
|
+
Rake::Task["test"].invoke
|
28
|
+
end
|
29
|
+
|
30
|
+
desc "Test ROXML under the REXML parser"
|
31
|
+
task :rexml do
|
32
|
+
module ROXML
|
33
|
+
XML_PARSER = 'rexml'
|
34
|
+
end
|
35
|
+
Rake::Task["test"].invoke
|
36
|
+
end
|
37
|
+
|
38
|
+
desc "Runs tests under RCOV"
|
39
|
+
task :rcov do
|
40
|
+
system "rcov -T --no-html -x '^/' #{FileList[$hoe.test_globs]}"
|
41
|
+
end
|
42
|
+
end
|
data/test/mocks/mocks.rb
CHANGED
data/test/test_helper.rb
CHANGED
data/test/unit/options_test.rb
CHANGED
@@ -81,13 +81,13 @@ class TestOptions < Test::Unit::TestCase
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def test_block_integer_shorthand
|
84
|
-
assert_equal 3, ROXML::Opts.new(:count, :as => :integer).blocks.
|
85
|
-
assert_equal 3, ROXML::Opts.new(:count, :as => Integer).blocks.
|
84
|
+
assert_equal 3, ROXML::Opts.new(:count, :as => :integer).blocks.first['3']
|
85
|
+
assert_equal 3, ROXML::Opts.new(:count, :as => Integer).blocks.first['3']
|
86
86
|
end
|
87
87
|
|
88
88
|
def test_block_float_shorthand
|
89
|
-
assert_equal 3.1, ROXML::Opts.new(:count, :as => :float).blocks.
|
90
|
-
assert_equal 3.1, ROXML::Opts.new(:count, :as => Float).blocks.
|
89
|
+
assert_equal 3.1, ROXML::Opts.new(:count, :as => :float).blocks.first['3.1']
|
90
|
+
assert_equal 3.1, ROXML::Opts.new(:count, :as => Float).blocks.first['3.1']
|
91
91
|
end
|
92
92
|
|
93
93
|
def test_multiple_shorthands_raises
|
data/test/unit/xml_name_test.rb
CHANGED
@@ -88,7 +88,7 @@ class TestXMLName < Test::Unit::TestCase
|
|
88
88
|
def test_named_books_picked_up
|
89
89
|
named = Library.from_xml(fixture(:library))
|
90
90
|
assert named.books
|
91
|
-
assert_equal :book, named.books.first.tag_name
|
91
|
+
assert_equal :book, named.books.first.class.tag_name
|
92
92
|
end
|
93
93
|
|
94
94
|
def test_nameless_books_missing
|
@@ -101,25 +101,25 @@ class TestXMLName < Test::Unit::TestCase
|
|
101
101
|
|
102
102
|
dict = DictionaryOfTexts.from_xml(fixture(:dictionary_of_texts))
|
103
103
|
|
104
|
-
assert_equal :dictionary, dict.tag_name
|
104
|
+
assert_equal :dictionary, dict.class.tag_name
|
105
105
|
end
|
106
106
|
|
107
107
|
def test_tag_refs
|
108
|
-
assert_equal 'definition', DictionaryOfTexts.tag_refs_without_deprecation.
|
109
|
-
assert_equal 'word', DictionaryOfTexts.tag_refs_without_deprecation.
|
110
|
-
assert_equal 'meaning', DictionaryOfTexts.tag_refs_without_deprecation.
|
108
|
+
assert_equal 'definition', DictionaryOfTexts.tag_refs_without_deprecation.first.name
|
109
|
+
assert_equal 'word', DictionaryOfTexts.tag_refs_without_deprecation.first.hash.key.name
|
110
|
+
assert_equal 'meaning', DictionaryOfTexts.tag_refs_without_deprecation.first.hash.value.name
|
111
111
|
|
112
112
|
dict = DictionaryOfTexts.from_xml(fixture(:dictionary_of_texts))
|
113
113
|
|
114
|
-
assert_equal 'definition', dict.tag_refs_without_deprecation.
|
115
|
-
assert_equal 'word', dict.tag_refs_without_deprecation.
|
116
|
-
assert_equal 'meaning', dict.tag_refs_without_deprecation.
|
114
|
+
assert_equal 'definition', dict.tag_refs_without_deprecation.first.name
|
115
|
+
assert_equal 'word', dict.tag_refs_without_deprecation.first.hash.key.name
|
116
|
+
assert_equal 'meaning', dict.tag_refs_without_deprecation.first.hash.value.name
|
117
117
|
end
|
118
118
|
|
119
119
|
def test_roxml_attrs
|
120
|
-
assert_equal 'definition', DictionaryOfTexts.roxml_attrs.
|
121
|
-
assert_equal 'word', DictionaryOfTexts.roxml_attrs.
|
122
|
-
assert_equal 'meaning', DictionaryOfTexts.roxml_attrs.
|
120
|
+
assert_equal 'definition', DictionaryOfTexts.roxml_attrs.first.name
|
121
|
+
assert_equal 'word', DictionaryOfTexts.roxml_attrs.first.hash.key.name
|
122
|
+
assert_equal 'meaning', DictionaryOfTexts.roxml_attrs.first.hash.value.name
|
123
123
|
end
|
124
124
|
|
125
125
|
def test_xml_name_query_is_deprecated
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Empact-roxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Woosley
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2009-01-
|
15
|
+
date: 2009-01-28 00:00:00 -08:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
@@ -24,15 +24,6 @@ dependencies:
|
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: 2.1.0
|
26
26
|
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: extensions
|
29
|
-
version_requirement:
|
30
|
-
version_requirements: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 0.6.0
|
35
|
-
version:
|
36
27
|
- !ruby/object:Gem::Dependency
|
37
28
|
name: newgem
|
38
29
|
version_requirement:
|
@@ -83,7 +74,7 @@ files:
|
|
83
74
|
- lib/roxml/xml/libxml.rb
|
84
75
|
- lib/roxml/xml/rexml.rb
|
85
76
|
- roxml.gemspec
|
86
|
-
- tasks/
|
77
|
+
- tasks/test.rake
|
87
78
|
- test/bugs/rexml_bugs.rb
|
88
79
|
- test/fixtures/book_malformed.xml
|
89
80
|
- test/fixtures/book_pair.xml
|
@@ -139,6 +130,10 @@ files:
|
|
139
130
|
- test/unit/xml_object_test.rb
|
140
131
|
- test/unit/xml_required_test.rb
|
141
132
|
- test/unit/xml_text_test.rb
|
133
|
+
- vendor/override_rake_task/README
|
134
|
+
- vendor/override_rake_task/init.rb
|
135
|
+
- vendor/override_rake_task/install.rb
|
136
|
+
- vendor/override_rake_task/lib/override_rake_task.rb
|
142
137
|
has_rdoc: true
|
143
138
|
homepage: http://roxml.rubyforge.org
|
144
139
|
post_install_message:
|