siefca-httpage 0.2.6 → 0.2.8

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.
Files changed (3) hide show
  1. data/lib/httpage.rb +0 -3
  2. data/lib/httpage/httpage.rb +1 -1
  3. metadata +1 -1
@@ -17,6 +17,3 @@ require 'uri'
17
17
  require 'bufferaffects'
18
18
  require 'httpage/httpage'
19
19
 
20
- pag = HTTPage.new('http://www.wykop.pl/')
21
-
22
- puts pag.real_url
@@ -167,7 +167,7 @@ class HTTPage
167
167
  if found
168
168
  @real_url = url
169
169
  @response = response
170
- @encoding, @content_type = get_page_info
170
+ @content_type, @encoding = get_page_info
171
171
  return response
172
172
  else
173
173
  return nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siefca-httpage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Pawe\xC5\x82 Wilk"