Skip to content

Commit

Permalink
Update gems + fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Mar 12, 2018
1 parent d3ee5c8 commit 753a675
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 41 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GEM
method_source (0.9.0)
minitest (5.11.3)
parallel (1.12.1)
parser (2.5.0.2)
parser (2.5.0.3)
ast (~> 2.4.0)
powerpack (0.1.1)
pry (0.11.3)
Expand All @@ -46,15 +46,15 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rubocop (0.52.1)
rubocop (0.53.0)
parallel (~> 1.10)
parser (>= 2.4.0.2, < 3.0)
parser (>= 2.5)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec (1.23.0)
rubocop (>= 0.52.1)
rubocop-rspec (1.24.0)
rubocop (>= 0.53.0)
ruby-progressbar (1.9.0)
thor (0.20.0)
thread_safe (0.3.6)
Expand Down
2 changes: 1 addition & 1 deletion enumerate_it.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.expand_path('../lib/enumerate_it/version', __FILE__)
require File.expand_path('lib/enumerate_it/version', __dir__)

Gem::Specification.new do |gem|
gem.authors = ['Cássio Marques', 'Lucas Caton']
Expand Down
8 changes: 4 additions & 4 deletions gemfiles/rails_3.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 3.0.20"
gem "activerecord", "~> 3.0.20"
gem 'activerecord', '~> 3.0.20'
gem 'activesupport', '~> 3.0.20'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_3.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 3.1.12"
gem "activerecord", "~> 3.1.12"
gem 'activerecord', '~> 3.1.12'
gem 'activesupport', '~> 3.1.12'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_3.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 3.2.22.5"
gem "activerecord", "~> 3.2.22.5"
gem 'activerecord', '~> 3.2.22.5'
gem 'activesupport', '~> 3.2.22.5'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_4.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 4.0.13"
gem "activerecord", "~> 4.0.13"
gem 'activerecord', '~> 4.0.13'
gem 'activesupport', '~> 4.0.13'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_4.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 4.1.16"
gem "activerecord", "~> 4.1.16"
gem 'activerecord', '~> 4.1.16'
gem 'activesupport', '~> 4.1.16'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_4.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 4.2.10"
gem "activerecord", "~> 4.2.10"
gem 'activerecord', '~> 4.2.10'
gem 'activesupport', '~> 4.2.10'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_5.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 5.0.6"
gem "activerecord", "~> 5.0.6"
gem 'activerecord', '~> 5.0.6'
gem 'activesupport', '~> 5.0.6'

gemspec path: "../"
gemspec path: '../'
8 changes: 4 additions & 4 deletions gemfiles/rails_5.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "activesupport", "~> 5.1.5"
gem "activerecord", "~> 5.1.5"
gem 'activerecord', '~> 5.1.5'
gem 'activesupport', '~> 5.1.5'

gemspec path: "../"
gemspec path: '../'
2 changes: 1 addition & 1 deletion lib/generators/enumerate_it/enum/enum_generator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module EnumerateIt
module Generators
class EnumGenerator < Rails::Generators::NamedBase
source_root File.expand_path('../templates', __FILE__)
source_root File.expand_path('templates', __dir__)

argument :attributes, type: 'array'

Expand Down
2 changes: 1 addition & 1 deletion spec/enumerate_it/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class ActiveRecordStub
attr_accessor :bla

class << self
def validates_inclusion_of(_)
def validates_inclusion_of(_attribute)
true
end

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)

require 'enumerate_it'

Expand Down

0 comments on commit 753a675

Please sign in to comment.