Skip to content

Commit

Permalink
dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
scytherswings committed Sep 17, 2018
1 parent a1543e4 commit c9b916e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions lib/pgdice/validation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def fetch_period_from_table_comment(table_name)

def convert_comment_to_hash(comment)
return {} unless comment

partition_template = {}
comment.split(',').each do |key_value_pair|
key, value = key_value_pair.split(':')
Expand Down
28 changes: 14 additions & 14 deletions pgdice.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

# Locked because we depend on internal behavior for table commenting
spec.add_runtime_dependency 'pg', '>= 0.12.2'
spec.add_runtime_dependency 'pg', '~> 1.1.0', '>= 1.1.0'
spec.add_runtime_dependency 'pgslice', '0.4.4'

spec.add_development_dependency 'activesupport', '~> 5.0.0'
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'guard'
spec.add_development_dependency 'guard-minitest'
spec.add_development_dependency 'guard-rubocop'
spec.add_development_dependency 'guard-shell'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'minitest-ci'
spec.add_development_dependency 'minitest-reporters'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rubocop', '~> 0.58'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'activesupport', '~> 5.0.0', '>= 5.0.0'
spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16'
spec.add_development_dependency 'coveralls', '~> 0.8.22', '>= 0.8.22'
spec.add_development_dependency 'guard', '~> 2.14.2', '>= 2.14.2'
spec.add_development_dependency 'guard-minitest', '~> 2.4.6', '>= 2.4.6'
spec.add_development_dependency 'guard-rubocop', '~> 1.3.0', '>= 1.3.0'
spec.add_development_dependency 'guard-shell', '~> 0.7.1', '>= 0.7.1'
spec.add_development_dependency 'minitest', '~> 5.0', '>= 5.0'
spec.add_development_dependency 'minitest-ci', '~> 3.4.0', '>= 3.4.0'
spec.add_development_dependency 'minitest-reporters', '~> 1.3.4', '>= 1.3.4'
spec.add_development_dependency 'rake', '~> 10.0', '>= 10.0'
spec.add_development_dependency 'rubocop', '0.59'
spec.add_development_dependency 'simplecov', '~> 0.16.1', '>= 0.16.1'
end

0 comments on commit c9b916e

Please sign in to comment.