deploy_horoscope 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deploy_horoscope/client.rb +1 -1
- data/lib/deploy_horoscope/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: 7329a113aaa990bc63b8e5c583cb85b3f656865fdadd3b77da33802ea7cf1136
|
4
|
+
data.tar.gz: 28940aff16c633639c104de0879f60e04bfad36a281f85c238f42bb54f0e0ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07dcc270d2496fb4cb89b502070a8bcb32cae79a2c146f7c32fa3377dcf175c15bad450c400c3b76fa567114ac7534ed2d9ef14ef5f7a195650e4358d4bb8675
|
7
|
+
data.tar.gz: 9f03358f7ec6170734eeb3c76cf0c093fa1c3e0847c51a3b32614314fa3ea9e230e30d265fba7d7c107d28a59a3e891d12a54f77802d93ba884f5c87a203f883
|
@@ -39,7 +39,7 @@ module DeployHoroscope
|
|
39
39
|
data = []
|
40
40
|
doc.css("tbody tr").each do |row|
|
41
41
|
cells = row.css("td")
|
42
|
-
sign_ru = cells[0].text.downcase.strip
|
42
|
+
sign_ru = cells[0].text.downcase.strip.split(' ').first
|
43
43
|
data << {
|
44
44
|
sign_ru: sign_ru,
|
45
45
|
sign: ::DeployHoroscope::SIGNS[sign_ru],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploy_horoscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kopylovvlad
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|