forked from openid/ruby-openid
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGemfile
More file actions
41 lines (33 loc) · 1.39 KB
/
Copy pathGemfile
File metadata and controls
41 lines (33 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#### IMPORTANT #######################################################
# Gemfile is for local development ONLY; Gemfile is NOT loaded in CI #
####################################################### IMPORTANT ####
# On CI we only need the gemspecs' dependencies (including development dependencies).
# Exceptions, if any, such as for Appraisals, are in gemfiles/*.gemfile
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
git_source(:gitlab) { |repo_name| "https://gitlab.com/#{repo_name}" }
latest_ruby_version = Gem::Version.create("3.4")
current_ruby_version = Gem::Version.create(RUBY_VERSION)
### Std Lib Extracted Gems
if ENV.fetch("DEP_HEADS", "false").casecmp?("true")
eval_gemfile("gemfiles/modular/runtime_heads.gemfile")
else
eval_gemfile "gemfiles/modular/x_std_libs/r3/libs.gemfile"
end
# Specify your gem's dependencies in ruby-openid.gemspec
gemspec
### Debugging
eval_gemfile "gemfiles/modular/debug.gemfile"
### Testing
gem "appraisal2", github: "appraisal-rb/appraisal2", branch: "main"
# Only runs on the latest Ruby
if current_ruby_version >= latest_ruby_version
### Security Audit
eval_gemfile "gemfiles/modular/audit.gemfile"
### Test Coverage
eval_gemfile "gemfiles/modular/coverage.gemfile"
### Documentation
eval_gemfile "gemfiles/modular/documentation.gemfile"
### Linting
eval_gemfile "gemfiles/modular/style.gemfile"
end