my-congress.gemspec in my-congress-0.1.4 vs my-congress.gemspec in my-congress-0.1.5
- old
+ new
@@ -1,10 +1,10 @@
require_relative 'config/version'
Gem::Specification.new do |spec|
spec.name = "my-congress"
- spec.version = '0.1.4'
+ spec.version = '0.1.5'
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"
@@ -17,12 +17,13 @@
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 = Dir.chdir(File.expand_path('..', __FILE__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- end
- spec.bindir = "bin"
- spec.executables = ["my_congress"]
- spec.require_paths = ["lib"]
+ 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