rexle-css 0.1.3 → 0.1.4
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.tar.gz.sig +1 -4
- data/lib/rexle-css.rb +2 -2
- metadata +18 -18
- 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: a457055546d4c98dc70ed576f66d2a6211132eea
|
4
|
+
data.tar.gz: f25142573f55a3fe0115dbf2946e7aab9cffca92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb87c43f8c7a5cb66edfe8b080cb308e2b86f8be75ff6998b2664354a043b29c166d80bb8e1c15ffc07def69e31926bea02dccc7e2c9f23d92c93464c83c923e
|
7
|
+
data.tar.gz: e274469757a3c33afa2153780179f24e1c5c2f13116f31e9cb0ae0a64b56f5100fa5c5011ba194f59b0c58083935f7df45c7b89613297aee558c2a2cc4072d85
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,4 +1 @@
|
|
1
|
-
|
2
|
-
ǢW.Ju
|
3
|
-
|
4
|
-
S��tWQ�+^u�E�}Rh��+J��4�,"^W���u�*W:� ����-��]�/�9���N�D��d��ݒJA�Ԑ~�r>�<��iDR_���l.�"ix��Ć�I���IDi1�3I�����u%��-/�a�GI�47�APه1 ��]�Y�#2<:���/|Ϻ'��/�4��:\�+É�2�I=�
|
1
|
+
/+��c;_ةU9�>(��g+��[����.]�e���lLj�Za(�/n)C�D��C�8�lf�L �l�O�G�xW�W{c��oN2�AG.k��rOJ(�̺g�lJ�/Xz`yFЃ:�^��{�K�����Lx��P6�n��Unk���� �8{�\fS�KO��?�d������4M��1�Xt�g������GhuB��,�y:}#Y.M��`�vd����9<��M���5��õ����]R�7��
|
data/lib/rexle-css.rb
CHANGED
@@ -9,9 +9,9 @@ class RexleCSS
|
|
9
9
|
def initialize(selector)
|
10
10
|
@to_xpath = selector.prepend('//')\
|
11
11
|
.gsub(/(\w+)#(\w+)/,'\1[@id="\2"]')\
|
12
|
-
.gsub(/#(\w+)/,'
|
12
|
+
.gsub(/#(\w+)/,'.[@id="\1"]')\
|
13
13
|
.gsub(/\.(\w+)/,'[@class="\1"]')\
|
14
14
|
.gsub(/ /,'//').gsub(/>/,'/')
|
15
15
|
end
|
16
16
|
|
17
|
-
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexle-css
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE1MTEwOTEwNDY1NloXDTE2MTEwODEwNDY1NlowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBAKoNUpiIO6u/3jjcOLzetr6zixyP1ntorY0t4ZgCegaHfzFOempfrbcR0y2J
|
19
|
+
dkMWTlf/gg3w8NiXw/ji+7W7Fl9fkNx+nlcuc8CvV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
|
35
35
|
dependencies: []
|
36
36
|
description:
|
37
37
|
email: james@r0bertson.co.uk
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project:
|
63
|
-
rubygems_version: 2.
|
63
|
+
rubygems_version: 2.4.8
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Transforms a CSS selector to an XPath
|
metadata.gz.sig
CHANGED
Binary file
|