omdb-api 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/Rakefile +3 -1
- data/lib/omdb/api/movie.rb +22 -20
- data/lib/omdb/api/request.rb +1 -1
- data/lib/omdb/api/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 986577fc6de5504c8d399627ac341a9c66ceb680234b00d5e4e72e4fc3587a11
|
4
|
+
data.tar.gz: 5323f0b6fc941d5810fbd6807bbb201840096ffef485c5b689fcc483957b03d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9373e1975bc67c2f995a6c36a3031a405849fa58e912d6fea804c00229204df6f3afca64b680c195c25ac034318ad532b7c90cc9d3bfa030b185eb068f17c61
|
7
|
+
data.tar.gz: c1fc4750b6f6b9b431d531a8087fd3ff740fdbd88719d5e8dcdc36b8ba301e9e68d7582479208221f33af377765c785aea3ad6a0edf0c9d01b33bf61878d7c00
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'bundler/gem_tasks'
|
2
4
|
require 'rspec/core/rake_task'
|
3
5
|
require 'rubocop/rake_task'
|
@@ -5,4 +7,4 @@ require 'rubocop/rake_task'
|
|
5
7
|
RSpec::Core::RakeTask.new(:spec)
|
6
8
|
RuboCop::RakeTask.new
|
7
9
|
|
8
|
-
task default: %i[spec rubocop]
|
10
|
+
task default: %i[spec rubocop:auto_correct]
|
data/lib/omdb/api/movie.rb
CHANGED
@@ -3,26 +3,28 @@
|
|
3
3
|
module Omdb
|
4
4
|
module Api
|
5
5
|
class Movie
|
6
|
-
attr_reader :actors
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
6
|
+
attr_reader :actors,
|
7
|
+
:awards,
|
8
|
+
:box_office,
|
9
|
+
:country,
|
10
|
+
:director,
|
11
|
+
:dvd,
|
12
|
+
:error,
|
13
|
+
:genre,
|
14
|
+
:imdb_id,
|
15
|
+
:imdb_rating,
|
16
|
+
:imdb_votes,
|
17
|
+
:language,
|
18
|
+
:metascore,
|
19
|
+
:plot,
|
20
|
+
:poster,
|
21
|
+
:rated,
|
22
|
+
:released,
|
23
|
+
:runtime,
|
24
|
+
:title,
|
25
|
+
:type,
|
26
|
+
:writer,
|
27
|
+
:year
|
26
28
|
|
27
29
|
def initialize(params)
|
28
30
|
params.each_pair do |k, v|
|
data/lib/omdb/api/request.rb
CHANGED
data/lib/omdb/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omdb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Palaniuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -95,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
|
99
|
-
rubygems_version: 2.6.13
|
98
|
+
rubygems_version: 3.0.3
|
100
99
|
signing_key:
|
101
100
|
specification_version: 4
|
102
101
|
summary: Ruby interface for the OMDB API
|