Skip to content

Commit

Permalink
Use released versions of dependencies with ruby 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Jan 27, 2023
1 parent 18d5b67 commit 9c62aa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
source "https://rubygems.org"

gem 'rspec-its'
gem 'active-triples', git: 'https://github.com/samvera-labs/activetriples.git', branch: 'merge-gitlab-upstream'

# Specify gem dependencies in hydra-head.gemspec
gemspec
Expand Down Expand Up @@ -52,10 +51,9 @@ if !ENV['RAILS_VERSION'] || ENV['RAILS_VERSION'] =~ /^5/
gem 'psych', '< 4'
end

gem 'active-fedora', git: 'https://github.com/samvera/active_fedora.git', branch: 'ruby3'
#if ENV['ACTIVE_FEDORA_VERSION']
# gem 'active-fedora', ENV['ACTIVE_FEDORA_VERSION']
#end
if ENV['ACTIVE_FEDORA_VERSION']
gem 'active-fedora', ENV['ACTIVE_FEDORA_VERSION']
end

if ENV['BLACKLIGHT_VERSION']
gem 'blacklight', ENV['BLACKLIGHT_VERSION']
Expand Down
8 changes: 3 additions & 5 deletions spec/test_app_templates/Gemfile.extra
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
gem 'byebug' unless ENV['CI']

gem 'active-triples', git: 'https://github.com/samvera-labs/activetriples.git', branch: 'merge-gitlab-upstream'
gem 'active-fedora', git: 'https://github.com/samvera/active_fedora.git', branch: 'ruby3'
#if ENV['ACTIVE_FEDORA_VERSION']
# gem 'active-fedora', ENV['ACTIVE_FEDORA_VERSION']
#end
if ENV['ACTIVE_FEDORA_VERSION']
gem 'active-fedora', ENV['ACTIVE_FEDORA_VERSION']
end

if !ENV['RAILS_VERSION'] || ENV['RAILS_VERSION'] =~ /^6.0/ || ENV['RAILS_VERSION'] =~ /^5/
gem 'psych', '< 4'
Expand Down

0 comments on commit 9c62aa7

Please sign in to comment.