imageaid/rails_service_generator

View on GitHub
rails_services.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'rake'
require_relative 'lib/rails_services/version'

Gem::Specification.new do |gem|
  gem.name          = 'rails_services'
  gem.version       = RailsServices::VERSION
  gem.authors       = ['Craig Kaminsky']
  gem.email         = ['imageaid@gmail.com']
  gem.summary       = 'A Ruby gem that adds a rails generator for creating service classes and form object.'
  gem.description   = 'Speed up development when using Service layers and Form objects by easily creating those classes and their attending test file.'
  gem.homepage      = 'https://github.com/imageaid/rails_service_generator'
  gem.license       = 'MIT'

  gem.files         = Dir.glob('{bin,lib}/**/*') + %w[LICENSE.txt README.md CHANGELOG.md]

  gem.executables   = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
  gem.test_files    = `git ls-files -- {test,gem,features}/*`.split("\n")
  gem.require_paths = ['lib']

  gem.add_runtime_dependency 'rails'

  gem.add_development_dependency 'minitest'
  gem.add_development_dependency 'minitest-reporters'
  gem.add_development_dependency 'rake'
end