Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move executables to exe #420

Merged
merged 1 commit into from
Dec 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ Style/SingleLineBlockParams:
# Cop supports --auto-correct.
Style/SingleSpaceBeforeFirstArg:
Exclude:
- 'bin/raven'
- 'exe/raven'

# Offense count: 45
# Cop supports --auto-correct.
Style/SpaceAfterComma:
Exclude:
- 'bin/raven'
- 'exe/raven'
- 'lib/raven/integrations/sidekiq.rb'
- 'lib/raven/processor/sanitizedata.rb'
- 'spec/raven/processors/sanitizedata_processor_spec.rb'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/raven/backtrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Line
# org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
JAVA_INPUT_FORMAT = %r{^(.+)\.([^\.]+)\(([^\:]+)\:(\d+)\)$}.freeze

APP_DIRS_PATTERN = /(bin|app|config|lib|test)/
APP_DIRS_PATTERN = /(bin|exe|app|config|lib|test)/

# The file portion of the line (such as app/models/user.rb)
attr_reader :file
Expand Down
2 changes: 1 addition & 1 deletion sentry-raven.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ require 'raven/version'
Gem::Specification.new do |gem|
gem.name = "sentry-raven"
gem.version = Raven::VERSION
gem.executables << "raven"
gem.platform = Gem::Platform::RUBY
gem.description = gem.summary = "A gem that provides a client interface for the Sentry error logger"
gem.email = "getsentry@googlegroups.com"
Expand All @@ -13,6 +12,7 @@ Gem::Specification.new do |gem|
gem.has_rdoc = true
gem.extra_rdoc_files = ["README.md", "LICENSE"]
gem.files = Dir['lib/**/*']
gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
gem.license = 'Apache-2.0'
gem.required_ruby_version = '>= 1.8.7'

Expand Down