kinopoisk_parser 2.2.3 → 2.2.4

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: 7efdb357ef8aa519896bf12cbfc14a1d6fcfd4d8
4
- data.tar.gz: 98f354d07b2872ff351200e0d84610c2344e0f59
3
+ metadata.gz: 2cdbc34351455e8a82ab2ae6634c5e098c4e747b
4
+ data.tar.gz: b3da95e8d14629ec28110bc3e9305f91e636a9b2
5
5
  SHA512:
6
- metadata.gz: caf299d7f7acd611513debfeff6cd01c00014ee2daf5598f43c88f55c9010cf7476570eeceefbac4f6ac7e18b71c0c4587fab26bdd814c9aa44e8e6d3aa771f9
7
- data.tar.gz: da0584635f218d625d386522532b0317eaf6b4fcf3bf8a303eb1c9a09c7711d608da4b2a2bfebf8c46c2e12cbc7fbc5c363b589c3de1d421261a2a8e872ca915
6
+ metadata.gz: e623e424f28a628bc0ee5d3ef75a2814fb02ad8d91973eceda5031e6f4872210c59b5353e1406afe477dd8f1d3dba630b8bb616433ae4c743befe2ad30325da2
7
+ data.tar.gz: 20d48353e76e52274eb7bd53df02c280e91abd29d1f8fc8c09e708fdbeafaea6c14aa896e6679f77bfd28d74764fcf1b2ad3fde7e2a9bf5a3dcf907b06a01e98
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'kinopoisk_parser'
3
- gem.version = '2.2.3'
3
+ gem.version = '2.2.4'
4
4
  gem.authors = ['RavWar']
5
5
  gem.email = ['rav_war@mail.ru']
6
6
  gem.homepage = 'https://github.com/RavWar/kinopoisk_parser'
@@ -29,7 +29,7 @@ module Kinopoisk
29
29
  end
30
30
 
31
31
  def parse_id(node, type)
32
- node.attr('href').match(/\/#{type}\/(\d*)\//)[1].to_i
32
+ node.attr('href').match(/\/#{type}\/(.+-)?(\d*)\//)[1].to_i
33
33
  end
34
34
 
35
35
  def new_movie(node)
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.3
4
+ version: 2.2.4
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-23 00:00:00.000000000 Z
11
+ date: 2017-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.6.7
140
+ rubygems_version: 2.6.11
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Easily search and access information on kinopoisk.ru