# coding: utf-8 lib = File.expand_path("../lib/", __FILE__) $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) require_relative 'config/version' Gem::Specification.new do |spec| spec.name = "my-congress" spec.version = '0.1.7' spec.authors = ["thedannysoto"] spec.email = ["87dsoto@gmail.com"] spec.summary = %q{A gem for finding current U.S. Senators and Representative for a particular location.} spec.homepage = "https://github.com/thedannysoto/my_congress" spec.license = "MIT" spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") #spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/thedannysoto/my_congress" spec.metadata["changelog_uri"] = "https://github.com/thedannysoto/my-congress" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = %w(my-congress.gemspec) + Dir["*.md", "bin/*", "lib/**/*.rb"] #spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do # `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "bin" spec.executables = %w(my_congress) spec.require_paths = %w(lib) end