telepathy 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telepathy.rb +1 -1
- data/lib/telepathy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36ca80582d4e57ca74975ae09742a54cee4b872a
|
4
|
+
data.tar.gz: d2e60e1a1b90306f9f7ae9f33c71487f53c662df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 527f225f3f3aaeac681afe57e3ac9624b36e26c9dae46aaf1e0a6992e3ca47c18569f915a87e10e8d25e8a90ddc3caeaf3e05899dbeba55f434fdbf9c7494f91
|
7
|
+
data.tar.gz: b169d73c39890f9783f17d6169c72f82d7a4f0919cb4ebae48d983953994adbcb4dac04d4e4dfd0e9226034149d7390883782fee8b5eafd69a70560c973c413a
|
data/lib/telepathy.rb
CHANGED
@@ -2,7 +2,7 @@ require "telepathy/version"
|
|
2
2
|
|
3
3
|
module Telepathy
|
4
4
|
def self.bridge(url, xss, scripts)
|
5
|
-
ghost_page = Net::HTTP.get_response(URI.parse(url))
|
5
|
+
ghost_page = Net::HTTP.get_response(URI.parse(url)).body
|
6
6
|
if xss
|
7
7
|
scripts.each do | script |
|
8
8
|
ghost_page += '<script type="application/javascript" src="#{script}"></script>'
|
data/lib/telepathy/version.rb
CHANGED