pg_objects.gemspec in pg_objects-0.3.4 vs pg_objects.gemspec in pg_objects-0.4.2
- old
+ new
@@ -9,25 +9,26 @@
spec.email = ['denis.kiselyov@gmail.com']
spec.license = 'MIT'
spec.summary = %q(Simple manager for PostgreSQL objects like triggers and functions)
spec.homepage = 'https://github.com/marinazzio/pg_objects'
- spec.required_ruby_version = '>= 2.5'
+ spec.required_ruby_version = '>= 2.3.8'
spec.metadata = {
- 'bug_tracker_uri' => 'https://github.com/marinazzio/pg_objects/issues',
+ 'bug_tracker_uri' => 'https://github.com/marinazzio/pg_objects/issues',
'documentation_uri' => 'https://github.com/marinazzio/pg_objects/blob/master/README.md',
- 'homepage_uri' => 'https://github.com/marinazzio/pg_objects',
- 'source_code_uri' => 'https://github.com/marinazzio/pg_objects'
+ 'homepage_uri' => 'https://github.com/marinazzio/pg_objects',
+ 'source_code_uri' => 'https://github.com/marinazzio/pg_objects'
}
- spec.post_install_message = %q(
- Now execute this to create directories structure:
+ spec.post_install_message = <<-MSG
+ To create initial directories structure run:
- $ bundle exec rails generate pg_objects:install
- )
+ $ bundle exec rails generate pg_objects:install
+ MSG
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
@@ -41,16 +42,16 @@
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_dependency 'activerecord', '~> 5'
+ spec.add_dependency 'activerecord', '>= 4', '< 6'
spec.add_dependency 'pg_query', '~> 1'
- spec.add_dependency 'railties', '~> 5'
+ spec.add_dependency 'railties', '>= 4', '< 6'
spec.add_dependency 'rake-hooks', '~> 1'
- spec.add_development_dependency 'bundler', '~> 1'
- spec.add_development_dependency 'rake', '~> 10'
- spec.add_development_dependency 'rspec', '~> 3'
- spec.add_development_dependency 'rubocop', '>= 0.59'
- spec.add_development_dependency 'rubocop-rspec', '>= 1.30'
+ spec.add_development_dependency 'bundler'
+ spec.add_development_dependency 'rake'
+ spec.add_development_dependency 'rspec'
+ spec.add_development_dependency 'rubocop'
+ spec.add_development_dependency 'rubocop-rspec'
end