relaton-itu 1.7.8 → 1.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_itu/scrapper.rb +1 -1
- data/lib/relaton_itu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b1e5e668d61b87b432757af973484271e9c36d509e1a18b2e28b9989af178c7
|
4
|
+
data.tar.gz: 0f58ebbe769409d733e036e9e49f248590fc40a0bdacebdea27b7443c37a161a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12e668eb24ebb6691677652d87ecf3d3aae8d3f82cf2d99693896bc55bc77395c51bca0049d5c3c8d12e1cd58321d98e16ae3b42f8a2d38a945955255ccbb25
|
7
|
+
data.tar.gz: 8a1335624162c8e0c9cf4db764a3d1dec58e735f15d4fde2410d742f7e622d4e4185e31bbb87c838d2eab0d16e984167797b29ebc29a3b405914aeb04c158015
|
data/lib/relaton_itu/scrapper.rb
CHANGED
@@ -70,7 +70,7 @@ module RelatonItu
|
|
70
70
|
# @param hit [RelatonItu::Hit]
|
71
71
|
# @return [Array<Hash>]
|
72
72
|
def fetch_abstract(doc, hit) # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
73
|
-
abstract_url = doc.at '//table/tr/td/span[contains(@id, "lbl_dms")]/div'
|
73
|
+
abstract_url = doc.at '//table/tr[td/span[.="In force"]]/td/span[contains(@id, "lbl_dms")]/div'
|
74
74
|
content = if abstract_url
|
75
75
|
url = abstract_url[:onclick].match(/https?[^']+/).to_s
|
76
76
|
rsp = hit.hit_collection.agent.get url
|
data/lib/relaton_itu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|