From bef4e587870ef85eae11682dbe6b833adb2ddeaf Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Michetti Date: Tue, 10 May 2022 19:15:51 -0300 Subject: [PATCH 1/5] added activesupport --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 6896acb1..c058ff48 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ source 'https://rubygems.org' gemspec group :development do + gem 'activesupport' gem 'github_changelog_generator' gem 'pry' gem 'rubocop' From 04a75a78b4567ffd7d1535f62307f0194c0a5037 Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Michetti Date: Tue, 10 May 2022 19:16:22 -0300 Subject: [PATCH 2/5] fixed file.blank is not a method --- lib/brcobranca/retorno/cnab400/base.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/brcobranca/retorno/cnab400/base.rb b/lib/brcobranca/retorno/cnab400/base.rb index 0b992a31..600c7937 100644 --- a/lib/brcobranca/retorno/cnab400/base.rb +++ b/lib/brcobranca/retorno/cnab400/base.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true - +require 'active_support' +require 'active_support/core_ext' require 'parseline' module Brcobranca From 771c65e60cd6ecfc6dc4cfa8789b5e4e0f73eb22 Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Michetti Date: Wed, 11 May 2022 11:43:32 -0300 Subject: [PATCH 3/5] fixing code style --- Gemfile | 2 +- lib/brcobranca/retorno/cnab400/base.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index c058ff48..739d92b0 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ source 'https://rubygems.org' gemspec group :development do - gem 'activesupport' + gem "activesupport" gem 'github_changelog_generator' gem 'pry' gem 'rubocop' diff --git a/lib/brcobranca/retorno/cnab400/base.rb b/lib/brcobranca/retorno/cnab400/base.rb index 600c7937..9d274aa3 100644 --- a/lib/brcobranca/retorno/cnab400/base.rb +++ b/lib/brcobranca/retorno/cnab400/base.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'active_support' -require 'active_support/core_ext' +require "active_support" +require "active_support/core_ext" require 'parseline' module Brcobranca From 4cc79e5e5389a04ae34c949ab1eef9bae655e9ba Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Michetti Date: Wed, 11 May 2022 14:20:17 -0300 Subject: [PATCH 4/5] optimized imports --- lib/brcobranca/retorno/cnab400/base.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/brcobranca/retorno/cnab400/base.rb b/lib/brcobranca/retorno/cnab400/base.rb index 9d274aa3..25e71ea3 100644 --- a/lib/brcobranca/retorno/cnab400/base.rb +++ b/lib/brcobranca/retorno/cnab400/base.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require "active_support" -require "active_support/core_ext" +require 'active_support/core_ext/object/blank' require 'parseline' module Brcobranca From 1fa4196e7c8beb9e35d61529dcc0ebbe404d64a8 Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Michetti Date: Wed, 11 May 2022 19:06:18 -0300 Subject: [PATCH 5/5] removed unused --- Gemfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile b/Gemfile index 739d92b0..6896acb1 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,6 @@ source 'https://rubygems.org' gemspec group :development do - gem "activesupport" gem 'github_changelog_generator' gem 'pry' gem 'rubocop'