brighter_planet_layout 0.2.26 → 0.2.27

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.26
1
+ 0.2.27
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{brighter_planet_layout}
8
- s.version = "0.2.26"
8
+ s.version = "0.2.27"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andy Rossmeissl"]
@@ -71,6 +71,8 @@ module BrighterPlanetLayout
71
71
 
72
72
  def self.latest_tweet
73
73
  ::SimpleRSS.parse(open(TWITTER_RSS)).entries.first
74
+ rescue ::OpenURI::HTTPError
75
+ # nil
74
76
  rescue ::SocketError, ::Timeout::Error, ::Errno::ETIMEDOUT, ::Errno::ENETUNREACH, ::Errno::ECONNRESET, ::Errno::ECONNREFUSED
75
77
  # nil
76
78
  rescue ::NoMethodError
@@ -79,6 +81,8 @@ module BrighterPlanetLayout
79
81
 
80
82
  def self.latest_blog_post
81
83
  ::SimpleRSS.parse(open(BLOG_ATOM)).entries.first
84
+ rescue ::OpenURI::HTTPError
85
+ # nil
82
86
  rescue ::SocketError, ::Timeout::Error, ::Errno::ETIMEDOUT, ::Errno::ENETUNREACH, ::Errno::ECONNRESET, ::Errno::ECONNREFUSED
83
87
  # nil
84
88
  rescue ::NoMethodError
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brighter_planet_layout
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 26
10
- version: 0.2.26
9
+ - 27
10
+ version: 0.2.27
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl