strategy:
matrix:
ubuntu: [20.04, 22.04]
- ruby: ['3.0', '3.1', '3.2']
+ ruby: ['3.0', '3.1', '3.2', '3.3']
runs-on: ubuntu-${{ matrix.ubuntu }}
env:
RAILS_ENV: test
group :development, :test do
gem "annotate"
+
+ # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
+ gem "debug", :require => "debug/prelude"
end
sprockets-rails
tilt
date (3.3.4)
+ debug (1.9.2)
+ irb (~> 1.10)
+ reline (>= 0.3.8)
debug_inspector (1.2.0)
deep_merge (1.2.2)
delayed_job (4.1.11)
connection_pool
dalli
dartsass-sprockets
+ debug
debug_inspector
delayed_job_active_record
doorkeeper
--- /dev/null
+module OpenStreetMap
+ module GD2
+ module AnimatedGif
+ def frames_finalizer
+ proc do
+ @frames.each do |frame|
+ ::GD2::GD2FFI.send(:gdFree, frame.ptr)
+ end
+ end
+ end
+ end
+ end
+end
+
+GD2::AnimatedGif.prepend(OpenStreetMap::GD2::AnimatedGif)
xml.find("//osm/node").first[name] = value.to_s
xml
end
-
- ##
- # parse some xml
- def xml_parse(xml)
- parser = XML::Parser.string(xml)
- parser.parse
- end
end
end
require "application_system_test_case"
-class ReportNoteTest < ApplicationSystemTestCase
+class UserBlocksSystemTest < ApplicationSystemTestCase
test "revoke all link is absent for anonymous users when viewed user has active blocks" do
blocked_user = create(:user)
create(:user_block, :user => blocked_user)