Skip to content

Commit

Permalink
Merge pull request #279 from NYULibraries/update-geoblacklight
Browse files Browse the repository at this point in the history
Update GBL to 4.0
  • Loading branch information
the-codetrane authored Nov 29, 2023
2 parents 090d15f + 95d3d9e commit 2460296
Show file tree
Hide file tree
Showing 257 changed files with 10,252 additions and 1,853 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
run: bundle exec rubocop
- name: Run tests
run: |
cp config/vars.yml.example config/vars.yml
bundle exec rake db:schema:load
bundle exec rake ci
- name: Audit gems
Expand Down
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
require:
- rubocop-rails
- rubocop-performance
- rubocop-rspec
- rubocop-capybara

AllCops:
Exclude:
- 'db/**/*'
- 'bin/*'
- 'config/**/*'
- 'vendor/**/*'
- 'Vagrantfile'
- 'app/helpers/geoblacklight_helper.rb'
NewCops: enable

Style/Documentation:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.8
3.2.2
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 2.7.8
ruby 3.2.2
nodejs 18.10.0
38 changes: 38 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Load DSL and set up stages
require 'capistrano/setup'

# Include default deployment tasks
require 'capistrano/deploy'

# Load the SCM plugin appropriate to your project:
#
# require "capistrano/scm/hg"
# install_plugin Capistrano::SCM::Hg
# or
# require "capistrano/scm/svn"
# install_plugin Capistrano::SCM::Svn
# or
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git

# Include tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
# https://github.com/capistrano/rvm
# https://github.com/capistrano/rbenv
# https://github.com/capistrano/chruby
# https://github.com/capistrano/bundler
# https://github.com/capistrano/rails
# https://github.com/capistrano/passenger
#
# require "capistrano/rvm"
require 'capistrano/rbenv'
# require "capistrano/chruby"
require 'capistrano/bundler'
require 'capistrano/rails/assets'
# require 'capistrano/rails/migrations'
# require 'capistrano/passenger'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
58 changes: 35 additions & 23 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,50 +1,62 @@
# frozen_string_literal: true

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.2.2'

gem 'blacklight'
gem 'blacklight', '~> 7.0'
gem 'bootsnap', require: false
gem 'bootstrap', '~> 4.0'
gem 'capistrano', '~> 3.17'
gem 'capistrano-passenger', '~> 0.2.1'
gem 'capistrano-rails', '~> 1.6'
gem 'capistrano-rbenv', '~> 2.2'
gem 'config'
gem 'devise'
gem 'geoblacklight', '~> 1.9.0'
gem 'geoblacklight', '~> 4.0'
gem 'importmap-rails'
gem 'jbuilder'
gem 'jquery-rails'
gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'
gem 'mysql2'
gem 'omniauth'
gem 'omniauth', '1.9.2'
gem 'omniauth-oauth2'
gem 'rails'
gem 'rainbow'
gem 'rsolr'
gem 'sass-rails'
gem 'omniauth-rails_csrf_protection'
gem 'puma', '~> 5.0'
gem 'rails', '~> 7.0.6'
gem 'rsolr', '>= 1.0', '< 3'
gem 'sassc-rails', '~> 2.1'
gem 'sdoc', group: :doc
gem 'solr_wrapper'
gem 'sqlite3'
gem 'turbolinks'
gem 'twitter-typeahead-rails'
gem 'uglifier'
gem 'whenever'
gem 'sdr_cli', github: 'NYULibraries/sdr-cli'
gem 'sprockets', '< 4.0'
gem 'sprockets-rails'
gem 'stimulus-rails'
gem 'turbo-rails'
gem 'twitter-typeahead-rails', '0.11.1.pre.corejavascript'
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
gem 'view_component'
gem 'whenever', require: false

# Range limit gem for slider on Solr integer fields (year)
# Currently broken (9/2/2016)
# gem 'blacklight_range_limit'
group :test do
gem 'whenever-test'
end

group :development, :test do
gem 'axe-core-rspec'
gem 'bundler-audit'
gem 'byebug'
gem 'capybara'
gem 'capybara-screenshot'
gem 'database_cleaner'
gem 'dotenv-rails'
gem 'factory_bot_rails'
gem 'geckodriver-helper'
gem 'puma'
gem 'rspec-rails'
gem 'rubocop', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false
gem 'rubocop-rspec', require: false
gem 'selenium-webdriver'
gem 'simplecov'
gem 'solr_wrapper'
gem 'spring'
gem 'sqlite3'
gem 'timecop'
gem 'web-console'
gem 'whenever-test'
end
Loading

0 comments on commit 2460296

Please sign in to comment.