onebox 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fa2ea983edc182dc92968e18b0c802e4c68f5a9
4
- data.tar.gz: eb69673c515f8099e8e3da8177df5458f0aab925
3
+ metadata.gz: 3a7bb8f501bd1571f0ebb6d05de268c7a25bfaf4
4
+ data.tar.gz: a9d916c58f10fd69906578734bc50ade5fedf9b3
5
5
  SHA512:
6
- metadata.gz: 92db3996ec6a7fd71d0cca3fc3da1750f643a8d9b1cd1a61a415deceffe92c693d3f62c2a855966502320e12a405cc3ba4a33d4a7e33569636db6d3de37e1f1c
7
- data.tar.gz: fefd85244ebab551ebc2fb66845d5e94a90079796fdd3df8986ae854ab8dab1012c33d8b882c40fa745ec164cd7b056c116b0d05ed668b37b524c5b7580b2e59
6
+ metadata.gz: 76f0c2bbcf0aa381da8b934f12b00397d56eda73460409fd6837def9df358849f75ec1e257a21509cca5868a8b2415507a62dbb5ba5164668eb978ee4b302895
7
+ data.tar.gz: c407ceea8eb7cec34d382469f708310862784264bf42793b502e8818dc4e5c689e0bc78df3cb29fec9ee583bc00b062d440c065a0cb4144baf799eb2cae2c185
@@ -43,7 +43,7 @@ module Onebox
43
43
  end
44
44
 
45
45
  def data
46
- @data ||= {title: link.sub(/^https?\:\/\//, ''),
46
+ @data ||= {title: link.sub(/^https?\:\/\/github\.com\//, ''),
47
47
  link: link,
48
48
  content: raw,
49
49
  truncated: @truncated}
@@ -1,3 +1,3 @@
1
1
  module Onebox
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
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.3.1
4
+ version: 1.3.2
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-04-14 00:00:00.000000000 Z
13
+ date: 2014-04-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json