Skip to content

Commit dd92714

Browse files
committed
chore: update puma and jquery
1 parent 449d115 commit dd92714

File tree

8 files changed

+16
-24
lines changed

8 files changed

+16
-24
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gem "chunky_png", "~> 1.4"
77
gem "image_size", "~> 3.0"
88
gem "launchy", "~> 2.5"
99
gem "pdf-reader", "~> 2.5"
10-
gem "puma", "~> 4.3"
10+
gem "puma", ">= 5.6.7"
1111
gem "rake", "~> 13.0"
1212
gem "rspec", "~> 3.10"
1313
gem "rubocop", "~> 1.22"

spec/features/driver_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,8 @@ def create_screenshot(file, *args)
766766
@session.visit("/cuprite/with_js")
767767
responses = @driver.network_traffic.map(&:response)
768768
resources_size = {
769-
%r{/cuprite/jquery.min.js$} => File.size("#{PROJECT_ROOT}/spec/support/public/jquery-1.11.3.min.js"),
770-
%r{/cuprite/jquery-ui.min.js$} => File.size("#{PROJECT_ROOT}/spec/support/public/jquery-ui-1.11.4.min.js"),
769+
%r{/cuprite/jquery.min.js$} => File.size("#{PROJECT_ROOT}/spec/support/public/jquery-3.7.1.min.js"),
770+
%r{/cuprite/jquery-ui.min.js$} => File.size("#{PROJECT_ROOT}/spec/support/public/jquery-ui-1.13.2.min.js"),
771771
%r{/cuprite/test.js$} => File.size("#{PROJECT_ROOT}/spec/support/public/test.js")
772772
}
773773

spec/spec_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
puts ""
1919
command = Ferrum::Browser::Command.build(Ferrum::Browser::Options.new, nil)
20-
puts `'#{Shellwords.escape(command.path)}' --version`
20+
puts `#{Shellwords.escape(command.path)} --version`
2121
puts ""
2222

2323
Capybara.save_path = File.join(PROJECT_ROOT, "spec", "tmp", "save_path")
@@ -57,6 +57,7 @@ module TestSessions
5757
node #drag_to HTML5 should simulate a single held down modifier key
5858
node #drag_to HTML5 should simulate multiple held down modifier keys
5959
node #drag_to HTML5 should support key aliases
60+
node #drag_to HTML5 should trigger a dragenter event, before the first dragover event
6061
node Element#drop can drop a file
6162
node Element#drop can drop multiple files
6263
node Element#drop can drop strings
@@ -66,6 +67,7 @@ module TestSessions
6667
node #visible? works when details is toggled open and closed
6768
node #path reports when element in shadow dom
6869
node #shadow_root
70+
node #set should submit single text input forms if ended with
6971
#all with obscured filter should only find nodes on top in the viewport when false
7072
#all with obscured filter should not find nodes on top outside the viewport when false
7173
#all with obscured filter should find top nodes outside the viewport when true

spec/support/public/jquery-1.11.3.min.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

spec/support/public/jquery-3.7.1.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/support/public/jquery-ui-1.11.4.min.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

spec/support/public/jquery-ui-1.13.2.min.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/support/test_app.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def authorized?(login, password)
3030

3131
get "/cuprite/jquery.min.js" do
3232
content_type :js
33-
File.read("#{CUPRITE_PUBLIC}/jquery-1.11.3.min.js")
33+
File.read("#{CUPRITE_PUBLIC}/jquery-3.7.1.min.js")
3434
end
3535

3636
get "/cuprite/jquery-ui.min.js" do
3737
content_type :js
38-
File.read("#{CUPRITE_PUBLIC}/jquery-ui-1.11.4.min.js")
38+
File.read("#{CUPRITE_PUBLIC}/jquery-ui-1.13.2.min.js")
3939
end
4040

4141
get "/cuprite/unexist.png" do

0 commit comments

Comments
 (0)