Template of a custom feed generator service for the Bluesky network in Ruby

random tweaks

Changed files
+2 -1
app
bin
+1 -1
app/firehose_stream.rb
··· 288 end 289 290 def inspect 291 - vars = instance_variables - [:@feeds, :@timer] 292 values = vars.map { |v| "#{v}=#{instance_variable_get(v).inspect}" }.join(", ") 293 "#<#{self.class}:0x#{object_id} #{values}>" 294 end
··· 288 end 289 290 def inspect 291 + vars = instance_variables - [:@feeds] 292 values = vars.map { |v| "#{v}=#{instance_variable_get(v).inspect}" }.join(", ") 293 "#<#{self.class}:0x#{object_id} #{values}>" 294 end
+1
bin/firehose
··· 76 end 77 78 trap("SIGINT") { 79 firehose.log "Stopping..." 80 81 EM.add_timer(0) {
··· 76 end 77 78 trap("SIGINT") { 79 + puts 80 firehose.log "Stopping..." 81 82 EM.add_timer(0) {