rcr-notify 0.1.3 → 0.1.4

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 (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/rcr-notify.rb +4 -1
  3. data/rcr-notify.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/lib/rcr-notify.rb CHANGED
@@ -14,8 +14,9 @@ module RcrNotify
14
14
  end
15
15
 
16
16
  def poll
17
- print '.'
18
17
  data = JSON::parse open(url).read
18
+ print '.'
19
+
19
20
 
20
21
  projects = data["user"]["projects"].inject({}) do |hash, project|
21
22
  hash.merge project.delete("name") => project
@@ -28,6 +29,8 @@ module RcrNotify
28
29
  end
29
30
 
30
31
  @last_projects = projects
32
+ rescue SocketError
33
+ print 'o'
31
34
  end
32
35
 
33
36
  private
data/rcr-notify.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rcr-notify}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jacob Rothstein"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcr-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Rothstein