Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
- gemspec strategy
- asetus must be >= 0.4
- sequel can be the ubuntu/debian version, but can be updated to the
latest version
  • Loading branch information
robertcheramy committed Feb 18, 2025
1 parent 9bee34b commit f2e2371
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
inherit_from: .rubocop_todo.yml

plugins:
- rubocop-rake
- rubocop-minitest

require:
- rubocop-sequel

AllCops:
NewCops: enable
# Do not attempt to police vendored code
Expand Down Expand Up @@ -104,8 +111,3 @@ Metrics/ParameterLists:

Lint/EmptyBlock:
Enabled: false

require:
- rubocop-rake
- rubocop-minitest
- rubocop-sequel
19 changes: 15 additions & 4 deletions oxidized.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 3.1'

s.add_dependency 'asetus', '~> 0.1'
# Gemspec strategy
#
# For dependency and optional dependencies, we try to set the minimal
# dependency lower than the Ubuntu Noble or Debian Bookworm package version,
# so that native packages can be used.
# We limit the maximal version so that dependabot can warn about new versions
# and we can test them before activating them in Oxidized.
#
# development dependencies are set to the latest minor version of a library
# and updated after having tested them

s.add_dependency 'asetus', '~> 0.4'
s.add_dependency 'bcrypt_pbkdf', '~> 1.0'
s.add_dependency 'ed25519', '~> 1.2'
s.add_dependency 'net-ftp', '~> 0.2'
Expand All @@ -41,14 +52,14 @@ Gem::Specification.new do |s|
s.add_development_dependency 'pry', '~> 0.15.0'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rubocop', '~> 1.72.0'
s.add_development_dependency 'rubocop-minitest', '~> 0.36.0'
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
s.add_development_dependency 'rubocop-minitest', '~> 0.37.0'
s.add_development_dependency 'rubocop-rake', '~> 0.7.0'
s.add_development_dependency 'rubocop-sequel', '~> 0.3.3'
s.add_development_dependency 'simplecov', '~> 0.22.0'
s.add_development_dependency 'simplecov-cobertura', '~> 2.1.0'
s.add_development_dependency 'simplecov-html', '~> 0.13.1'

# Dependencies on optional libraries, used for unit tests & development
s.add_development_dependency 'oxidized-web', '>= 0.15.0'
s.add_development_dependency 'sequel', '~> 5.88.0'
s.add_development_dependency 'sequel', '>= 5.63.0', '<= 5.89.0'
end

0 comments on commit f2e2371

Please sign in to comment.