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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9932145ec276ce549655565b7a936a38ab57bf4d
4
- data.tar.gz: 82fbe2d38bea663b4e4edf6b21fa0a918948dfdd
3
+ metadata.gz: 36ca80582d4e57ca74975ae09742a54cee4b872a
4
+ data.tar.gz: d2e60e1a1b90306f9f7ae9f33c71487f53c662df
5
5
  SHA512:
6
- metadata.gz: fbf7093fa6b2b39526abb683063756d17e7cf1cdce919548aeb8ff877f720e003ab975dc08d4e8e6cf9ef54d928d09fc2608870344e16de91e295fb1278ff6c5
7
- data.tar.gz: 0f2707cccf38481e73e9fcae7e2dd007e21ef3c96d99563336e04d9032f53b2a5641e8b585b2e7ce5cb44f7a660c4faffee965437d3a09845a2568d95fab486b
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>'
@@ -1,3 +1,3 @@
1
1
  module Telepathy
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telepathy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Vecchio