hyperscore 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -2
- data/hyperscore.gemspec +1 -1
- data/lib/hyperscore.rb +1 -1
- data/lib/hyperscore/client.rb +3 -2
- data/lib/hyperscore/coercions.rb +1 -0
- data/lib/hyperscore/version.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
data/hyperscore.gemspec
CHANGED
data/lib/hyperscore.rb
CHANGED
data/lib/hyperscore/client.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'hyperclient'
|
2
2
|
|
3
|
-
|
3
|
+
require 'hyperscore/coercions'
|
4
4
|
|
5
5
|
module Hyperscore
|
6
6
|
|
@@ -17,7 +17,8 @@ module Hyperscore
|
|
17
17
|
def news
|
18
18
|
links.news.resources.news.map do |news|
|
19
19
|
Hyperscore::Coercions::News.new( news.attributes.merge({
|
20
|
-
:source => news.url
|
20
|
+
:source => news.url,
|
21
|
+
:site => news.links['alternate'].url
|
21
22
|
}) )
|
22
23
|
end
|
23
24
|
end
|
data/lib/hyperscore/coercions.rb
CHANGED
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.8
|
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-07-
|
12
|
+
date: 2012-07-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtus
|