rexle 1.0.25 → 1.0.26
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +4 -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: 61f8f06a3e6eb1187c078a6133541141bd918240
|
|
4
|
+
data.tar.gz: 8ae5b1f3444c5cd080be68cccd55358915c2b148
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec75334ddf26c1ceb20aac45996875f0c77de01c9466446cd8b56acce00d96720ba418d275e874de47500592a2a88628877d9c76f2d8c65b02ce68cf0551d0bd
|
|
7
|
+
data.tar.gz: 6d7f6e1d5923b10f42ee7297e5f9ff8778498a925949664359eaef22d247bde9bb8c8dda46dc60d3a8d11d1e1c097ff9b8f9086b90919f5a41919658d29f1844
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -12,6 +12,7 @@ include REXML
|
|
|
12
12
|
|
|
13
13
|
# modifications:
|
|
14
14
|
|
|
15
|
+
# 13-Oct-2014: feature: Implemented Rexle#clone
|
|
15
16
|
# 12-Oct-2014: feature: Implemented CSS style element selection
|
|
16
17
|
# 27-Sep-2014: bug fix: ELement values are now explicitly transformed to string
|
|
17
18
|
# 16-Sep-2014: Feature: Impelemented Rexle::Element#each_recursive
|
|
@@ -250,6 +251,9 @@ class Rexle
|
|
|
250
251
|
|
|
251
252
|
end
|
|
252
253
|
|
|
254
|
+
def clone()
|
|
255
|
+
Rexle.new self.to_a
|
|
256
|
+
end
|
|
253
257
|
def css(selector)
|
|
254
258
|
@doc.root.xpath RexleCSS.new(selector).to_xpath
|
|
255
259
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rexle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
UOGKUMV5RApHDnC0ywMYNe0HK7qMSTP5YLKs8JUjNxpc5jl8+o3D3sHkNN4DzbQm
|
|
32
32
|
jVfzDZ+niKvAUA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2014-10-
|
|
34
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
|
Binary file
|