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 131 132 132 # Much faster version for Ruby 3.2+ 133 133 134 - if Gem::Version.new(RUBY_VERSION) >= '3.2' 134 + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.2') 135 135 def time 136 136 @time ||= @data_object['time'] && Time.new(@data_object['time']) 137 137 end