Gem::Specification.new do |spec| spec.name = 'phone_number_validator' spec.version = '0.2.8' spec.date = Time.now.strftime("%Y-%m-%d") spec.summary = 'Validate any US phone number!' spec.description = 'This gem is a United States phone number validator. This gem uses a complex regular expression that can validate any United States phone number.' spec.author = 'bag33188' spec.email = 'bag33188@outlook.com' spec.files = `git ls-files -z`.split("\x0") # spec.files = ['phone_number_validator.gemspec', 'Gemfile', 'Rakefile', 'LICENSE', 'README.rdoc'] # spec.files += Dir['lib/**/*'] + Dir['bin/*'] + Dir['doc/**/*'] spec.require_paths = ['lib', 'lib/phone_number_validator', 'doc', 'test', 'bin', '.'] spec.test_files = ['test/test_phone_number_validator.rb'] spec.executables << 'phone_number_validator' spec.homepage = 'https://gitlab.com/bag3318/phone_number_validator' spec.license = 'MIT' spec.bindir = 'bin' spec.extra_rdoc_files = ['README.rdoc'] spec.platform = Gem::Platform::RUBY spec.required_ruby_version = '>= 2.0.0' spec.required_rubygems_version = '>= 2.6.0' spec.post_install_message = "\r\nThanks for installing my phone_number_validator gem!\r\nI hope you will enjoy using it! :)\r\n\r\n" spec.requirements << 'A Windows, Mac, or Linux computer with Ruby and RubyGems Installed.' spec.metadata = { 'Repository Host' => 'GitLab (https://gitlab.com)', 'RubyGems Web Page' => 'https://rubygems.org/gems/phone_number_validator', 'Issues' => 'https://gitlab.com/bag3318/phone_number_validator/issues' } spec.add_runtime_dependency 'bundler', '~> 1.11', '>= 1.11.2' end