gamesdb 1.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gamesdb (0.0.1)
4
+ gamesdb (1.0.1)
5
5
  awesome_print
6
6
  cistern
7
7
  excon
@@ -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, squash: "Images", type: Array
17
- attribute :boxart, squash: "Images", type: Array
18
- attribute :banner, squash: "Images", type: Array
19
- attribute :screenshot, squash: "Images", type: Array
20
- attribute :thumb, squash: "Images", type: Array
21
- attribute :clearlogo, squash: "Images", type: Array
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, squash: "Images", type: Array
20
- attribute :boxart, squash: "Images", type: Array
21
- attribute :banner, squash: "Images", type: Array
22
- attribute :consoleart, squash: "Images", type: Array
23
- attribute :controllerart, squash: "Images", type: Array
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"]
@@ -1,3 +1,3 @@
1
1
  module Gamesdb
2
- Version = "1.0"
2
+ Version = "1.0.1"
3
3
  end
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: '1.0'
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-14 00:00:00.000000000 Z
12
+ date: 2013-02-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cistern