We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5907981 commit 0336789Copy full SHA for 0336789
spec/test_app_templates/Gemfile.extra
@@ -1,8 +1,13 @@
1
gem 'sprockets', '< 4' if ENV['RAILS_VERSION'] && ENV['RAILS_VERSION'] < '6'
2
gem 'view_component', '!= 2.26.0'
3
4
-if ENV['BLACKLIGHT_VERSION'] == 'edge'
+case ENV['BLACKLIGHT_VERSION']
5
+when 'edge'
6
gem 'blacklight', github: 'projectblacklight/blacklight'
7
gem 'blacklight-gallery', github: 'projectblacklight/blacklight-gallery'
8
gem 'blacklight-oembed', github: 'projectblacklight/blacklight-oembed'
9
+when 'latest'
10
+ gem 'blacklight'
11
+else
12
+ gem 'blacklight', ENV['BLACKLIGHT_VERSION'] if ENV['BLACKLIGHT_VERSION'] && !ENV['BLACKLIGHT_VERSION'].empty?
13
end
0 commit comments