Sha256: c2746a9f680d37101fe176d1eb7b3ddacaa4006023eafebdcebbb92b0d6ffd6e

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# -*- encoding: utf-8 -*-

require File.dirname(__FILE__) + "/lib/null_plus/version"

Gem::Specification.new do |gem|
  gem.name          = "null_plus"
  gem.version       = NullPlus::VERSION
  gem.summary       = "+nil"
  gem.description   = "This gem redefines Ruby's unary + operator to turn null objects into nil. By default, the unary + operator is not used by Ruby, so overloading it is not so dangerous as it might have sounded to you when you read it. Every object that returns true for null? is considered a null object."
  gem.authors       = ["Jan Lelis"]
  gem.email         = ["hi@ruby.consulting"]
  gem.homepage      = "https://github.com/janlelis/null_plus"
  gem.license       = "MIT"

  gem.files         = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^pkg/ }
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

  gem.required_ruby_version = ">= 2.0"
  gem.add_dependency "null_question", "~> 1.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
null_plus-1.0.1 null_plus.gemspec