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