hyperscore 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Hyperscore
7
7
  class Client
8
8
  include Hyperclient
9
9
 
10
- def initialize(url='http://cs-api.heroku.com/')
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.attributes.merge({
18
+ Hyperscore::Coercions::News.new( news.get.merge({
19
19
  :source => news.links.self.url,
20
20
  :site => news.links.alternate.url
21
21
  }) )
@@ -1,3 +1,3 @@
1
1
  module Hyperscore
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
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.13
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-16 00:00:00.000000000 Z
12
+ date: 2012-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus