dataisland 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dataisland.rb +3 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2520e6d24d27f6ac8822d3c098f75b2afe9b5d18
|
4
|
+
data.tar.gz: 436229775314b586d86ec0aeb85a454ff38724db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e3c4f4fb68bcdc5a98d4fcdd15735ccb85500ce57bff41c7588151195efa770806fc82933ab26faad78531e06e6d5da4ea4222eec7397c9c87b3a41bf33d4b
|
7
|
+
data.tar.gz: 8ee6cdbdf134a4a15ab0285286ec7d413c21936ac6088e5571ae2eacd87e01e5c980c11a57b11e59080d6e586586ca1c66437bb87310c43721b1445c44c3b25f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dataisland.rb
CHANGED
@@ -12,9 +12,10 @@ class DataIsland
|
|
12
12
|
|
13
13
|
# e.g. url = 'http://www.jamesrobertson.eu/index-template.html'
|
14
14
|
#
|
15
|
-
def initialize(location)
|
15
|
+
def initialize(location, opts={})
|
16
16
|
|
17
17
|
buffer, typex = RXFHelper.read(location)
|
18
|
+
|
18
19
|
@html_doc = Rexle.new(buffer.sub(/^<!DOCTYPE html>/,''))
|
19
20
|
|
20
21
|
a = @html_doc.css('//script[@class="dataisland"]')
|
@@ -47,7 +48,7 @@ class DataIsland
|
|
47
48
|
@location +'/' + h[:data]
|
48
49
|
end
|
49
50
|
|
50
|
-
dynarex = Dynarex.new location2
|
51
|
+
dynarex = Dynarex.new location2, opts
|
51
52
|
|
52
53
|
if (h[:order] and h[:order][/^desc|descending$/]) \
|
53
54
|
or dynarex.order = 'descending' then
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dataisland
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
hfU2aUsh32EdO0lz//CAq6vJ6SOTB7aLPUBCTqjepgkYPqhbA4xLDdvXr4sd5ObL
|
32
32
|
ZuH02/86EylsSA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-01-05 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex
|
metadata.gz.sig
CHANGED
Binary file
|