onebox 1.4.8 → 1.4.9
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acf0205db8c9ea7c0a4c0ded94674fae2c2a7647
|
|
4
|
+
data.tar.gz: fd639f567d646668041ae8c28a5af22d39512fe8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f4fcf781c785773901b5507e06d746d76e3adc1975074524c8cbb3f687e4d836b7352c4618e4e55a24a42f70550df964bc507ac0d98957f84ffa41f00afacdd
|
|
7
|
+
data.tar.gz: 2972de535e55661b17473efb5df139d5d7ef2eae4993de8683897960a4edaeae470608b0715adb1496a8e52fa090b8531cbffe06c53cbf9aaececb305072db28
|
data/lib/onebox/version.rb
CHANGED
|
@@ -10,6 +10,10 @@ describe Onebox::Engine::TwitterStatusOnebox do
|
|
|
10
10
|
expect(html).to include("I'm a sucker for pledges.")
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
+
it "includes link" do
|
|
14
|
+
expect(html).to include("http://www.peers.org/action/peers-pledgea")
|
|
15
|
+
end
|
|
16
|
+
|
|
13
17
|
it "includes timestamp" do
|
|
14
18
|
pending
|
|
15
19
|
expect(html).to include("6:59 PM - 1 Aug 13")
|
|
@@ -89,6 +93,9 @@ describe Onebox::Engine::TwitterStatusOnebox do
|
|
|
89
93
|
lang: "en"
|
|
90
94
|
}
|
|
91
95
|
end
|
|
96
|
+
@twitter_client.stub("prettify_tweet") do
|
|
97
|
+
"I'm a sucker for pledges. <a href='https://twitter.com/Peers' target='_blank'>@Peers</a> Pledge <a href='https://twitter.com/search?q=%23sharingeconomy' target='_blank'>#sharingeconomy</a> <a target='_blank' href='http://www.peers.org/action/peers-pledgea/'>peers.org/action/peers-p…</a>"
|
|
98
|
+
end
|
|
92
99
|
Onebox.options = { twitter_client: @twitter_client }
|
|
93
100
|
end
|
|
94
101
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: onebox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joanna Zeta
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-08-
|
|
13
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: multi_json
|