sitemap_checker 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module SitemapChecker
13
13
 
14
14
  def status
15
15
  begin
16
- @status ||= open(@url, "Accept" => @url[/\.xml$/] ? 'application/xml' : 'text/html').status[0]
16
+ open(@url, "Accept" => @url[/\.xml$/] ? 'application/xml' : 'text/html').status[0]
17
17
  rescue RuntimeError => e
18
18
  e
19
19
  rescue OpenURI::HTTPError => e
@@ -1,3 +1,3 @@
1
1
  module SitemapChecker
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sitemap_checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: