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

fixed Skyfall::Firehose::Message for Ruby < 3.2

apparently comparison of Gem::Version with a string was also added around that time

+1 -1
+1 -1
lib/skyfall/firehose/message.rb
··· 131 132 # Much faster version for Ruby 3.2+ 133 134 - if Gem::Version.new(RUBY_VERSION) >= '3.2' 135 def time 136 @time ||= @data_object['time'] && Time.new(@data_object['time']) 137 end
··· 131 132 # Much faster version for Ruby 3.2+ 133 134 + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.2') 135 def time 136 @time ||= @data_object['time'] && Time.new(@data_object['time']) 137 end