spotlite 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/spotlite/person.rb +3 -2
- data/lib/spotlite/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ca4bc6d6ba3308ab143409c55eb4eda9c2ab261
|
4
|
+
data.tar.gz: db8642b55306e663d9070086b2cada06c8b6080a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73251012c3b898aa44da63598d3155885db38c30cec3deff34ebc934fba0aa42e1c4b6787bc204dbb7e4deaf6d35c9e114ec79a1d9ca22a7d23e3fb455d9e444
|
7
|
+
data.tar.gz: 523434b48ec32720cd96e94ffa3b33fe0a960a984a381c9ee221754a7f903240f868d7cee5bb71135a59cd962a9c9cfc0f29e46886969cdf99067fb46f7f27f1
|
data/CHANGELOG.md
CHANGED
data/lib/spotlite/person.rb
CHANGED
@@ -2,7 +2,7 @@ module Spotlite
|
|
2
2
|
|
3
3
|
# Represents a person on IMDb.com
|
4
4
|
class Person
|
5
|
-
attr_accessor :imdb_id, :name, :url, :credits_category, :credits_text
|
5
|
+
attr_accessor :imdb_id, :name, :url, :credits_category, :credits_text, :response
|
6
6
|
|
7
7
|
# Initialize a new person object by its IMDb ID as a string
|
8
8
|
#
|
@@ -128,7 +128,8 @@ module Spotlite
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def open_page(page = nil, query = {}) # :nodoc:
|
131
|
-
Spotlite::Client.get("#{@url}#{page}", query: query)
|
131
|
+
response = Spotlite::Client.get("#{@url}#{page}", query: query)
|
132
|
+
@response = { code: response.code, message: response.message } and response
|
132
133
|
end
|
133
134
|
end
|
134
135
|
end
|
data/lib/spotlite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spotlite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Pakk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|