giantbomb-api 1.6.0 → 1.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52610eeca9dabedc466c42a9a85310fc835e9c9b
4
- data.tar.gz: f87e15571a661370c283f3cddc68b7cf5c60e098
3
+ metadata.gz: 6047213929ad0d836bd1d6fab89afc2baf4d89e4
4
+ data.tar.gz: d3653d4f3d0bed059e29f196ac77710904faf06b
5
5
  SHA512:
6
- metadata.gz: 8af3c9651ff661448fbc62b46e8b07e8e32997247b56255fe6bec307c70d724899a7dd8f794a7a47a9db87a57dc8710e623c2cb5be7ee744f70591a20549167b
7
- data.tar.gz: 1bbd57d7154530ddf6fe064d1642caa5bb9c24947a901881fcf76d38a0c03ca89d89e41d9f504da1658bfe812d20e2cefe87cfecae2d221da2be70caadba083a
6
+ metadata.gz: 63a60e84289fcc91e3c76a2ee428d01d23343c5eb979dcedd119ee09d893a745252741e1830581342a3391b33e9aca209b45721f9f3dd667626a52ed03fbe697
7
+ data.tar.gz: 860075cfad2bf9a793383a6a9febba763ab94431747d90e3dd8b2c9402e5a728b2cbc2a4cf8e6d49b33ad6dcbc2b96e2014e3a117ed00b849aef183eed556c83
data/README.md CHANGED
@@ -56,7 +56,7 @@ The gem comprises of all GiantBomb public resources:
56
56
  * Video `GiantBomb::Video`
57
57
  * Video Type `GiantBomb::VideoType`
58
58
 
59
- All resources have inherit `#list` `#detail` and `#search`
59
+ All resources inherit `#list` `#detail` and `#search`
60
60
 
61
61
  ### Usage
62
62
 
@@ -116,7 +116,7 @@ prompt that will allow you to experiment.
116
116
  ### Examples
117
117
 
118
118
  For more examples see [mygames.io](https://github.com/pacMakaveli/mygames.io),
119
- [games.directory repo](https://github.com/studio51/games.directory) and [games.directory](games.directory) for a live application
119
+ [games.directory repo](https://github.com/studio51/games.directory) and [games.directory](http://games.directory) for a live application
120
120
 
121
121
  ## License
122
122
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "giantbomb"
5
4
 
6
5
  # You can add fixtures and/or initialization code here to make experimenting
7
6
  # with your gem easier. You can also use a different console, if you like.
@@ -10,5 +9,15 @@ require "giantbomb"
10
9
  # require "pry"
11
10
  # Pry.start
12
11
 
13
- require "irb"
12
+
13
+ require 'irb'
14
+ require 'irb/completion'
15
+ require "giantbomb-api"
16
+
17
+ def reload!
18
+ files = $LOADED_FEATURES.select { |feat| feat =~ /\/giantbomb\// }
19
+ files.each { |file| load file }
20
+ end
21
+
14
22
  IRB.start
23
+
data/bin/setup CHANGED
@@ -1,6 +1,7 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
+ set -vx
4
5
 
5
6
  bundle install
6
7
 
@@ -5,7 +5,8 @@ module GiantBomb
5
5
  base_uri 'http://www.giantbomb.com/api/'
6
6
 
7
7
  def self.config
8
- @@config
8
+ # @@config
9
+ GiantBomb::Api.key('4ba6898f41ea373081648fd48e42872a2cbb7381')
9
10
  end
10
11
 
11
12
  def self.key(api_key)
@@ -1,5 +1,5 @@
1
1
  module GiantBomb
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
 
4
4
  # Changelog
5
5
  #
@@ -8,6 +8,6 @@ module GiantBomb
8
8
  # v1.5.7 - Add User Review Resource
9
9
  # v1.5.19 - Add all the missing resources from GB' API +1 for each resource
10
10
  # v1.6.0 - GEM Rename and some cleanup here and there
11
- #
11
+ # v1.6.1 - Fix a path error in bin/console, it should work fine now
12
12
 
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giantbomb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Coker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-14 00:00:00.000000000 Z
12
+ date: 2016-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.4.8
99
+ rubygems_version: 2.5.1
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: A Ruby wrapper for the GiantBomb API.