dreamcat4-libxml-bindings 0.1.4 → 0.2.0

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.
Files changed (40) hide show
  1. data/README.rdoc +58 -20
  2. data/Rakefile +8 -3
  3. data/VERSION.yml +2 -2
  4. data/lib/libxml_bindings.rb +212 -71
  5. data/test/test_helper.rb +29 -0
  6. data/test/test_libxml_bindings.rb +38 -0
  7. data/test/test_xml_modifiers.rb +57 -0
  8. data/test/test_xml_outputters.rb +53 -0
  9. data/test/test_xml_readers.rb +59 -0
  10. data/test/xml/atom.xml +13 -0
  11. data/test/xml/books.xml +146 -0
  12. data/test/xml/breakfast_menu.xml +38 -0
  13. data/test/xml/document.xml +49 -0
  14. data/test/xml/merge_bug_data.xml +58 -0
  15. data/test/xml/namespaces.xml +22 -0
  16. data/test/xml/parts_system.xml +31 -0
  17. data/test/xml/plant_catalog.xml +336 -0
  18. data/test/xml/recipie.xml +18 -0
  19. data/test/xml/rss1.xml +58 -0
  20. data/test/xml/rss2.xml +56 -0
  21. data/test/xml/ruby_lang.xhtml +238 -0
  22. data/test/xml/rubynet.xml +79 -0
  23. data/test/xml/shiporder.xls +86 -0
  24. data/test/xml/shiporder.xml +23 -0
  25. data/test/xml/shiporder.xsd +31 -0
  26. data/test/xml/soap_create_path.xml +15 -0
  27. data/test/xml/soap_create_path_response.xml +16 -0
  28. data/test/xml/soap_create_reservation.xml +25 -0
  29. data/test/xml/soap_create_reservation_response.xml +64 -0
  30. data/test/xml/soap_get_price.xml +11 -0
  31. data/test/xml/soap_get_price_response.xml +11 -0
  32. data/test/xml/soap_manufacturer_names_response.xml +27 -0
  33. data/test/xml/soap_order_item.xml +17 -0
  34. data/test/xml/soap_order_item_response.xml +10 -0
  35. data/test/xml/soap_refresh_path.xml +15 -0
  36. data/test/xml/soap_refresh_path_response.xml +16 -0
  37. data/test/xml/soap_teardown_path.xml +15 -0
  38. data/test/xml/soap_teardown_path_response.xml +16 -0
  39. metadata +53 -9
  40. data/test/libxml_bindings_test.rb +0 -7
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0"?>
2
+ <!-- http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzamy/50/webserv/wssoapexam.htm -->
3
+ <SOAP-ENV:Envelope
4
+ xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
5
+ SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
6
+ <SOAP-ENV:Body>
7
+ <m:OrderItem xmlns:m="Some-URI">
8
+ <RetailerID>557010</RetailerID>
9
+ <ItemNumber>1050420459</ItemNumber>
10
+ <ItemName>AMF Night Hawk Pearl M2</ItemName>
11
+ <ItemDesc>Bowling Ball</ItemDesc>
12
+ <OrderQuantity>100</OrderQuantity>
13
+ <WholesalePrice>130.95</WholeSalePrice>
14
+ <OrderDateTime>2000-06-19 10:09:56</OrderDateTime>
15
+ </m:OrderItem>
16
+ </SOAP-ENV:Body>
17
+ </SOAP-ENV:Envelope>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0"?>
2
+ <!-- http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzamy/50/webserv/wssoapexam.htm -->
3
+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4
+ SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
5
+ <SOAP-ENV:Body>
6
+ <m:OrderItemResponse xmlns:m="Some-URI">
7
+ <OrderNumber>561381</OrderNumber>
8
+ </m:OrderItemResponse>
9
+ </SOAP-ENV:Body>
10
+ </SOAP-ENV:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <!-- https://wiki.internet2.edu/confluence/display/CPD/OSCARS+Client+Messaging -->
3
+ <soap:Envelope
4
+ xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
5
+ soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
6
+
7
+ <!-- Security headers and X.509 go here -->
8
+
9
+ <soap:Body>
10
+ <m:refreshPath xmlns:m="http://oscars.es.net/OSCARS">
11
+ <m:globalReservationId>domain1-1000</m:globalReservationId >
12
+ </m:refreshPath>
13
+ </soap:Body>
14
+
15
+ </soap:Envelope>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0"?>
2
+ <!-- https://wiki.internet2.edu/confluence/display/CPD/OSCARS+Client+Messaging -->
3
+ <soap:Envelope
4
+ xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
5
+ soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
6
+
7
+ <!-- Security headers and X.509 go here -->
8
+
9
+ <soap:Body>
10
+ <m:refreshPathResponse xmlns:m="http://oscars.es.net/OSCARS">
11
+ <m:globalReservationId>domain1-1000</m:globalReservationId>
12
+ <m:status>ACTIVE</m:status>
13
+ </m:refreshPathResponse>
14
+ </soap:Body>
15
+
16
+ </soap:Envelope>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <!-- https://wiki.internet2.edu/confluence/display/CPD/OSCARS+Client+Messaging -->
3
+ <soap:Envelope
4
+ xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
5
+ soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
6
+
7
+ <!-- Security headers and X.509 go here -->
8
+
9
+ <soap:Body>
10
+ <m:teardownPath xmlns:m="http://oscars.es.net/OSCARS">
11
+ <m:globalReservationId>domain1-1000</m:globalReservationId >
12
+ </m:teardownPath>
13
+ </soap:Body>
14
+
15
+ </soap:Envelope>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0"?>
2
+ <!-- https://wiki.internet2.edu/confluence/display/CPD/OSCARS+Client+Messaging -->
3
+ <soap:Envelope
4
+ xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
5
+ soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
6
+
7
+ <!-- Security headers and X.509 go here -->
8
+
9
+ <soap:Body>
10
+ <m:teardownPathResponse xmlns:m="http://oscars.es.net/OSCARS">
11
+ <m:globalReservationId>domain1-1000</m:globalReservationId>
12
+ <m:status>PENDING</m:status>
13
+ </m:teardownPathResponse>
14
+ </soap:Body>
15
+
16
+ </soap:Envelope>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dreamcat4-libxml-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - dreamcat4
@@ -9,10 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-29 00:00:00 -07:00
12
+ date: 2009-07-10 00:00:00 -07:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: libxml-ruby
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.1.3
24
+ version:
16
25
  description:
