hyperscore 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hyperscore/client.rb +2 -2
- data/lib/hyperscore/version.rb +1 -1
- metadata +2 -2
data/lib/hyperscore/client.rb
CHANGED
@@ -7,7 +7,7 @@ module Hyperscore
|
|
7
7
|
class Client
|
8
8
|
include Hyperclient
|
9
9
|
|
10
|
-
def initialize(url='http://cs-api.
|
10
|
+
def initialize(url='http://cs-api.herokuapp.com/')
|
11
11
|
@client = Hyperclient::EntryPoint.new url, {
|
12
12
|
headers: { 'Accept-Encoding' => 'gzip,deflate' }
|
13
13
|
}
|
@@ -15,7 +15,7 @@ module Hyperscore
|
|
15
15
|
|
16
16
|
def news
|
17
17
|
@client.links.news.embedded.news.map do |news|
|
18
|
-
Hyperscore::Coercions::News.new( news.
|
18
|
+
Hyperscore::Coercions::News.new( news.get.merge({
|
19
19
|
:source => news.links.self.url,
|
20
20
|
:site => news.links.alternate.url
|
21
21
|
}) )
|
data/lib/hyperscore/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperscore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
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: 2012-10-
|
12
|
+
date: 2012-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtus
|