A Ruby gem for streaming data from the Bluesky/ATProto firehose

deprecate Operation#path in both variants

+16
+8
lib/skyfall/firehose/operation.rb
··· 39 39 alias did repo 40 40 41 41 # @return [String] path part of the record URI (collection + rkey) 42 + # @deprecated Use {#collection} + {#rkey} 42 43 def path 44 + @@path_warning_printed ||= false 45 + 46 + unless @@path_warning_printed 47 + $stderr.puts "Warning: Skyfall::Firehose::Operation#path is deprecated - use #collection + #rkey" 48 + @@path_warning_printed = true 49 + end 50 + 43 51 @json['path'] 44 52 end 45 53
+8
lib/skyfall/jetstream/operation.rb
··· 39 39 alias did repo 40 40 41 41 # @return [String] path part of the record URI (collection + rkey) 42 + # @deprecated Use {#collection} + {#rkey} 42 43 def path 44 + @@path_warning_printed ||= false 45 + 46 + unless @@path_warning_printed 47 + $stderr.puts "Warning: Skyfall::Jetstream::Operation#path is deprecated - use #collection + #rkey" 48 + @@path_warning_printed = true 49 + end 50 + 43 51 @json['collection'] + '/' + @json['rkey'] 44 52 end 45 53