dynarex 1.0.2 → 1.0.3
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/lib/dynarex.rb +4 -5
- metadata +2 -2
data/lib/dynarex.rb
CHANGED
|
@@ -6,8 +6,7 @@ require 'nokogiri'
|
|
|
6
6
|
require 'open-uri'
|
|
7
7
|
require 'builder'
|
|
8
8
|
require 'ostruct'
|
|
9
|
-
|
|
10
|
-
require '/home/james/learning/ruby/rexle'
|
|
9
|
+
require 'rexle'
|
|
11
10
|
|
|
12
11
|
class Dynarex
|
|
13
12
|
|
|
@@ -110,8 +109,8 @@ EOF
|
|
|
110
109
|
|
|
111
110
|
end
|
|
112
111
|
|
|
113
|
-
def to_xml(
|
|
114
|
-
display_xml(
|
|
112
|
+
def to_xml()
|
|
113
|
+
display_xml()
|
|
115
114
|
end
|
|
116
115
|
|
|
117
116
|
#Save the document to a local file.
|
|
@@ -292,7 +291,7 @@ EOF
|
|
|
292
291
|
|
|
293
292
|
def display_xml
|
|
294
293
|
|
|
295
|
-
@doc.xml
|
|
294
|
+
@doc.xml pretty: true
|
|
296
295
|
end
|
|
297
296
|
|
|
298
297
|
def rebuild_doc
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dynarex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors: []
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2011-01-
|
|
12
|
+
date: 2011-01-13 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|