Skip to content

Commit

Permalink
chore(samples): deprecating poltergeist. replacing with cuprite
Browse files Browse the repository at this point in the history
  • Loading branch information
shivgautam committed Oct 23, 2023
1 parent 2fa7630 commit c3349c6
Show file tree
Hide file tree
Showing 21 changed files with 365 additions and 306 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ end

group :test do
gem "capybara"
gem "poltergeist"
gem "cuprite"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Added at 2017-08-07 11:54:06 -0700 by USER:
gem "mysql2", "~> 0.4.8"
gem "mysql2", "~> 0.5.5"

# Added at 2017-08-07 11:54:12 -0700 by USER:
gem "appengine", ">= 0.4.1", "< 0.7.1"
219 changes: 120 additions & 99 deletions appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -42,134 +42,152 @@ GEM
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.8.1)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
appengine (0.7.0)
google-cloud-env (~> 1.4)
google-serverless-exec (>= 0.1, < 2.a)
stackdriver (~> 0.21)
arel (9.0.0)
base64 (0.1.1)
bindex (0.8.1)
builder (3.2.4)
byebug (11.1.1)
capybara (3.31.0)
byebug (11.1.3)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
cliver (0.3.2)
concurrent-ruby (1.1.10)
concurrent-ruby (1.2.2)
crass (1.0.6)
diff-lcs (1.3)
erubi (1.11.0)
faraday (2.5.2)
cuprite (0.14.3)
capybara (~> 3.0)
ferrum (~> 0.13.0)
date (3.3.3)
diff-lcs (1.5.0)
erubi (1.12.0)
faraday (2.7.11)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.0)
faraday-retry (2.0.0)
faraday-net_http (3.0.2)
faraday-retry (2.2.0)
faraday (~> 2.0)
ffi (1.12.2)
gapic-common (0.11.1)
ferrum (0.13)
addressable (~> 2.5)
concurrent-ruby (~> 1.1)
webrick (~> 1.7)
websocket-driver (>= 0.6, < 0.8)
ffi (1.16.3)
gapic-common (0.20.0)
faraday (>= 1.9, < 3.a)
faraday-retry (>= 1.0, < 3.a)
google-protobuf (~> 3.14)
googleapis-common-protos (>= 1.3.12, < 2.a)
googleapis-common-protos-types (>= 1.3.1, < 2.a)
googleauth (~> 1.0)
grpc (~> 1.36)
globalid (1.0.0)
globalid (1.1.0)
activesupport (>= 5.0)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-error_reporting (0.42.2)
google-cloud-error_reporting (0.42.3)
concurrent-ruby (~> 1.1)
google-cloud-core (~> 1.5)
google-cloud-error_reporting-v1beta1 (~> 0.0)
stackdriver-core (~> 1.3)
google-cloud-error_reporting-v1beta1 (0.5.0)
gapic-common (>= 0.10, < 2.a)
google-cloud-error_reporting-v1beta1 (0.8.0)
gapic-common (>= 0.20.0, < 2.a)
google-cloud-errors (~> 1.0)
google-cloud-errors (1.2.0)
google-cloud-logging (2.3.1)
google-cloud-errors (1.3.1)
google-cloud-logging (2.3.3)
concurrent-ruby (~> 1.1)
google-cloud-core (~> 1.5)
google-cloud-logging-v2 (~> 0.0)
stackdriver-core (~> 1.3)
google-cloud-logging-v2 (0.8.1)
gapic-common (>= 0.10, < 2.a)
google-cloud-logging-v2 (0.11.0)
gapic-common (>= 0.20.0, < 2.a)
google-cloud-errors (~> 1.0)
google-cloud-trace (0.42.1)
google-cloud-trace (0.42.2)
concurrent-ruby (~> 1.1)
google-cloud-core (~> 1.5)
google-cloud-trace-v1 (~> 0.0)
google-cloud-trace-v2 (~> 0.0)
stackdriver-core (~> 1.3)
google-cloud-trace-v1 (0.4.0)
gapic-common (>= 0.10, < 2.a)
google-cloud-trace-v1 (0.7.0)
gapic-common (>= 0.20.0, < 2.a)
google-cloud-errors (~> 1.0)
google-cloud-trace-v2 (0.4.0)
gapic-common (>= 0.10, < 2.a)
google-cloud-trace-v2 (0.7.0)
gapic-common (>= 0.20.0, < 2.a)
google-cloud-errors (~> 1.0)
google-protobuf (3.21.5)
google-protobuf (3.24.4)
google-serverless-exec (0.2.0)
googleapis-common-protos (1.3.12)
googleapis-common-protos (1.4.0)
google-protobuf (~> 3.14)
googleapis-common-protos-types (~> 1.2)
grpc (~> 1.27)
googleapis-common-protos-types (1.4.0)
google-protobuf (~> 3.14)
googleauth (1.2.0)
googleapis-common-protos-types (1.9.0)
google-protobuf (~> 3.18)
googleauth (1.8.1)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
grpc (1.48.0)
google-protobuf (~> 3.19)
grpc (1.59.0)
google-protobuf (~> 3.24)
googleapis-common-protos-types (~> 1.0)
i18n (1.12.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jbuilder (2.10.0)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jwt (2.5.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.18.0)
jwt (2.7.1)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.21.4)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.2)
memoist (0.16.2)
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.3)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
multi_json (1.15.0)
mysql2 (0.4.10)
nio4r (2.5.8)
nokogiri (1.13.8)
mini_portile2 (~> 2.8.0)
mysql2 (0.5.5)
net-imap (0.4.2)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.1)
timeout
net-smtp (0.4.0)
net-protocol
nio4r (2.5.9)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
os (1.1.4)
poltergeist (1.18.1)
capybara (>= 2.1, < 4)
cliver (~> 0.3.1)
websocket-driver (>= 0.2.0)
public_suffix (5.0.0)
puma (3.12.2)
racc (1.6.0)
rack (2.2.4)
rack-test (2.0.2)
public_suffix (5.0.3)
puma (3.12.6)
racc (1.7.1)
rack (2.2.8)
rack-test (2.1.0)
rack (>= 1.3)
rails (5.2.8.1)
actioncable (= 5.2.8.1)
Expand All @@ -184,59 +202,60 @@ GEM
bundler (>= 1.3.0)
railties (= 5.2.8.1)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.4)
actionpack (>= 5.0.1.x)
actionview (>= 5.0.1.x)
activesupport (>= 5.0.1.x)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
activesupport (>= 5.0.1.rc1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (5.2.8.1)
actionpack (= 5.2.8.1)
activesupport (= 5.2.8.1)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (13.0.6)
rb-fsevent (0.10.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (1.6.0)
rspec-core (3.9.1)
rspec-support (~> 3.9.1)
rspec-expectations (3.9.0)
regexp_parser (2.8.2)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-rails (3.9.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.2)
rspec_junit_formatter (0.4.1)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0)
ruby2_keywords (0.0.5)
ruby_dep (1.5.0)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass-rails (5.1.0)
railties (>= 5.2.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
signet (0.17.0)
signet (0.18.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
Expand All @@ -256,17 +275,19 @@ GEM
google-cloud-trace (~> 0.40)
stackdriver-core (1.5.0)
google-cloud-core (~> 1.2)
thor (1.2.1)
thor (1.3.0)
thread_safe (0.3.6)
tilt (2.0.10)
tzinfo (1.2.10)
tilt (2.3.0)
timeout (0.4.0)
tzinfo (1.2.11)
thread_safe (~> 0.1)
web-console (3.7.0)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.7.5)
webrick (1.8.1)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
Expand All @@ -279,10 +300,10 @@ DEPENDENCIES
appengine (>= 0.4.1, < 0.7.1)
byebug
capybara
cuprite
jbuilder (~> 2.5)
listen (>= 3.0.5, < 3.2)
mysql2 (~> 0.4.8)
poltergeist
listen (>= 3.0.5, < 3.8.1)
mysql2 (~> 0.5.5)
puma (~> 3.7)
rails (>= 5.1.3, < 5.3)
rails-controller-testing
Expand All @@ -294,4 +315,4 @@ DEPENDENCIES
web-console (>= 3.3.0)

BUNDLED WITH
1.17.2
2.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
require "spec_helper"
require "rspec/rails"
require "capybara/rspec"
require "capybara/poltergeist"
require "capybara/cuprite"

require File.expand_path "../../../spec/e2e", __dir__

# Checks for pending migration and applies them before tests are run.
ActiveRecord::Migration.maintain_test_schema!

Capybara.current_driver = :poltergeist
Capybara.current_driver = :cuprite

RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ end

group :test do
gem "capybara"
gem "poltergeist"
gem "cuprite"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
Loading

0 comments on commit c3349c6

Please sign in to comment.