mention-api 0.0.2 → 0.0.3

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: 6226673f31f397a98b6241289d9a770672f6fc83
4
- data.tar.gz: 71149341a56e2c3e02ebb68b7c8b6e1fc8b4c925
3
+ metadata.gz: 03f4c1372ce47e1994002906290ef74120852853
4
+ data.tar.gz: f7dce45c4b28b4e5d020c2465237992e31a86de3
5
5
  SHA512:
6
- metadata.gz: 38d8ad612317a38ff6e2c680c5bc7295b98dfa3b9b30ab9b63165dfeecec9797a69eed4ff423f6240cba00c45843d8c65affcbdad6e21baecf2d2890c7d1f5a6
7
- data.tar.gz: 79f194f03ab66bd58ac63f497504ea7fc8aee1162bce12a8e1ad65bb3646820ee82675730c8ec931fdf7f0f9a23b82d11378331018d0160aef3914688f395324
6
+ metadata.gz: 523de97071c722e7e019eab55a81a1d53da380fb70054fb2d31d1971e0d72206c905e2064271f02aa0959cb4baf9e2f474abf4d9aace50e4594dfffc6d6aab59
7
+ data.tar.gz: 92373f7c914c9ec5d131bf1b778e521c6322ac6187aac13b58f26e803558665d7c5658487557d48ec85c5fe8a8360b835b88508fc4bac39d5be04af6234ccb4b
@@ -1,5 +1,5 @@
1
1
  module Mention
2
2
  module Api
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -8,6 +8,10 @@ module Mention
8
8
  attribute :description, String
9
9
  attribute :url, String
10
10
  attribute :published_at, Time
11
+ attribute :source_type, String
12
+ attribute :source_name, String
13
+ attribute :source_url, String
14
+ attribute :language_code, String
11
15
  end
12
16
  end
13
17
  end
@@ -10,6 +10,10 @@ describe Mention::Mention do
10
10
  mention.title.should start_with('SPRUG')
11
11
  mention.description.should start_with('Got even more excited about')
12
12
  mention.url.should == "https://plus.google.com/communities/117927540789820622012"
13
- mention.published_at.to_i.should == Time.parse('2013-10-18 15:57:08').to_i
13
+ mention.published_at.to_i.should == Time.parse('2013-10-18 21:57:08Z').to_i
14
+ mention.source_type.should == "web"
15
+ mention.source_name.should == "google.com"
16
+ mention.source_url.should == "https://plus.google.com"
17
+ mention.language_code == "en"
14
18
  end
15
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mention-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-24 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler