Sha256: 909a7f2e6126ed227e47b8190cb20c98a9a5dfef05ba91d946eede405c6eee1b

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

task :gemspec do
  gemspec = Gem::Specification.new do |spec|
    spec.name          = 'inquery'
    spec.version       = IO.read('VERSION').chomp
    spec.authors       = ['Sitrox']
    spec.summary       = %(
      A skeleton that allows extracting queries into atomic, reusable classes.
    )
    spec.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
    spec.executables   = []
    spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
    spec.require_paths = ['lib']

    spec.add_development_dependency 'bundler', '~> 1.3'
    spec.add_development_dependency 'rake'
    spec.add_development_dependency 'sqlite3'
    spec.add_development_dependency 'haml'
    spec.add_development_dependency 'yard'
    spec.add_development_dependency 'rubocop', '0.35.1'
    spec.add_development_dependency 'redcarpet'
    spec.add_dependency 'minitest'
    spec.add_dependency 'activesupport'
    spec.add_dependency 'activerecord'
    spec.add_dependency 'schemacop', '>= 1.0.1'
  end

  File.open('inquery.gemspec', 'w') { |f| f.write(gemspec.to_ruby.strip) }
end

require 'rake/testtask'

Rake::TestTask.new do |t|
  t.pattern = 'test/inquery/**/*_test.rb'
  t.verbose = false
  t.libs << 'test'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inquery-0.0.1 Rakefile