gamesdb 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/gamesdb/models/game.rb +6 -6
- data/lib/gamesdb/models/platform.rb +5 -5
- data/lib/gamesdb/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/gamesdb/models/game.rb
CHANGED
@@ -13,10 +13,10 @@ class Gamesdb::Client::Game < Cistern::Model
|
|
13
13
|
attribute :publisher, aliases: "Publisher"
|
14
14
|
attribute :developer, aliases: "Developer"
|
15
15
|
attribute :rating, aliases: "Rating"
|
16
|
-
attribute :fanart,
|
17
|
-
attribute :boxart,
|
18
|
-
attribute :banner,
|
19
|
-
attribute :screenshot,
|
20
|
-
attribute :thumb,
|
21
|
-
attribute :clearlogo,
|
16
|
+
attribute :fanart, aliases: "Images", squash: "fanart", type: Array
|
17
|
+
attribute :boxart, aliases: "Images", squash: "boxart", type: Array
|
18
|
+
attribute :banner, aliases: "Images", squash: "banner", type: Array
|
19
|
+
attribute :screenshot, aliases: "Images", squash: "screenshot", type: Array
|
20
|
+
attribute :thumb, aliases: "Images", squash: "thumb", type: Array
|
21
|
+
attribute :clearlogo, aliases: "Images", squash: "clearlogo", type: Array
|
22
22
|
end
|
@@ -16,11 +16,11 @@ class Gamesdb::Client::Platform < Cistern::Model
|
|
16
16
|
attribute :media
|
17
17
|
attribute :maxcontrollers
|
18
18
|
attribute :rating, aliases: "Rating"
|
19
|
-
attribute :fanart,
|
20
|
-
attribute :boxart,
|
21
|
-
attribute :banner,
|
22
|
-
attribute :consoleart,
|
23
|
-
attribute :controllerart,
|
19
|
+
attribute :fanart, aliases: "Images", squash: "fanart", type: Array
|
20
|
+
attribute :boxart, aliases: "Images", squash: "boxart", type: Array
|
21
|
+
attribute :banner, aliases: "Images", squash: "banner", type: Array
|
22
|
+
attribute :consoleart, aliases: "Images", squash: "consoleart", type: Array
|
23
|
+
attribute :controllerart, aliases: "Images", squash: "controllerart", type: Array
|
24
24
|
|
25
25
|
def games
|
26
26
|
data = connection.get_platform_games(identity)["Game"]
|
data/lib/gamesdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamesdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cistern
|