spidy 0.0.15 → 0.0.16

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: 2eaad2ff250ea341b74be07aecb979d3225129ba9637e6d394a8a8c556cef88b
4
- data.tar.gz: c2f2416ae77e6a6cb7d131b4f40769d7676d55526963ced66c0bc9465f3de400
3
+ metadata.gz: c806ca24ca8e986c0f5c3dc07985230486e9675e0a1cc65a91898adfc878f5c1
4
+ data.tar.gz: f91a19761a1606d1fbdb728ba304bba4e890aa8a18d811934a50ff38f8660b04
5
5
  SHA512:
6
- metadata.gz: b47b822396084c7c7e928c45ea454fc2b74447c6679bc86ef6178e64fd6b25d48cfec470a486a34a48ee0ee42d598dd5d6c54ced198b15a273fc9299d3d239b2
7
- data.tar.gz: ac17a3ff26b84ffa9652d121e2ccdcd65a35a891e0e9cd214d6f99034688fe6701a4fb808878c858e870c96a87801831add3e79edae058dc732716b8595d2892
6
+ metadata.gz: b7329e9361989d22585a1f728c78527b31080c70b9cec528b61098026efdfbab08ed4137608c33aeee722c8a8c732ed617efb4581ab38fccef25b580877c42af
7
+ data.tar.gz: 344f7cf7ca4adbbc249241d0b6d12688e000b11a984a6fb54c03cf54a3e462d78dec23c54d68dd6a72c02d8c315a640c4934a6fa381b8a9bed0868611501b449
@@ -9,10 +9,11 @@ module Spidy::Binder::Html
9
9
  #
10
10
  class Resource
11
11
  class_attribute :names, default: []
12
- attr_reader :html
12
+ attr_reader :html, :source
13
13
 
14
14
  def initialize(html)
15
15
  @html = html
16
+ @source = html.body
16
17
  end
17
18
 
18
19
  def to_s
@@ -13,6 +13,7 @@ module Spidy::Binder::Json
13
13
 
14
14
  def initialize(json)
15
15
  @json = json
16
+ @source = json
16
17
  end
17
18
 
18
19
  def to_s
@@ -9,7 +9,7 @@ module Spidy::Binder::Xml
9
9
  #
10
10
  class Resource
11
11
  class_attribute :names, default: []
12
- attr_reader :xml
12
+ attr_reader :xml, :source
13
13
 
14
14
  def initialize(xml)
15
15
  @xml = xml
data/lib/spidy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spidy
4
- VERSION = '0.0.15'
4
+ VERSION = '0.0.16'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spidy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - aileron