Always install sdoc from git

The EDGE environment variable isn't set when installing the gems.
Since this branch is the edge branch, we don't need this environment
variable.
This commit is contained in:
Rafael Mendonça França 2023-08-28 15:29:58 +00:00
parent 743d1fc71c
commit 4aa1625edd
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
2 changed files with 12 additions and 8 deletions

View File

@ -59,11 +59,7 @@ group :mdl do
end
group :doc do
if ENV["EDGE"]
gem "sdoc", git: "https://github.com/rails/sdoc.git", branch: "main"
else
gem "sdoc", ">= 2.6.0"
end
gem "sdoc", git: "https://github.com/rails/sdoc.git", branch: "main"
gem "rdoc", "~> 6.5"
gem "redcarpet", "~> 3.2.3", platforms: :ruby
gem "w3c_validators", "~> 1.3.6"

View File

@ -15,6 +15,16 @@ GIT
event_emitter
websocket
GIT
remote: https://github.com/rails/sdoc.git
revision: 947abf9d928f37b9cb91c8139e051b834265724a
branch: main
specs:
sdoc (3.0.0.alpha)
nokogiri
rdoc (>= 5.0)
rouge
PATH
remote: .
specs:
@ -465,8 +475,6 @@ GEM
rubyzip (2.3.2)
rufus-scheduler (3.8.2)
fugit (~> 1.1, >= 1.1.6)
sdoc (2.6.1)
rdoc (>= 5.0)
selenium-webdriver (4.11.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
@ -621,7 +629,7 @@ DEPENDENCIES
rubocop-performance
rubocop-rails
rubyzip (~> 2.0)
sdoc (>= 2.6.0)
sdoc!
selenium-webdriver (>= 4.11.0)
sidekiq
sneakers