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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c39116a4a89f3f96b6c258879cd1861f87e1558
4
- data.tar.gz: 8e90e7fa11a392881d30a762f931e9de02f8355d
3
+ metadata.gz: a457055546d4c98dc70ed576f66d2a6211132eea
4
+ data.tar.gz: f25142573f55a3fe0115dbf2946e7aab9cffca92
5
5
  SHA512:
6
- metadata.gz: 096f4d78a5e533d9ab8ad892e1f9020776d0ccd9584d89717f6bdcfcd8ce14b798874c1b63b41935592f1faabd932eb27c9cfd887cdc293b69044f89674c74bb
7
- data.tar.gz: a737c247050745dfa46762017050acfb771827d617db10cb979ae64c89bb4b246932baae61e837a448b8f18b25d050d817f2c9d039281dd86f105843ba932e26
6
+ metadata.gz: fb87c43f8c7a5cb66edfe8b080cb308e2b86f8be75ff6998b2664354a043b29c166d80bb8e1c15ffc07def69e31926bea02dccc7e2c9f23d92c93464c83c923e
7
+ data.tar.gz: e274469757a3c33afa2153780179f24e1c5c2f13116f31e9cb0ae0a64b56f5100fa5c5011ba194f59b0c58083935f7df45c7b89613297aee558c2a2cc4072d85
Binary file
data.tar.gz.sig CHANGED
@@ -1,4 +1 @@
1
- ���5(���hEL
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��
@@ -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+)/,'div[@id="\1"]')\
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.3
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
- 8ixkARkWAmV1MB4XDTE0MTAxMjExMjI0OFoXDTE1MTAxMjExMjI0OFowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE1MTEwOTEwNDY1NloXDTE2MTEwODEwNDY1NlowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMU9XLo967vrmMP9Ywggy1mUvVVHxeSNNNgOIwNoRuaKbfjDTeA+GfFojXX9
19
- 9XCZXR6hwLc61H/i3a0DVMM5U+qVSISviBhksNRftaw71i26gvw4lUHF1l4hpEyv
20
- 9gu21+4qGOlj86OibED8Z0EUKPUlcB6SjuptWj10yHL7AMXaITIPkgAUnDX3x1Vg
21
-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gckKdMoWki76LqAlDL4XdTSyiSbi+T4HYp3rPfu+QI
30
- Jyvcf+ASq28JYbAvbPmosznrbq18EOx1AqAT2agd8Qk/1F3yElzVAdzNBNvwZb1J
31
- X/9OJBPQe0u8X7m0Ksi94gJLsvk6TFyV1rjbZL0kctRSMFkjPKSZsy6g3hCKIRhv
32
- ARHSaq2N+uOJNQ==
26
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAbrfogS3K
27
+ 7M1O/yGHlOQUT0xFCGQR4vnjh47PnRmXYWNgpQOpYO/KFUYpp/zcQ/y2xFiDMgt3
28
+ ue4+etNmlOUCLe9U/ANi9r3dMx76j4w0vJo7zPlIrnITHQjOk4BZHUx7GygtvAaC
29
+ 5HmdHm0WshQp/8r5O4DONnLeHpzw0Kgcd/wgbXQO0eQ0sZA3xiAfLqdOh9gGpFGt
30
+ 7gDQ7pY5D4sqFko4wbN9+PD44yT9CZ4EKxklTFOcNbPqpelfOQJYu5Tcz1YqlaUn
31
+ yN4MXUX2zdaZkboeXfzIBjOAdrZpqVMCQIV0CYDEjpPesFeE9oP3PrX1EEwcr+et
32
+ +cjku6sb+bV0/w==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-10-19 00:00:00.000000000 Z
34
+ date: 2015-11-09 00:00:00.000000000 Z
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.2.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