dynarex 1.2.13 → 1.2.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +7 -2
- metadata +2 -2
data/lib/dynarex.rb
CHANGED
@@ -16,9 +16,9 @@ require 'rowx'
|
|
16
16
|
|
17
17
|
class Dynarex
|
18
18
|
|
19
|
-
attr_accessor :format_mask, :delimiter, :xslt_schema, :schema, :order
|
19
|
+
attr_accessor :format_mask, :delimiter, :xslt_schema, :schema, :order, :type
|
20
20
|
|
21
|
-
def self.gem_url() 'http://www.jamesrobertson.eu/ruby/dynarex#1.2.
|
21
|
+
def self.gem_url() 'http://www.jamesrobertson.eu/ruby/dynarex#1.2.14' end
|
22
22
|
|
23
23
|
#Create a new dynarex document from 1 of the following options:
|
24
24
|
#* a local file path
|
@@ -82,6 +82,11 @@ class Dynarex
|
|
82
82
|
def schema=(s)
|
83
83
|
open s
|
84
84
|
end
|
85
|
+
|
86
|
+
def type=(v)
|
87
|
+
@order = 'descending' if v = 'feed'
|
88
|
+
@type = v
|
89
|
+
end
|
85
90
|
|
86
91
|
# Returns the hash representation of the document summary.
|
87
92
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dynarex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.14
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Robertson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-01-
|
13
|
+
date: 2013-01-07 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rexle
|