roxml 3.2.2 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +13 -0
  3. data/Gemfile +9 -6
  4. data/Gemfile.lock +98 -40
  5. data/History.txt +15 -0
  6. data/README.rdoc +3 -2
  7. data/Rakefile +9 -21
  8. data/VERSION +1 -1
  9. data/examples/search_query.rb +17 -0
  10. data/lib/roxml.rb +9 -3
  11. data/lib/roxml/definition.rb +4 -9
  12. data/lib/roxml/xml/parsers/libxml.rb +11 -27
  13. data/lib/roxml/xml/parsers/nokogiri.rb +13 -26
  14. data/lib/roxml/xml/references.rb +33 -21
  15. data/roxml.gemspec +40 -40
  16. data/spec/definition_spec.rb +85 -104
  17. data/spec/examples/active_record_spec.rb +13 -13
  18. data/spec/examples/amazon_spec.rb +13 -13
  19. data/spec/examples/current_weather_spec.rb +6 -6
  20. data/spec/examples/dashed_elements_spec.rb +3 -3
  21. data/spec/examples/library_spec.rb +3 -3
  22. data/spec/examples/library_with_fines_spec.rb +7 -7
  23. data/spec/examples/person_spec.rb +27 -27
  24. data/spec/examples/post_spec.rb +4 -4
  25. data/spec/examples/search_query_spec.rb +26 -0
  26. data/spec/examples/twitter_spec.rb +4 -4
  27. data/spec/reference_spec.rb +2 -2
  28. data/spec/regression_spec.rb +13 -8
  29. data/spec/roxml_spec.rb +56 -61
  30. data/spec/shared_specs.rb +2 -2
  31. data/spec/spec_helper.rb +2 -0
  32. data/spec/xml/array_spec.rb +2 -2
  33. data/spec/xml/attributes_spec.rb +7 -7
  34. data/spec/xml/encoding_spec.rb +9 -9
  35. data/spec/xml/namespace_spec.rb +40 -21
  36. data/spec/xml/namespaces_spec.rb +3 -3
  37. data/spec/xml/object_spec.rb +7 -7
  38. data/spec/xml/parser_spec.rb +2 -8
  39. data/spec/xml/text_spec.rb +6 -6
  40. data/test/fixtures/book_with_octal_pages.xml +2 -3
  41. data/test/test_helper.rb +1 -2
  42. data/test/unit/definition_test.rb +26 -27
  43. data/test/unit/deprecations_test.rb +23 -2
  44. data/test/unit/to_xml_test.rb +9 -9
  45. data/test/unit/xml_attribute_test.rb +3 -2
  46. data/test/unit/xml_block_test.rb +3 -2
  47. data/test/unit/xml_bool_test.rb +7 -8
  48. data/test/unit/xml_convention_test.rb +4 -3
  49. data/test/unit/xml_hash_test.rb +5 -13
  50. data/test/unit/xml_initialize_test.rb +4 -3
  51. data/test/unit/xml_name_test.rb +3 -2
  52. data/test/unit/xml_namespace_test.rb +4 -3
  53. data/test/unit/xml_object_test.rb +8 -7
  54. data/test/unit/xml_required_test.rb +7 -6
  55. data/test/unit/xml_text_test.rb +3 -2
  56. data/website/index.html +11 -11
  57. metadata +114 -61
  58. data/test/load_test.rb +0 -6
@@ -1,6 +0,0 @@
1
- require 'fileutils'
2
- FileUtils.cd(File.dirname(__FILE__))
3
-
4
- require 'rubygems'
5
- require 'roxml'
6
- puts ROXML::VERSION