cant_wait.gemspec in cant_wait-0.0.1 vs cant_wait.gemspec in cant_wait-0.0.2
- old
+ new
@@ -4,33 +4,29 @@
require 'cant_wait/version'
Gem::Specification.new do |spec|
spec.name = 'cant_wait'
spec.version = CantWait::VERSION
- spec.authors = ['Carlos A. Carro Duplá']
- spec.email = ['ccarrodupla@gmail.com']
- spec.description = <<-EOF
- Adds a timeout setting for PostgreSQL databases in a Ruby on Rails application.
- If any SQL statement takes more time than the timeout value, it will be cancelled, and ActiveRecord
- would raise a PGError exception.
- In the config/database.yml file, indicate a timeout in milliseconds for each environment:
- production:
- adapter: postgresql
- timeout: 120_000 # 2 minutes
- ...
- (see documentation for more details)
- EOF
- spec.summary = %q{Adds statement timeout for PostgreSQL databases in Ruby on Rails. Timeout is measured in milliseconds.}
- spec.homepage = 'https://github.com/CarlosCD/cant_wait'
+ spec.platform = Gem::Platform::RUBY
+ spec.summary = 'Complements the Ruby on Rails web application framework by providing statement timeouts for PostgreSQL databases.'
+ spec.description = 'Provides statement timeouts for PostgreSQL databases in a Ruby on Rails web application. Stops any SQL statement ' <<
+ 'that takes more than a specified number of milliseconds.'
+
spec.license = 'MIT'
- spec.signing_key = '/users/CarlosCD/.ssh/private_key.pem'
- spec.cert_chain = ['/users/CarlosCD/.ssh/public_cert.pem']
- spec.add_dependency 'rails', '>= 3.0.3'
+ spec.author = 'Carlos A. Carro Duplá'
+ spec.email = 'ccarrodupla@gmail.com'
+ spec.homepage = 'https://github.com/CarlosCD/cant_wait'
+
spec.files = `git ls-files`.split($/)
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
+ spec.add_dependency 'rails', '>= 3.0.3'
+
+ spec.signing_key = '/users/CarlosCD/.ssh/private_key.pem'
+ spec.cert_chain = ['/users/CarlosCD/.ssh/public_cert.pem']
+
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake', '~> 10.0'
if RUBY_ENGINE == 'jruby' && RUBY_PLATFORM == 'java'
spec.add_development_dependency 'activerecord-jdbc-adapter', '~> 1.2'
spec.add_development_dependency 'activerecord-jdbcpostgresql-adapter', '~> 1.2'