kinopoisk_parser 2.2.1 → 2.2.2

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
  SHA1:
3
- metadata.gz: 5362c575a908d7e48722055681bd58d2dbd4d53d
4
- data.tar.gz: 87254d6cb52e163036fff7619cdecb0f280c766e
3
+ metadata.gz: a512062e75b11a59968e53d182e4348e2065243e
4
+ data.tar.gz: 9a6e745858ac1ebaa2898bd5eee752ccfd2f106f
5
5
  SHA512:
6
- metadata.gz: db484e4c196c268c9ec45b03ec0b301cf323f018305a971f5b51709f60ff65ac064451e30163a7829ff3f83817cc0a3ad1dd8a1fec6c6b03637717f08d6aafb6
7
- data.tar.gz: c697317dabc6acaa7b365697c374f0e9017e0b5e68e7a9e102617ea86dd03468e3f9126715b8cfaa0fdc48d02f2a8320000d89c40459ceeae3a8648edb7d630e
6
+ metadata.gz: 6f85074b1cb0cd4273f06b1ce66748bf4c5c13d9ddacbfafbee37b1d250e7c085371192ccffe6e0ca65616b28b41e6a52c2cf8b4d817a3d83f449bdc369c1831
7
+ data.tar.gz: 526a04d09ee9e39a1828ea6dcde5cad3afbb4bbdcf5ab5c8e6b635d75f9bb8c5e0505d17a9b858eec93588a21b28e6cfc446b2a05a2c46869e4a423438057729
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'kinopoisk_parser'
3
- gem.version = '2.2.1'
3
+ gem.version = '2.2.2'
4
4
  gem.authors = ['RavWar']
5
5
  gem.email = ['rav_war@mail.ru']
6
6
  gem.homepage = 'https://github.com/RavWar/kinopoisk_parser'
@@ -185,7 +185,8 @@ module Kinopoisk
185
185
  if location =~ /error\.kinopoisk\.ru|showcaptcha/
186
186
  raise Denied, 'Request denied'
187
187
  else
188
- id_match[1] if id_match = location.match(/\/(\d*)\/$/)
188
+ id_match = location.match(/\/(\d*)\/$/)
189
+ id_match[1] if id_match
189
190
  end
190
191
  end
191
192
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinopoisk_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - RavWar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-21 00:00:00.000000000 Z
11
+ date: 2016-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri