metacritic 0.1.0 → 0.1.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 +4 -4
- data/README.md +1 -1
- data/lib/metacritic/Game.rb +1 -1
- data/lib/metacritic/version.rb +1 -1
- data/metacritic.gemspec +2 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c61f0cfd16e908294c378a90ab58c29d2b93f64
|
|
4
|
+
data.tar.gz: 53ba894da745333c883edc58d4953aedfd9d34bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acc2e373d8597754be904146b3de513a04d7f6596c87c07e349d541ca8a6eecd1f23a19466d53e2165dfe5666ff5766922640328b25bc6c164223c98c605cffe
|
|
7
|
+
data.tar.gz: 8f55f4ef2873754c1b3ac7bacf2b2238c53bcdd9208eacbfb234c67e27dba81b26575003bb52ddf0d004829a00b264febe207b492e479bc0f06026011d684262
|
data/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Or install it yourself as:
|
|
|
27
27
|
|
|
28
28
|
Using this gem requires an API key. These can be obtained from [Mashape](https://www.mashape.com/byroredux/metacritic). Currently, the free key allows for 1,000 requests per day.
|
|
29
29
|
|
|
30
|
-
As this gem requires use of a private API key, it is strongly suggested you use Figaro to manage your keys. `metacritic` is configured to access
|
|
30
|
+
As this gem requires use of a private API key, it is strongly suggested you use Figaro to manage your keys. `metacritic` is configured to access `metacritic_api_key` which needs to be set in your environmental variables. A good option is to use `figaro` (see [Figaro](https://github.com/laserlemon/figaro) for instructions) in your application, and place the following in your `application.yml` file:
|
|
31
31
|
|
|
32
32
|
```ruby
|
|
33
33
|
metacritic_api_key: <your key here>
|
data/lib/metacritic/Game.rb
CHANGED
data/lib/metacritic/version.rb
CHANGED
data/metacritic.gemspec
CHANGED
|
@@ -8,11 +8,10 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Metacritic::VERSION
|
|
9
9
|
spec.authors = ["Jeremy Sklarsky"]
|
|
10
10
|
spec.email = ["jeremy.sklarsky@gmail.com"]
|
|
11
|
-
spec.summary = %q{Wrapper for Mashape's Metacritic
|
|
12
|
-
spec.description = %q{Wrapper for Mashape's Metacritic
|
|
11
|
+
spec.summary = %q{Wrapper for Mashape's Metacritic API.}
|
|
12
|
+
spec.description = %q{Wrapper for Mashape's Metacritic API.}
|
|
13
13
|
spec.homepage = "https://github.com/jeremysklarsky/metacritic.git"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
-
|
|
16
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
17
16
|
spec.bindir = "exe"
|
|
18
17
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metacritic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Sklarsky
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
-
description: Wrapper for Mashape's Metacritic
|
|
69
|
+
description: Wrapper for Mashape's Metacritic API.
|
|
70
70
|
email:
|
|
71
71
|
- jeremy.sklarsky@gmail.com
|
|
72
72
|
executables: []
|
|
@@ -113,5 +113,5 @@ rubyforge_project:
|
|
|
113
113
|
rubygems_version: 2.4.6
|
|
114
114
|
signing_key:
|
|
115
115
|
specification_version: 4
|
|
116
|
-
summary: Wrapper for Mashape's Metacritic
|
|
116
|
+
summary: Wrapper for Mashape's Metacritic API.
|
|
117
117
|
test_files: []
|