siefca-httpage 0.2.4 → 0.2.6

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 (2) hide show
  1. data/lib/httpage/httpage.rb +2 -2
  2. metadata +1 -1
@@ -41,14 +41,14 @@ class HTTPage
41
41
  # Returns page encoding.
42
42
 
43
43
  def encoding
44
- @encoding, @content_type = get_page_info if @encoding.nil?
44
+ @content_type, @encoding = get_page_info if @encoding.nil?
45
45
  return @encoding
46
46
  end
47
47
 
48
48
  # Returns page content-type.
49
49
 
50
50
  def content_type
51
- @encoding, @content_type = get_page_info if @content_type.nil?
51
+ @content_type, @encoding = get_page_info if @content_type.nil?
52
52
  return @content_type
53
53
  end
54
54
 
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.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Pawe\xC5\x82 Wilk"