brighter_planet_layout 0.2.26 → 0.2.27
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/brighter_planet_layout.gemspec +1 -1
- data/lib/brighter_planet_layout.rb +4 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.27
|
@@ -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:
|
4
|
+
hash: 33
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 27
|
10
|
+
version: 0.2.27
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andy Rossmeissl
|