Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
/spec/reports/
/tmp/
/vendor
/.ruby-version
/test/.ruby-version
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in schoolie.gemspec
gemspec

gem "actionview", "~>5"
gem "actionview", "~> 6.1"
group :development, :test do
gem "byebug"
gem "coveralls-ruby", require: false
Expand Down
56 changes: 32 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,27 @@ PATH
remote: .
specs:
schoolie (0.1.3)
actionview (~> 5)
actionview (~> 6.1)

GEM
remote: https://rubygems.org/
specs:
actionview (5.2.6.2)
activesupport (= 5.2.6.2)
actionview (6.1.7.10)
activesupport (= 6.1.7.10)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activesupport (5.2.6.2)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activesupport (6.1.7.10)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
ast (2.4.2)
builder (3.2.4)
builder (3.3.0)
byebug (11.1.3)
concurrent-ruby (1.1.9)
concurrent-ruby (1.3.5)
coveralls-ruby (0.2.0)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
Expand All @@ -30,25 +31,31 @@ GEM
tins (~> 1.6)
crass (1.0.6)
docile (1.4.0)
erubi (1.10.0)
i18n (1.10.0)
erubi (1.13.1)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.6.1)
loofah (2.14.0)
loofah (2.24.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
nokogiri (>= 1.12.0)
mini_portile2 (2.8.8)
minitest (5.15.0)
nokogiri (1.13.3-x86_64-linux)
nokogiri (1.18.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.18.2-x86_64-linux-gnu)
racc (~> 1.4)
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
racc (1.6.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
racc (1.8.1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
rails-html-sanitizer (1.6.2)
loofah (~> 2.21)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.2.1)
Expand Down Expand Up @@ -76,18 +83,19 @@ GEM
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (1.2.1)
thread_safe (0.3.6)
tins (1.31.0)
sync
tzinfo (1.2.9)
thread_safe (~> 0.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
zeitwerk (2.7.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
actionview (~> 5)
actionview (~> 6.1)
byebug
coveralls-ruby
minitest (~> 5.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/schoolie_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ def load_statics(map)
end

def load_map(config)
@load_map ||= YAML.safe_load(File.open(config, "r"), [Symbol])
@load_map ||= YAML.safe_load(File.open(config, "r"))
end
end
4 changes: 2 additions & 2 deletions schoolie.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "A gem to generate sitemaps & meta tags for Samvera repositories"
spec.homepage = "https://github.com/curationexperts/schoolie"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 2.6.0"
spec.required_ruby_version = "~> 3.2.2"

spec.metadata["allowed_push_host"] = "https://rubygems.org"

Expand All @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
spec.add_dependency "actionview", "~> 5"
spec.add_dependency "actionview", "~> 6.1"

# For more information and examples about making a new gem, checkout our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down
1 change: 1 addition & 0 deletions test/schoolie_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require "test_helper"

# A suite of minitests for the gem.
class SchoolieTest < Minitest::Test
def test_that_it_has_a_version_number
refute_nil ::Schoolie::VERSION
Expand Down