tjplurker 1.3.2 → 1.3.3

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.
@@ -142,7 +142,7 @@ module TJP
142
142
  notification = NotificationData.new(member)
143
143
  # Prevent duplicate notification
144
144
  return if notification.id == @id_buffer
145
- $tjpLog.info(self.class){"Notification: #{notification.user_id}: \"#{notification.content}\""}
145
+ $tjpLog.info(self.class){"Notification: #{notification.plurk_id}: \"#{notification.content}\""}
146
146
  @id_buffer = notification.id
147
147
  yield(notification)
148
148
  }
@@ -28,8 +28,11 @@ module TJP
28
28
  $tjpLog.info(self.class){"Start robot."}
29
29
  Thread.new{
30
30
  loop{
31
+ begin
31
32
  @tjplurker.add_all_as_friends
32
33
  sleep(60)
34
+ rescue => ex
35
+ end
33
36
  }
34
37
  }
35
38
  loop{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tjplurker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-20 00:00:00.000000000 Z
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &17951592 !ruby/object:Gem::Requirement
16
+ requirement: &19897380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *17951592
24
+ version_requirements: *19897380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: oauth
27
- requirement: &17951256 !ruby/object:Gem::Requirement
27
+ requirement: &19897044 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *17951256
35
+ version_requirements: *19897044
36
36
  description: A safe Plurk API wrapper based on Ruby and mainly designed for easily
37
37
  making plurk robot. installgem install tjplurker.
38
38
  email: tonytonyjan@gmail.com