Skip to content

Commit

Permalink
Fixing rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
crojasaragonez committed Jul 23, 2015
1 parent c5d4f1b commit c63213d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -32,7 +32,6 @@ Or, if you want to use RspecPacmanFormatter::Pacman as your default formatter, s

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rspec_pacman_formatter.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
@@ -1,6 +1,6 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
task default: :spec
6 changes: 3 additions & 3 deletions bin/console
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "rspec_pacman_formatter"
require 'bundler/setup'
require 'rspec_pacman_formatter'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
Expand All @@ -10,5 +10,5 @@ require "rspec_pacman_formatter"
# require "pry"
# Pry.start

require "irb"
require 'irb'
IRB.start
1 change: 0 additions & 1 deletion lib/rspec_pacman_formatter.rb
Expand Up @@ -2,5 +2,4 @@
require 'rspec_pacman_formatter/pacman'

module RspecPacmanFormatter

end
2 changes: 1 addition & 1 deletion rspec_pacman_formatter.gemspec
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
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."
fail '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)/}) }
Expand Down

0 comments on commit c63213d

Please sign in to comment.