Skip to content

Commit

Permalink
Fix gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Jun 7, 2016
1 parent 067d4d0 commit 77c38df
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions rubocop-exception_call.gemspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@ Gem::Specification.new do |spec|
spec.authors = ["Masataka Kuwabara"] spec.authors = ["Masataka Kuwabara"]
spec.email = ["p.ck.t22@gmail.com"] spec.email = ["p.ck.t22@gmail.com"]


spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.} spec.summary = %q{例外送出の際のカンマ忘れを指摘するRubocopプラグイン}
spec.description = %q{TODO: Write a longer description or delete this line.} spec.description = %q{例外送出の際のカンマ忘れを指摘するRubocopプラグイン}
spec.homepage = "TODO: Put your gem's website or public repo URL here." spec.homepage = "https://github.com/actcat/rubocop-exception_call"

# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
# delete this section to allow pushing this gem to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end


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


spec.add_runtime_dependency "rubocop", "~> 0.40.0"

spec.add_development_dependency "bundler", "~> 1.11" spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rake", "~> 10.0"

spec.add_development_dependency "rspec", "~> 3.4.0"
spec.add_development_dependency 'pry', '~> 0.10.3'
end end

0 comments on commit 77c38df

Please sign in to comment.