scrap_kit 0.1.15 → 0.1.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: 96b093d466ebf16f066524ee5ffe6d462fa8b6f5fb0cf4839e58ccb4ea0a64e7
4
- data.tar.gz: b720216ab63263c2d28842285d2fd1a7aab6e0634e51098e9de9a2e8d471e1bb
3
+ metadata.gz: a3db092bd833a6c977d64468c38c6361922498683606f3ca543a3c7fdb5a91a1
4
+ data.tar.gz: 865ca828a23e0c2ce43f9070ce85e199979774964d10018881befd504925608f
5
5
  SHA512:
6
- metadata.gz: 354f88e8f875eca5a45ef557501005752e5ca8e1abbb4bd6933f7640ddf9f64a31f33d766eaa9e4b154da59cf6a53cb5a065795e597b3b213ea6c7610260da6d
7
- data.tar.gz: cefdf23aa7b1c104992c125e40deb9637269f1c8f29e56c2e9bfbee98e9f59000a8a4c3f7c6a5c710a6e2dc3cc0a8208de5ab863bfaf59533a4095cf9721a4a3
6
+ metadata.gz: 0e25dc4878540dd64d4d436a07d70f250ef4c6451f2586758324ad819d256af190c7e8f72a3b113722911649485cdf2a9793186e607fa3ff159ee992b424d6f5
7
+ data.tar.gz: 2de4cd58ddc9f46f1a9d198d95163900bf1394e87ed9733a444693a1775f0d59a72793212fd70d2a3656005d5739f730109e33375733e28146f2ee3bedeecaa2
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.16] 2020-11-20
4
+
5
+ ### Changed/Added
6
+ - Return `src` value for `img` elements
7
+
3
8
  ## [0.1.15] 2020-10-25
4
9
 
5
10
  ### Changed/Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scrap_kit (0.1.15)
4
+ scrap_kit (0.1.16)
5
5
  activesupport (~> 6.0)
6
6
  watir (~> 6.16.5)
7
7
  webdrivers (~> 4.0)
@@ -44,7 +44,7 @@ GEM
44
44
  childprocess (>= 0.5, < 4.0)
45
45
  rubyzip (>= 1.2.2)
46
46
  thread_safe (0.3.6)
47
- tzinfo (1.2.7)
47
+ tzinfo (1.2.8)
48
48
  thread_safe (~> 0.1)
49
49
  watir (6.16.5)
50
50
  regexp_parser (~> 1.2)
@@ -53,7 +53,7 @@ GEM
53
53
  nokogiri (~> 1.6)
54
54
  rubyzip (>= 1.3.0)
55
55
  selenium-webdriver (>= 3.0, < 4.0)
56
- zeitwerk (2.4.0)
56
+ zeitwerk (2.4.1)
57
57
 
58
58
  PLATFORMS
59
59
  ruby
@@ -96,6 +96,8 @@ module ScrapKit
96
96
  if element&.respond_to?(:tag_name)
97
97
  if element.tag_name.downcase == "input"
98
98
  return element.attribute_value(:value)
99
+ elsif element.tag_name.downcase == "img"
100
+ return element.attribute_value(:src)
99
101
  end
100
102
  end
101
103
 
@@ -1,3 +1,3 @@
1
1
  module ScrapKit
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrap_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Leon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-25 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler