Skip to content

Commit 9c64435

Browse files
committed
hyrax 2.0 Beta4
Update ruby version Fix rubocop defenses
1 parent 8e69be8 commit 9c64435

File tree

107 files changed

+901
-458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+901
-458
lines changed

.rubocop_todo.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,13 @@ Security/MarshalLoad:
9797
Exclude:
9898
- 'app/models/concerns/hyrax/user.rb'
9999

100+
RSpec/PredicateMatcher:
101+
Enabled: false
102+
103+
RSpec/HookArgument:
104+
Enabled: false
105+
106+
RSpec/ReturnFromStub:
107+
Exclude:
108+
- 'spec/support/features/stub_view_helpers.rb'
109+

.solr_wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Place any default configuration for solr_wrapper here
2-
version: 6.6.1
2+
# version: 6.0.0
33
# port: 8983
44
instance_dir: tmp/solr-development
55
collection:

Gemfile

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,64 @@
11
source 'https://rubygems.org'
22

3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
38
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4-
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
9+
gem 'rails', '~> 5.0.5'
510
# Use sqlite3 as the database for Active Record
611
gem 'sqlite3'
712
# Use Puma as the app server
8-
gem 'puma', '~> 3.8.2'
13+
gem 'puma', '~> 3.0'
914
# Use SCSS for stylesheets
1015
gem 'sass-rails', '~> 5.0'
1116
# Use Uglifier as compressor for JavaScript assets
12-
gem 'uglifier', '3.2.0'
17+
gem 'uglifier', '>= 1.3.0'
1318
# Use CoffeeScript for .coffee assets and views
14-
gem 'coffee-rails', '~> 4.2.0'
19+
gem 'coffee-rails', '~> 4.2'
1520
# See https://github.com/rails/execjs#readme for more supported runtimes
1621
# gem 'therubyracer', platforms: :ruby
1722
gem 'factory_girl', '~> 4.0'
1823

1924
# Use jquery as the JavaScript library
2025
gem 'jquery-rails'
21-
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
26+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
2227
gem 'turbolinks', '~> 5'
2328
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24-
gem 'jbuilder', '~> 2.6.3'
29+
gem 'jbuilder', '~> 2.5'
2530
# Use Redis adapter to run Action Cable in production
2631
# gem 'redis', '~> 3.0'
2732
# bundle exec rake doc:rails generates the API under doc/api.
28-
gem 'sdoc', '~> 0.4.0', group: :doc
29-
gem 'json', '~> 1.8.6'
30-
gem 'coveralls', '~> 0.8.21', require: false
3133
gem "blacklight_advanced_search"
3234
gem 'sitemap_generator', '~> 5.3.1'
3335

3436
# Use ActiveModel has_secure_password
3537
# gem 'bcrypt', '~> 3.1.7'
3638

37-
# Use Unicorn as the app server
38-
# gem 'unicorn'
39-
4039
# Use Capistrano for deployment
4140
# gem 'capistrano-rails', group: :development
4241

4342
group :development, :test do
4443
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
45-
gem 'byebug'
44+
gem 'byebug', platform: :mri
45+
gem 'capybara', '~> 2.14.0'
46+
gem 'factory_girl_rails', '~> 4.4'
47+
gem 'rspec-activemodel-mocks', '~> 1.0'
48+
gem 'rspec-mocks', '3.6.0'
49+
gem 'simplecov', '~> 0.14.1'
50+
gem 'rails_autolink', '~> 1.1.6'
51+
gem 'unicorn', '~> 5.3.0'
4652
gem 'rubocop', '~> 0.49.1'
4753
gem 'rubocop-rspec', '~> 1.15.1'
4854
end
4955

5056
group :development do
51-
# Access an IRB console on exception pages or by using <%= console %> in views
52-
gem 'web-console', '~> 3.5.0'
53-
gem 'listen', '~> 3.1.5'
57+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
58+
gem 'web-console', '>= 3.3.0'
59+
gem 'listen', '~> 3.0.5'
5460
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
55-
gem 'spring', '~> 2.0.1'
61+
gem 'spring'
5662
gem 'spring-watcher-listen', '~> 2.0.0'
5763
end
5864

@@ -65,39 +71,28 @@ gem 'capistrano-bundler', '~> 1.2.0'
6571
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
6672
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
6773

68-
gem 'hyrax', '2.0.0.beta4', github: 'samvera/hyrax', ref: 'a8873d1c3647bbe7a326221192e726de77a76e5d'
74+
gem 'hyrax', '2.0.0.beta4'
6975
gem 'hydra-role-management'
70-
71-
gem 'nokogiri', '~> 1.7.1'
72-
gem 'sidekiq', '~> 5.0.0'
73-
gem 'rubyXL'
74-
75-
gem 'openseadragon', '~> 0.4.0'
76-
7776
group :development, :test do
78-
gem 'capybara', '~> 2.14.0'
79-
gem 'factory_girl_rails', '~> 4.4'
80-
gem 'rspec-activemodel-mocks', '~> 1.0'
81-
gem 'rspec-mocks', '3.6.0'
82-
gem 'simplecov', '~> 0.14.1'
83-
gem 'rails_autolink', '~> 1.1.6'
84-
gem 'unicorn', '~> 5.3.0'
85-
gem 'solr_wrapper', '~> 1.0.0'
86-
gem 'database_cleaner', '~> 1.6.0'
87-
gem 'rails-controller-testing', '~> 1.0.1'
77+
gem 'solr_wrapper', '>= 0.3'
8878
end
8979

90-
gem 'rsolr', '~> 2.0.1'
91-
gem 'devise', '~> 4.2.1'
92-
gem 'devise-guests', '~> 0.6.0'
80+
gem 'rsolr', '>= 1.0'
81+
gem 'devise'
82+
gem 'devise-guests', '~> 0.6'
83+
gem 'rubyXL'
9384
gem 'omniauth', '1.6.1'
9485
gem 'omniauth-shibboleth', '1.2.1'
9586
gem 'net-ldap'
9687
gem 'flexmock'
9788
gem 'fakeldap'
9889
gem 'ruby-ldapserver', '~> 0.5.0'
90+
gem 'sidekiq', '~> 5.0.0'
9991

92+
gem 'openseadragon', '~> 0.4.0'
10093
group :development, :test do
101-
gem 'fcrepo_wrapper', '~> 0.8.0'
94+
gem 'fcrepo_wrapper'
10295
gem 'rspec-rails', '~> 3.6.0'
96+
gem 'database_cleaner', '~> 1.6.0'
97+
gem 'rails-controller-testing', '~> 1.0.1'
10398
end

0 commit comments

Comments
 (0)