17
26
  email: dreamcat4@gmail.com
18
27
  executables: []
@@ -29,9 +38,41 @@ files:
29
38
  - VERSION.yml
30
39
  - lib/libxml-bindings.rb
31
40
  - lib/libxml_bindings.rb
32
- - test/libxml_bindings_test.rb
33
41
  - test/test_helper.rb
34
- has_rdoc: true
42
+ - test/test_libxml_bindings.rb
43
+ - test/test_xml_modifiers.rb
44
+ - test/test_xml_outputters.rb
45
+ - test/test_xml_readers.rb
46
+ - test/xml/atom.xml
47
+ - test/xml/books.xml
48
+ - test/xml/breakfast_menu.xml
49
+ - test/xml/document.xml
50
+ - test/xml/merge_bug_data.xml
51
+ - test/xml/namespaces.xml
52
+ - test/xml/parts_system.xml
53
+ - test/xml/plant_catalog.xml
54
+ - test/xml/recipie.xml
55
+ - test/xml/rss1.xml
56
+ - test/xml/rss2.xml
57
+ - test/xml/ruby_lang.xhtml
58
+ - test/xml/rubynet.xml
59
+ - test/xml/shiporder.xls
60
+ - test/xml/shiporder.xml
61
+ - test/xml/shiporder.xsd
62
+ - test/xml/soap_create_path.xml
63
+ - test/xml/soap_create_path_response.xml
64
+ - test/xml/soap_create_reservation.xml
65
+ - test/xml/soap_create_reservation_response.xml
66
+ - test/xml/soap_get_price.xml
67
+ - test/xml/soap_get_price_response.xml
68
+ - test/xml/soap_manufacturer_names_response.xml
69
+ - test/xml/soap_order_item.xml
70
+ - test/xml/soap_order_item_response.xml
71
+ - test/xml/soap_refresh_path.xml
72
+ - test/xml/soap_refresh_path_response.xml
73
+ - test/xml/soap_teardown_path.xml
74
+ - test/xml/soap_teardown_path_response.xml
75
+ has_rdoc: false
35
76
  homepage: http://github.com/dreamcat4/libxml-bindings
36
77
  post_install_message:
37
78
  rdoc_options:
@@ -55,8 +96,11 @@ requirements: []
55
96
  rubyforge_project:
56
97
  rubygems_version: 1.2.0
57
98
  signing_key:
58
- specification_version: 2
59
- summary: Dreamcat4's bindings for libxml-ruby. In development. This gem will provide convenience functions for both reading and writing XML in ruby. Implemented as wrapper for underlying libxml2 / SAX. Aims are to be faster (very much) and simpler (little bit) than hpricot. This project is a continuation / extension of libxml_helper.rb by Phil Bogle.
99
+ specification_version: 3
100
+ summary: Dreamcat4's bindings on libxml-ruby. Convenience methods for extending the core classes.
60
101
  test_files:
61
- - test/libxml_bindings_test.rb
62
102
  - test/test_helper.rb
103
+ - test/test_libxml_bindings.rb
104
+ - test/test_xml_modifiers.rb
105
+ - test/test_xml_outputters.rb
106
+ - test/test_xml_readers.rb
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class LibxmlBindingsTest < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end