Skip to content

Commit

Permalink
Window dependencies updates (#38)
Browse files Browse the repository at this point in the history
* Remove fix versioning on dependency

* Add missing gems for test env
  • Loading branch information
mchirino89 authored Jan 2, 2024
1 parent 56974ed commit 7219a3c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 21 deletions.
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ source "https://rubygems.org"

group :development, :test do
gem "rspec"
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"
gem "capybara"
gem "rexml"
gem "rack-jekyll"
gem "rack", ">= 2.1.4"
gem "pry"
Expand Down Expand Up @@ -32,11 +33,12 @@ gem 'jemoji'
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem 'github-pages', '~> 228'
gem "activesupport", ">= 6.1.7.5"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
gem "tzinfo"
gem "tzinfo-data"
end
41 changes: 26 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.6.1)
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
capybara (3.35.3)
bigdecimal (3.1.5)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
Expand All @@ -27,9 +33,12 @@ GEM
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
diff-lcs (1.4.4)
dnsruby (1.70.0)
simpleidn (~> 0.2.1)
drb (2.2.0)
ruby2_keywords
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
Expand Down Expand Up @@ -218,14 +227,16 @@ GEM
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
matrix (0.4.2)
mercenary (0.3.6)
method_source (1.0.0)
mini_mime (1.1.1)
mini_mime (1.1.5)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.20.0)
mutex_m (0.2.0)
nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4)
octokit (4.25.1)
Expand All @@ -242,12 +253,12 @@ GEM
rack-jekyll (0.3.5)
jekyll
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-test (2.1.0)
rack (>= 1.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.1.1)
regexp_parser (2.8.3)
rexml (3.2.6)
rouge (3.26.0)
rspec (3.10.0)
Expand Down Expand Up @@ -281,11 +292,10 @@ GEM
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (1.2.11)
thread_safe (~> 0.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2021.1)
tzinfo (>= 1.0.0)
unf (0.1.4)
Expand All @@ -299,12 +309,12 @@ GEM
webrick (1.8.1)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-23

DEPENDENCIES
activesupport (>= 6.1.7.5)
addressable (>= 2.8.0)
capybara
github-pages (~> 228)
Expand All @@ -316,9 +326,10 @@ DEPENDENCIES
pry
rack (>= 2.1.4)
rack-jekyll
rexml
rspec
selenium-webdriver
tzinfo (~> 1.2)
tzinfo
tzinfo-data
webdrivers
webrick
Expand Down
10 changes: 6 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end

config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
end
end

# Configure Capybara to use Selenium.
Capybara.register_driver :selenium do |app|
# Configure selenium to use Chrome.
Capybara::Selenium::Driver.new(app, :browser => :chrome)
Capybara.server = :webrick
# Configure selenium to use Chrome.
Capybara::Selenium::Driver.new(app, :browser => :chrome)
Capybara.server = :webrick
end # Configure Capybara to load the website through rack-jekyll.

# (force_build: true) builds the site before the tests are run,
Expand Down

0 comments on commit 7219a3c

Please sign in to comment.