├── .github └── workflows │ └── main.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .ruby-version ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console ├── refactor └── setup ├── lib ├── refactor.rb └── refactor │ └── version.rb ├── refactor.gemspec ├── refactor_rules ├── big_decimal_rule.rb ├── hash_ref_default_rule.rb └── shorthand_rule.rb ├── sandbox └── experimental.rb ├── sig └── refactor.rbs └── spec ├── refactor_spec.rb └── spec_helper.rb /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-3.3.0 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/bin/console -------------------------------------------------------------------------------- /bin/refactor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/bin/refactor -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/bin/setup -------------------------------------------------------------------------------- /lib/refactor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/lib/refactor.rb -------------------------------------------------------------------------------- /lib/refactor/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Refactor 4 | VERSION = "0.1.1" 5 | end 6 | -------------------------------------------------------------------------------- /refactor.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/refactor.gemspec -------------------------------------------------------------------------------- /refactor_rules/big_decimal_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/refactor_rules/big_decimal_rule.rb -------------------------------------------------------------------------------- /refactor_rules/hash_ref_default_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/refactor_rules/hash_ref_default_rule.rb -------------------------------------------------------------------------------- /refactor_rules/shorthand_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/refactor_rules/shorthand_rule.rb -------------------------------------------------------------------------------- /sandbox/experimental.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/sandbox/experimental.rb -------------------------------------------------------------------------------- /sig/refactor.rbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/sig/refactor.rbs -------------------------------------------------------------------------------- /spec/refactor_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/spec/refactor_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baweaver/refactor/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------