dataisland 0.1.18 → 0.1.19
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 +7 -4
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 8b94b3e5d49b0b1a01c60c327d3cd2b900c37b65
|
4
|
+
data.tar.gz: b41dc0b85bd5e5ec6dfb1ce53f37d673a25031fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9faadb32ba5493e588a7a2f48258fa13dae2f78d6ab5dc2d9bd67f1d62e79294bf291a482185e2f1db5dc2399d1807116c7c481f15f18a31fd96acc7e20ae448
|
7
|
+
data.tar.gz: 3af3421f9862dc278a4c7fb914e6bd0f0a484924799edf245cd43a1a711899901403708d6e7ac184c4807bb9456995997f36011629b0605942f013215a6cafb8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/dataisland.rb
CHANGED
@@ -13,10 +13,12 @@ class DataIsland
|
|
13
13
|
# e.g. url = 'http://www.jamesrobertson.eu/index-template.html'
|
14
14
|
#
|
15
15
|
def initialize(location, opts={})
|
16
|
-
|
16
|
+
|
17
|
+
puts 'location : ' + location.inspect
|
17
18
|
buffer, typex = RXFHelper.read(location)
|
19
|
+
puts 'buffer : ' + buffer.inspect
|
18
20
|
@html_doc = Rexle.new(buffer.sub(/^<!DOCTYPE html>/,''))
|
19
|
-
|
21
|
+
puts 'after rexle'
|
20
22
|
a = @html_doc.css('//script[@class="dataisland"]')
|
21
23
|
a.map(&:delete)
|
22
24
|
|
@@ -48,7 +50,8 @@ class DataIsland
|
|
48
50
|
|
49
51
|
if (h[:order] and h[:order][/^desc|descending$/]) \
|
50
52
|
or dynarex.order = 'descending' then
|
51
|
-
records = dynarex.flat_records.reverse
|
53
|
+
#records = dynarex.flat_records.reverse
|
54
|
+
records = dynarex.flat_records
|
52
55
|
else
|
53
56
|
records = dynarex.flat_records
|
54
57
|
end
|
@@ -256,4 +259,4 @@ class DataIsland
|
|
256
259
|
end
|
257
260
|
end
|
258
261
|
|
259
|
-
end
|
262
|
+
end
|
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.19
|
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: 2015-
|
34
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.4.6
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: dataisland
|
metadata.gz.sig
CHANGED
Binary file
|