kinopoisk_parser 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDM1MGUwYTYyZmE4OGZlOGFhOTIyZDYwYjY0N2ZjYjI0MTE0OWUyYQ==
4
+ MzMzNmY4MzNiMWY5ODNmNDYyODUyMzJmZGYwODc3NDU0ZmNhZTI0Mg==
5
5
  data.tar.gz: !binary |-
6
- MmMyMzIxNzYyNzM2YzU5YzVmZmQyMTY3N2E0ZWZjNWMxODE3ZTc4NQ==
6
+ ZWVmN2YxZTU4NjQ5MmZjNGE1YmI3MDk2Y2FhZWY4MTcyMGI4ZTRmZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDg0YjI2YjJhYjFhZmE5MDIwNDg4N2JkMjZlNDA0NDY0NGU2ZGRmZGMxMTQy
10
- ZWZlMmRkOTczYjNkYzA2MzUxZTU2NTU4ZDQ4ZDhmZjBjZTM5M2MzMDUzYzRh
11
- ZGFiYTM3NDIzNjEzZmVlNmMyMjYxYzA4MDBmMTBkZjI1MjBjYWI=
9
+ MDU0NTBmNmEyZTY0MjNhZmI2YWExNTk3YjEwNDQ1OTI3YjNiYzQ0ODNlMDA3
10
+ MTkyM2IyZTNkOTYwNDJlZDViNmIxMDY0NjdlODY1NzA1OTZkNjhmNmIyNWNj
11
+ ZjQwZGNmN2IyNmVjYjdkMjJlZGMyNTM3YjUxMDEyNDBiZmM5MzY=
12
12
  data.tar.gz: !binary |-
13
- M2E0MGQ3MDVmNmZlZmRkNjhjNDRlN2FkYTcwOTg5Njc2ZjljZWM2NjZlYWVj
14
- ZjJjZmNjNDhkN2M5NDgyN2UzNmE3OGI0MTUzNTM1MDkwZWI0YjUzNDRiZDhj
15
- ZmMxYjdlZDVmZTBjZWU3ODI4NjNiY2I1ODIyNzQxYjNhNDRhMTk=
13
+ YzE0MjA5MzEyYWM3MmQ0MDdiOTZmMjU2MGMxOWZlYTQ0OTEzNTY3ZWMxZjg4
14
+ ZTZiNDA1OGJmNmFjMjYwZTE0OTdmNzFkY2Q2ODMxNDgyN2E4MTRiN2ZlOTE3
15
+ ZDViNTZhMWUwYmE3YmYxOWE5ZTJmMTViMTQ1OTIyN2ZkOGQ5YTk=
data/README.md CHANGED
@@ -64,6 +64,10 @@ Access information
64
64
  p.career
65
65
  #=> ["Актер", "Продюсер"]
66
66
 
67
+ ## Documentation
68
+
69
+ http://rubydoc.info/gems/kinopoisk_parser/frames
70
+
67
71
  ## Contributing
68
72
 
69
73
  1. Fork it
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'kinopoisk_parser'
3
- gem.version = '1.0.4'
3
+ gem.version = '1.0.5'
4
4
  gem.authors = ['RavWar']
5
5
  gem.email = ['rav_war@mail.ru']
6
6
  gem.homepage = 'https://github.com/RavWar/kinopoisk_parser'
@@ -169,7 +169,7 @@ module Kinopoisk
169
169
  # Kinopoisk has defined first=yes param to redirect to first result
170
170
  # Return its id from location header
171
171
  def find_by_title(title)
172
- url = SEARCH_URL+"#{title}&first=yes"
172
+ url = SEARCH_URL+"#{URI.escape(title)}&first=yes"
173
173
  Kinopoisk.fetch(url).headers['Location'].to_s.match(/\/(\d*)\/$/)[1]
174
174
  end
175
175
 
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: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - RavWar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-01 00:00:00.000000000 Z
11
+ date: 2013-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri