Skip to content

Commit

Permalink
remove rubocop (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Jun 30, 2020
1 parent fa537cb commit 9613819
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 18 deletions.
4 changes: 0 additions & 4 deletions .rubocop.yml

This file was deleted.

13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
language: ruby
before_install: gem install bundler
cache: bundler
rvm:
- 2.4.0
- 2.5.0
- 2.6.0
- 2.7.0
- ruby-head
- 2.7
- 2.6
- 2.5
- 2.4
jobs:
allow_failures:
- rvm: ruby-head
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ group :test do
gem "nokogiri", require: false
end
gem 'pry-byebug'
gem 'rubocop-minitest', require: false
gem 'rubocop-performance', require: false

6 changes: 0 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ Rake::TestTask.new(:test) do |test|
test.test_files = FileList['test/**/*_test.rb']
test.verbose = true
end

Rake::TestTask.new(:dtest) do |test|
test.libs << 'test-with-deprecations'
test.test_files = FileList['test-with-deprecations/**/*_test.rb']
test.verbose = true
end
2 changes: 1 addition & 1 deletion lib/representable/debug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Debug
end

module_function def representable_log(message)
_representable_logger.debug message
_representable_logger.debug { message }
end

def update_properties_from(doc, options, format)
Expand Down
2 changes: 1 addition & 1 deletion lib/representable/pipeline_factories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module Representable
module Binding::Factories
def pipeline_for(name, input, options)
return yield unless proc = @definition[name]
return yield unless (proc = @definition[name])

# proc.(self, options)
instance_exec(input, options, &proc)
Expand Down

0 comments on commit 9613819

Please sign in to comment.