Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update rubocop dependency to >= 0.23
  • Loading branch information
sferik committed Jun 22, 2014
1 parent 1cbc468 commit 92f002d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .rspec
@@ -1,2 +1 @@
--color
--format=doc
2 changes: 1 addition & 1 deletion .rubocop.yml
@@ -1,5 +1,5 @@
AllCops:
Includes:
Include:
- 'Gemfile'
- 'Rakefile'
- 'mlb.gemspec'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -18,7 +18,7 @@ group :test do
gem 'coveralls', :require => false
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
gem 'rspec', '>= 2.14'
gem 'rubocop', '>= 0.19', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'rubocop', '>= 0.23', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'simplecov', :require => false
gem 'webmock'
gem 'yardstick'
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -25,10 +25,10 @@ end

begin
require 'rubocop/rake_task'
Rubocop::RakeTask.new
RuboCop::RakeTask.new
rescue LoadError
task :rubocop do
$stderr.puts 'Rubocop is disabled'
$stderr.puts 'RuboCop is disabled'
end
end

Expand All @@ -42,7 +42,7 @@ end

require 'yardstick/rake/verify'
Yardstick::Rake::Verify.new do |verify|
verify.threshold = 56.2
verify.threshold = 56.5
end

task :default => [:spec, :rubocop, :verify_measurements]
2 changes: 0 additions & 2 deletions lib/mlb/request.rb
Expand Up @@ -11,8 +11,6 @@ def self.get(path, options = {})
end.body
end

private

def self.connection
Faraday.new(:url => 'https://www.googleapis.com', :ssl => {:verify => false}) do |builder|
builder.request :url_encoded
Expand Down

0 comments on commit 92f002d

Please sign in to comment.