Skip to content

Commit

Permalink
Add appraisal to try to get CI passing
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBarnabe committed Mar 1, 2024
1 parent 1aa7c1b commit 2f9f767
Show file tree
Hide file tree
Showing 14 changed files with 1,059 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- 3.1
- 3.2
- 3.3

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ruby_${{ matrix.ruby-version }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand Down
16 changes: 16 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This only exists to specify an earlier version of nokogiri that is installable with Ruby 2.7.
appraise "ruby-2.7" do
gem "nokogiri", "<1.16.0"
end

appraise "ruby-3.0" do
end

appraise "ruby-3.1" do
end

appraise "ruby-3.2" do
end

appraise "ruby-3.3" do
end
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.6)
Expand Down Expand Up @@ -184,6 +188,7 @@ PLATFORMS

DEPENDENCIES
activemodel
appraisal
devise-i18n!
i18n-spec (~> 0.6.0)
localeapp
Expand Down
1 change: 1 addition & 0 deletions devise-i18n.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<railties>.freeze, [">= 0"])
s.add_development_dependency(%q<activemodel>.freeze, [">= 0"])
s.add_development_dependency(%q<omniauth-twitter>.freeze, [">= 0"])
s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
end

7 changes: 7 additions & 0 deletions gemfiles/ruby_2.7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "nokogiri", "<1.16.0"

gemspec path: "../"
204 changes: 204 additions & 0 deletions gemfiles/ruby_2.7.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
PATH
remote: ..
specs:
devise-i18n (1.12.0)
devise (>= 4.9.0)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.1.3.2)
actionview (= 7.1.3.2)
activesupport (= 7.1.3.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actionview (7.1.3.2)
activesupport (= 7.1.3.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.1.3.2)
activesupport (= 7.1.3.2)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.6)
builder (3.2.4)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crass (1.0.6)
devise (4.9.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
diff-lcs (1.5.1)
domain_name (0.6.20240107)
drb (2.2.0)
ruby2_keywords
erubi (1.12.0)
gli (2.21.1)
hashie (5.0.0)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
i18n-spec (0.6.0)
iso
io-console (0.7.2)
irb (1.11.2)
rdoc
reline (>= 0.4.2)
iso (0.4.0)
i18n
json (2.7.1)
localeapp (3.3.0)
gli
i18n (>= 0.7, < 2)
json (>= 1.7.7)
rest-client (>= 1.8.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_portile2 (2.8.5)
minitest (5.22.2)
mutex_m (0.2.0)
netrc (0.11.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
oauth (1.1.0)
oauth-tty (~> 1.0, >= 1.0.1)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
oauth-tty (1.0.5)
version_gem (~> 1.1, >= 1.1.1)
omniauth (2.1.2)
hashie (>= 3.4.6)
rack (>= 2.2.3)
rack-protection
omniauth-oauth (1.2.0)
oauth
omniauth (>= 1.0, < 3)
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
orm_adapter (0.5.0)
psych (5.1.2)
stringio
racc (1.7.3)
rack (2.2.8.1)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rack-session (1.0.2)
rack (< 3)
rack-test (2.1.0)
rack (>= 1.3)
rackup (1.0.0)
rack (< 3)
webrick
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.3.2)
actionpack (= 7.1.3.2)
activesupport (= 7.1.3.2)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rake (13.1.0)
rdoc (6.6.2)
psych (>= 4.0.0)
reline (0.4.3)
io-console (~> 0.5)
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.1)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.12)
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.13.1)
ruby2_keywords (0.0.5)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
stringio (3.1.0)
thor (1.3.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
version_gem (1.1.3)
warden (1.2.9)
rack (>= 2.0.9)
webrick (1.8.1)
zeitwerk (2.6.13)

PLATFORMS
x86_64-linux

DEPENDENCIES
activemodel
appraisal
devise-i18n!
i18n-spec (~> 0.6.0)
localeapp
nokogiri (< 1.16.0)
omniauth-twitter
railties
rspec (>= 2.8.0)
rspec-rails

BUNDLED WITH
2.3.5
5 changes: 5 additions & 0 deletions gemfiles/ruby_3.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gemspec path: "../"

0 comments on commit 2f9f767

Please sign in to comment.