Skip to content

Commit

Permalink
➕ overcommit
Browse files Browse the repository at this point in the history
- Loosen gem dependencies
  • Loading branch information
pboling committed Apr 1, 2022
1 parent 0a80a4a commit 14bc3b9
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 10 deletions.
33 changes: 33 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Use this file to configure the Overcommit hooks you wish to use. This will
# extend the default configuration defined in:
# https://github.com/sds/overcommit/blob/master/config/default.yml
#
# At the topmost level of this YAML file is a key representing type of hook
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
# customize each hook, such as whether to only run it on certain files (via
# `include`), whether to only display output if it fails (via `quiet`), etc.
#
# For a complete list of hooks, see:
# https://github.com/sds/overcommit/tree/master/lib/overcommit/hook
#
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/sds/overcommit#configuration
#
# Uncomment the following lines to make the configuration take effect.

#PreCommit:
# RuboCop:
# enabled: true
# on_warn: fail # Treat all warnings as failures
#
TrailingWhitespace:
enabled: true
# exclude:
# - '**/db/structure.sql' # Ignore trailing whitespace in generated files
#
#PostCheckout:
# ALL: # Special hook name that customizes all hooks of this type
# quiet: true # Change all post-checkout hooks to only display output on failure
#
# IndexTags:
# enabled: true # Generate a tags file with `ctags` each time HEAD changes
22 changes: 12 additions & 10 deletions dynamoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,19 @@ Gem::Specification.new do |spec|
'documentation_uri' => "https://rubydoc.info/gems/dynamoid/#{Dynamoid::VERSION}",
}

spec.add_runtime_dependency 'activemodel', '>=4'
spec.add_runtime_dependency 'activemodel', '>=4'
spec.add_runtime_dependency 'aws-sdk-dynamodb', '~> 1.0'
spec.add_runtime_dependency 'concurrent-ruby', '>= 1.0'
spec.add_runtime_dependency 'concurrent-ruby', '>= 1.0'

spec.add_development_dependency 'appraisal', '~> 2.2'
spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'coveralls', '~> 0.8'
spec.add_development_dependency 'pry', '~> 0.12.0' # Since 0.13.0 pry is incompatible with old versions of pry-byebug.
# We use these old versions of pry-byebug to run tests on Ruby 2.3 which new versions dont't support
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'yard', '~> 0.9'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'overcommit'
# Since 0.13.0 pry is incompatible with old versions of pry-byebug.
# We use these old versions of pry-byebug to run tests on Ruby 2.3 which new versions don't support
spec.add_development_dependency 'pry', '~> 0.12.0'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop', '1.12.1' # Last version compatible with Ruby 2.4
spec.add_development_dependency 'yard'
end

0 comments on commit 14bc3b9

Please sign in to comment.