Sha256: 70bfd39dc9fec2814321f07b2d943460daa375565d915337b7f27a14067d501e

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

task default: :test

task :gemspec do
  gemspec = Gem::Specification.new do |spec|
    spec.name          = 'rails_ops'
    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 'yard'
    spec.add_development_dependency 'rubocop', '0.47.1'
    spec.add_development_dependency 'redcarpet'
    spec.add_dependency 'active_type', '~> 0.7.1'
    spec.add_dependency 'minitest'
    spec.add_dependency 'activesupport'
    spec.add_dependency 'activerecord'
    spec.add_dependency 'schemacop', '~> 2.0'
  end

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

require 'rake/testtask'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_ops-1.0.0.beta1 Rakefile