From c2d0316b54572d9f85369356ab6fea6cc813b6ec Mon Sep 17 00:00:00 2001 From: Yuki Matsukura Date: Wed, 20 Apr 2016 12:29:23 +0900 Subject: [PATCH] exclude rubocop check --- .rubocop.yml | 1 + bin/console | 7 +++---- lib/spike.rb | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 1347b8c..b1d695f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -18,4 +18,5 @@ AllCops: TargetRubyVersion: 2.2 Exclude: - 'bin/test.rb' + - 'vendor/**/*' diff --git a/bin/console b/bin/console index 78bd252..5b1ee48 100755 --- a/bin/console +++ b/bin/console @@ -1,7 +1,7 @@ #!/usr/bin/env ruby -require "bundler/setup" -require "spike" +require 'bundler/setup' +require 'spike' # 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. @@ -10,6 +10,5 @@ require "spike" # require "pry" # Pry.start -require "irb" +require 'irb' IRB.start - diff --git a/lib/spike.rb b/lib/spike.rb index c57dc51..9f73cab 100644 --- a/lib/spike.rb +++ b/lib/spike.rb @@ -9,7 +9,6 @@ # Main class # class Spike - API_BASE = 'https://api.spike.cc'.freeze API_VERSION = '/v1'.freeze API_URL = API_BASE + API_VERSION @@ -78,4 +77,3 @@ def handle_response(curl) end end end -