vk_music 3.1.4 → 3.1.5

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: 745b91709f47cb2b6b5bcaa013824a51f836977ecbe4cd1259a74d4a6f56e8c8
4
- data.tar.gz: 9a7a2e9998adcd73a0c87d2934c6e763e8c76fdedcf08f757543497395e64322
3
+ metadata.gz: aec492ae7fcb04bbc070c56a30110424661fdfda1766a70687bc14f476cd7d65
4
+ data.tar.gz: dba67eac6a1fe2563995e27d82f01f63f747fa15d06dd39704f6b3e1dffa54b2
5
5
  SHA512:
6
- metadata.gz: 1bd33552a23e56c0372500fc1edc20736afed079f650d4405650a91a48d01300269aeb37f51935c2c9916c4ee52449b7abb29949e7b32eb572e4641ac0e05e13
7
- data.tar.gz: a252e563da14bcf249e72ab997414dbdb14388fa2308f24afc99f0507d6c003bfd5f80e0335db8df30b8d1eb7300036c2380ad99fd47cf402083238891c4ba17
6
+ metadata.gz: be3afe5a234742fac06fe01a57439ba2f5ca8f8d4ff1a81ea8d74c611f03876adfa41e967dec9598fa62d84bb73f9426d81e7e054f96d7d64c24efe4bfff8427
7
+ data.tar.gz: '09502160a7456174ba2f74841ed749ae34ecf5003e545b3381d43494f372fb064c9363d2e3df9167f6de9ba6ecb7a58a4abafde8ba99888d736e28cdbacd483c'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vk_music (3.1.3)
4
+ vk_music (3.1.5)
5
5
  execjs (~> 2.7)
6
6
  json (~> 2.0)
7
7
  logger (~> 1.4)
@@ -11,14 +11,14 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- coderay (1.1.2)
14
+ coderay (1.1.3)
15
15
  domain_name (0.5.20190701)
16
16
  unf (>= 0.0.5, < 1.0.0)
17
17
  execjs (2.7.0)
18
18
  http-cookie (1.0.3)
19
19
  domain_name (~> 0.5)
20
- json (2.3.0)
21
- logger (1.4.1)
20
+ json (2.3.1)
21
+ logger (1.4.2)
22
22
  mechanize (2.7.6)
23
23
  domain_name (~> 0.5, >= 0.5.1)
24
24
  http-cookie (~> 1.0)
@@ -29,16 +29,16 @@ GEM
29
29
  ntlm-http (~> 0.1, >= 0.1.1)
30
30
  webrobots (>= 0.0.9, < 0.2)
31
31
  method_source (0.9.2)
32
- mime-types (3.3)
32
+ mime-types (3.3.1)
33
33
  mime-types-data (~> 3.2015)
34
- mime-types-data (3.2019.1009)
34
+ mime-types-data (3.2020.0512)
35
35
  mini_portile2 (2.4.0)
36
- minitest (5.13.0)
36
+ minitest (5.14.1)
37
37
  net-http-digest_auth (1.4.1)
38
38
  net-http-persistent (2.9.4)
39
- nokogiri (1.10.8)
39
+ nokogiri (1.10.10)
40
40
  mini_portile2 (~> 2.4.0)
41
- nokogiri (1.10.8-x64-mingw32)
41
+ nokogiri (1.10.10-x64-mingw32)
42
42
  mini_portile2 (~> 2.4.0)
43
43
  ntlm-http (0.1.1)
44
44
  pry (0.12.2)
@@ -47,9 +47,10 @@ GEM
47
47
  rake (13.0.1)
48
48
  unf (0.1.4)
49
49
  unf_ext
50
- unf_ext (0.0.7.6)
50
+ unf_ext (0.0.7.7)
51
+ unf_ext (0.0.7.7-x64-mingw32)
51
52
  webrobots (0.1.2)
52
- yard (0.9.20)
53
+ yard (0.9.25)
53
54
 
54
55
  PLATFORMS
55
56
  ruby
@@ -66,4 +67,4 @@ DEPENDENCIES
66
67
  yard (~> 0.9)
67
68
 
68
69
  BUNDLED WITH
69
- 2.0.2
70
+ 2.1.4
@@ -545,7 +545,9 @@ module VkMusic
545
545
 
546
546
  footer_node = first_page.at_css(".audioPlaylist__footer")
547
547
  if footer_node
548
- footer_match = footer_node.text.strip.match(/^\d+/)
548
+ footer_text = footer_node.text.strip
549
+ footer_text.gsub!(/\s/, "") # Removing all whitespace to get rid of delimiters ('1 042 audios')
550
+ footer_match = footer_text.match(/^\d+/)
549
551
  real_size = footer_match ? footer_match[0].to_i : 0
550
552
  else
551
553
  real_size = 0
@@ -1,5 +1,5 @@
1
1
  module VkMusic
2
2
  ##
3
3
  # Library version.
4
- VERSION = "3.1.4"
4
+ VERSION = "3.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vk_music
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fizvlad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-04 00:00:00.000000000 Z
11
+ date: 2020-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler