domle 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: 7e7f954f7ab18983658d0668e98c8e4cc2b54af176187ec0e7374a4d89ded4ed
4
- data.tar.gz: 30769b075de67b0726b1783d0cef6a7df9704c5b82474929c504b5c8924040b7
3
+ metadata.gz: 3902b443ea12ca308ca0a9e1a89a5e133126b24a83f0aaa439f8be971f911c0a
4
+ data.tar.gz: b50fcf3bbf2c7e10e57fee8be154e1ac10d9ce3dd017feb4e18338f27a0bcf26
5
5
  SHA512:
6
- metadata.gz: f56497592a9574c344673bb7a6c6268b9ff4fda702b3f6a2b7ec09ab4680088dc6738a31d2b964dc0e6267bb61d7c73e5bd6aa64e55e6b8b78b7738901f9bd69
7
- data.tar.gz: f0ff31736f0adcb0feb0596364b45dbf6cbbab36e255567dfdc6cebb928b34a25110a3c62e9cd7bfd34c5f7d98efb47ce072902a3bdb26df227b2e3fa8c7b7f7
6
+ metadata.gz: 686ac050cc4f33d43165b23348f5614ef67d5f984342a794aed2376c007c43b9d4d5e0952a2addc8a7796b4e411bbfe4f48507a317285ecd614cde2f63f8aedf
7
+ data.tar.gz: 44db2a06813d075a2142dec1acdee9f009bbb08b421ac71db89c48bfaf386c4b7cdbcb31caaa54b67ec4f6ce178bc48ec84a3f07c5315af48a58642d90328615
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/domle.rb CHANGED
@@ -120,6 +120,11 @@ class Domle < Rexle
120
120
 
121
121
  end
122
122
 
123
+ def element_by_id(id)
124
+ @doc.root.element("//*[@id='#{id}']")
125
+ end
126
+
127
+
123
128
  def refresh()
124
129
  @callback.refresh if @callback
125
130
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  5W+/h8msUafjVr6ihNHTXefecVsjVhacb6l0hBYUNzXDpkhCjnNUaSxcS0e4FavI
36
36
  JHHC9WlNneDJrmTdGxNUWsw6
37
37
  -----END CERTIFICATE-----
38
- date: 2019-02-09 00:00:00.000000000 Z
38
+ date: 2019-02-24 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rexle
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.0.2
126
+ rubygems_version: 3.0.1
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Domle (DOM + Rexle) is the document object model used by the Svgle gem
metadata.gz.sig CHANGED
Binary file