```ruby
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'lotus/validations/version'

Gem::Specification.new do |spec|
  spec.name          = 'lotus-validations'
  spec.version       = Lotus::Validations::VERSION
  spec.authors       = ['Luca Guidi']
  spec.email         = ['me@lucaguidi.com']
  spec.summary       = %q{Validations for Lotus}
  spec.description   = %q{Validate attributes on a class and manage error messages accordingly}
  spec.homepage      = 'http://lotusrb.org'
  spec.license       = 'MIT'

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

  spec.add_dependency 'lotus-utils', '~> 0.3'

  spec.add_development_dependency 'bundler',   '~> 1.6'
  spec.add_development_dependency 'minitest',  '~> 5'
  spec.add_development_dependency 'rake',      '~> 10'
end
```

Exclude test files from the gem. Requires a version of Ruby 2+
user
```ruby
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'lotus/validations/version'

Gem::Specification.new do |spec|
  spec.name          = 'lotus-validations'
  spec.version       = Lotus::Validations::VERSION
  spec.authors       = ['Luca Guidi']
  spec.email         = ['me@lucaguidi.com']
  spec.summary       = %q{Validations for Lotus}
  spec.description   = %q{Validate attributes on a class and manage error messages accordingly}
  spec.homepage      = 'http://lotusrb.org'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -- lib/* CHANGELOG.md LICENSE.md README.md lotus-validations.gemspec`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']
  spec.required_ruby_version = '>= 2.0.0'

  spec.add_dependency 'lotus-utils', '~> 0.3'

  spec.add_development_dependency 'bundler',  '~> 1.6'
  spec.add_development_dependency 'minitest', '~> 5'
  spec.add_development_dependency 'rake',     '~> 10'
end
```
assistant