relocator 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 0a8b5f3fb2b199335e7bbe203c20d1a49d32c9a5967382a38e0b7f63ab21c95c
4
+ data.tar.gz: 526ad32fd8e238f8259504849a223c7b7719bc5f0e1a8336b607cc095b02db9a
5
+ SHA512:
6
+ metadata.gz: 9e7a102893b7174bcb584ca83a55b7a655287b5dce024772312bd568adc2141b513e724d26da5fae61e663bac28fb4f92e280be9f81c67350b12d0d1a51e8c37
7
+ data.tar.gz: 04e2d26c7e73edc4a03cc9995c1477bf5c5b6b80bc900489f84b8940bada8ce029f9fe53111cfaa948f3c7084bb5e9006ba6f081a3ab870b41beb7014b10ea0d
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,12 @@
1
+ Rails:
2
+ Enabled: true
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.5
6
+
7
+ Style/StringLiterals:
8
+ EnforcedStyle: double_quotes
9
+ ConsistentQuotesInMultiline: true
10
+
11
+ Style/FrozenStringLiteralComment:
12
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.1
7
+ before_install: gem install bundler -v 1.17.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in relocator.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ relocator (0.2.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ coderay (1.1.2)
10
+ diff-lcs (1.3)
11
+ ffi (1.9.25)
12
+ formatador (0.2.5)
13
+ guard (2.15.0)
14
+ formatador (>= 0.2.4)
15
+ listen (>= 2.7, < 4.0)
16
+ lumberjack (>= 1.0.12, < 2.0)
17
+ nenv (~> 0.1)
18
+ notiffany (~> 0.0)
19
+ pry (>= 0.9.12)
20
+ shellany (~> 0.0)
21
+ thor (>= 0.18.1)
22
+ guard-compat (1.2.1)
23
+ guard-rspec (4.7.3)
24
+ guard (~> 2.1)
25
+ guard-compat (~> 1.1)
26
+ rspec (>= 2.99.0, < 4.0)
27
+ listen (3.1.5)
28
+ rb-fsevent (~> 0.9, >= 0.9.4)
29
+ rb-inotify (~> 0.9, >= 0.9.7)
30
+ ruby_dep (~> 1.2)
31
+ lumberjack (1.0.13)
32
+ method_source (0.9.2)
33
+ nenv (0.3.0)
34
+ notiffany (0.1.1)
35
+ nenv (~> 0.1)
36
+ shellany (~> 0.0)
37
+ pry (0.12.2)
38
+ coderay (~> 1.1.0)
39
+ method_source (~> 0.9.0)
40
+ rake (10.5.0)
41
+ rb-fsevent (0.10.3)
42
+ rb-inotify (0.9.10)
43
+ ffi (>= 0.5.0, < 2)
44
+ rspec (3.8.0)
45
+ rspec-core (~> 3.8.0)
46
+ rspec-expectations (~> 3.8.0)
47
+ rspec-mocks (~> 3.8.0)
48
+ rspec-core (3.8.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-expectations (3.8.2)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-mocks (3.8.0)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.8.0)
56
+ rspec-support (3.8.0)
57
+ ruby_dep (1.5.0)
58
+ shellany (0.0.1)
59
+ thor (0.20.3)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ bundler (~> 1.17)
66
+ guard (~> 2.15)
67
+ guard-rspec
68
+ rake (~> 10.0)
69
+ relocator!
70
+ rspec (~> 3.8)
71
+ thor (~> 0.20)
72
+
73
+ BUNDLED WITH
74
+ 1.17.2
data/Guardfile ADDED
@@ -0,0 +1,91 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Guard-Rails supports a lot options with default values:
19
+ # daemon: false # runs the server as a daemon.
20
+ # debugger: false # enable ruby-debug gem.
21
+ # environment: 'development' # changes server environment.
22
+ # force_run: false # kills any process that's holding the listen port before attempting to (re)start Rails.
23
+ # pid_file: 'tmp/pids/[RAILS_ENV].pid' # specify your pid_file.
24
+ # host: 'localhost' # server hostname.
25
+ # port: 3000 # server port number.
26
+ # root: '/spec/dummy' # Rails' root path.
27
+ # server: thin # webserver engine.
28
+ # start_on_start: true # will start the server when starting Guard.
29
+ # timeout: 30 # waits untill restarting the Rails server, in seconds.
30
+ # zeus_plan: server # custom plan in zeus, only works with `zeus: true`.
31
+ # zeus: false # enables zeus gem.
32
+ # CLI: 'rails server' # customizes runner command. Omits all options except `pid_file`!
33
+
34
+ # guard 'rails' do
35
+ # watch('Gemfile.lock')
36
+ # watch(%r{^(config|lib)/.*})
37
+ # end
38
+
39
+ # Note: The cmd option is now required due to the increasing number of ways
40
+ # rspec may be run, below are examples of the most common uses.
41
+ # * bundler: 'bundle exec rspec'
42
+ # * bundler binstubs: 'bin/rspec'
43
+ # * spring: 'bin/rspec' (This will use spring if running and you have
44
+ # installed the spring binstubs per the docs)
45
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
46
+ # * 'just' rspec: 'rspec'
47
+
48
+ guard :rspec, cmd: "bundle exec rspec" do
49
+ require "guard/rspec/dsl"
50
+ dsl = Guard::RSpec::Dsl.new(self)
51
+
52
+ # Feel free to open issues for suggestions and improvements
53
+
54
+ # RSpec files
55
+ rspec = dsl.rspec
56
+ watch(rspec.spec_helper) { rspec.spec_dir }
57
+ watch(rspec.spec_support) { rspec.spec_dir }
58
+ watch(rspec.spec_files)
59
+
60
+ # Ruby files
61
+ ruby = dsl.ruby
62
+ dsl.watch_spec_files_for(ruby.lib_files)
63
+
64
+ # Rails files
65
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
66
+ dsl.watch_spec_files_for(rails.app_files)
67
+ dsl.watch_spec_files_for(rails.views)
68
+
69
+ watch(rails.controllers) do |m|
70
+ [
71
+ rspec.spec.call("routing/#{m[1]}_routing"),
72
+ rspec.spec.call("controllers/#{m[1]}_controller"),
73
+ rspec.spec.call("acceptance/#{m[1]}")
74
+ ]
75
+ end
76
+
77
+ # Rails config changes
78
+ watch(rails.spec_helper) { rspec.spec_dir }
79
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
80
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
81
+
82
+ # Capybara features specs
83
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
84
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
85
+
86
+ # Turnip features and steps
87
+ watch(%r{^spec/acceptance/(.+)\.feature$})
88
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
89
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
90
+ end
91
+ end
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Relocator
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/relocator`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'relocator'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install relocator
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/relocator.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "relocator"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/relocator ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "relocator"
4
+
5
+ Relocator::CLI.start(ARGV)
@@ -0,0 +1,29 @@
1
+ class Relocator::CLI::Files
2
+ def self.call(*args)
3
+ new(*args).call
4
+ end
5
+
6
+ def initialize(class_name, glob: "**/*.rb")
7
+ self.class_name = class_name
8
+ self.glob = glob
9
+ end
10
+
11
+ def call
12
+ Dir[glob].reject do |filename|
13
+ File
14
+ .open(filename)
15
+ .grep(class_name_regexp)
16
+ .empty?
17
+ end
18
+ end
19
+
20
+ private
21
+
22
+ attr_accessor :glob, :class_name
23
+
24
+ def class_name_regexp
25
+ class_name
26
+ .yield_self { |string| Regexp.escape(string) }
27
+ .yield_self { |regexp| Regexp.new(/(class|module) #{regexp}/) }
28
+ end
29
+ end
@@ -0,0 +1,53 @@
1
+ class Relocator::CLI::Move
2
+ using Relocator::Refinements
3
+
4
+ def self.call(*args)
5
+ new(*args).call
6
+ end
7
+
8
+ def initialize(source_class_name, dest_class_name)
9
+ self.source_class_name = source_class_name
10
+ self.dest_class_name = dest_class_name
11
+ end
12
+
13
+ def call
14
+ return unless Relocator::CLI::Success.call(files)
15
+
16
+ STDOUT.puts "mv %s %s".format(code_source, code_dest)
17
+ STDOUT.puts "mv %s %s".format(spec_source, spec_dest)
18
+ STDOUT.puts replace_command
19
+ end
20
+
21
+ private
22
+
23
+ attr_accessor :source_class_name, :dest_class_name
24
+
25
+ def replace_command
26
+ "gsed -i 's/%s/%s/g' %s %s".format(
27
+ source_class_name,
28
+ dest_class_name,
29
+ code_dest,
30
+ spec_dest,
31
+ )
32
+ end
33
+
34
+ def files
35
+ @_files ||= Relocator::CLI::Files.call(source_class_name)
36
+ end
37
+
38
+ def code_source
39
+ files.first
40
+ end
41
+
42
+ def spec_source
43
+ Relocator::Path::Spec.call(code_source)
44
+ end
45
+
46
+ def code_dest
47
+ @_code_dest ||= Relocator::Path::Formatter.call(dest_class_name, code_source)
48
+ end
49
+
50
+ def spec_dest
51
+ @_spec_dest ||= Relocator::Path::Spec.call(code_dest)
52
+ end
53
+ end
@@ -0,0 +1,42 @@
1
+ # Determines if exactly one matching file was found. If so, it returns
2
+ # turth, otherwise it fails with adequate error message.
3
+
4
+ class Relocator::CLI::Success
5
+ using Relocator::Refinements
6
+
7
+ def self.call(*args)
8
+ new(*args).call
9
+ end
10
+
11
+ def initialize(files)
12
+ self.files = files
13
+ end
14
+
15
+ def call
16
+ case files.length
17
+ when 0
18
+ raise Thor::Error, "Entity definition not found."
19
+ when 1
20
+ true
21
+ else
22
+ raise Thor::Error, multiple_files_error_message.join("\n")
23
+ end
24
+ end
25
+
26
+ private
27
+
28
+ attr_accessor :files
29
+
30
+ def multiple_files_error_message
31
+ [
32
+ "Multiple definitions of entity found.",
33
+ *formatted_files,
34
+ ]
35
+ end
36
+
37
+ def formatted_files
38
+ files.map do |name|
39
+ " - %<name>s".format(name: name)
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,8 @@
1
+ class Relocator::CLI < Thor
2
+ desc "move SOURCE DESTINATION",
3
+ "Move Entity from one location to another"
4
+
5
+ def move(src, dst)
6
+ Relocator::CLI::Move.call(src, dst)
7
+ end
8
+ end
@@ -0,0 +1,30 @@
1
+ class Relocator::Path::Formatter
2
+ def self.call(*args)
3
+ new(*args).call
4
+ end
5
+
6
+ def initialize(output, filename)
7
+ self.output = output
8
+ self.filename = filename
9
+ end
10
+
11
+ def call
12
+ Pathname
13
+ .new("")
14
+ .join(*parts, output_underscore)
15
+ .sub_ext(".rb")
16
+ .to_s
17
+ end
18
+
19
+ private
20
+
21
+ attr_accessor :output, :filename
22
+
23
+ def parts
24
+ filename.split("/", 3)[0..-2][0..1]
25
+ end
26
+
27
+ def output_underscore
28
+ Relocator::Support::Underscore.call(output)
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ class Relocator::Path::Spec
2
+ def self.call(*args)
3
+ new(*args).call
4
+ end
5
+
6
+ def initialize(string)
7
+ self.string = string
8
+ end
9
+
10
+ def call
11
+ string
12
+ .split("/")
13
+ .yield_self(&replace)
14
+ .join("/")
15
+ end
16
+
17
+ private
18
+
19
+ attr_accessor :string
20
+
21
+ def replace
22
+ Proc.new do |parts|
23
+ [
24
+ "spec",
25
+ *parts[1..-2],
26
+ parts[-1].gsub(".rb", "_spec.rb")
27
+ ]
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,2 @@
1
+ module Relocator::Path
2
+ end
@@ -0,0 +1,9 @@
1
+ module Relocator
2
+ module Refinements
3
+ refine String do
4
+ def format(*args)
5
+ Kernel.format(self, *args)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,24 @@
1
+ class Relocator::Support::Underscore
2
+ def self.call(*args)
3
+ new(*args).call
4
+ end
5
+
6
+ def initialize(string)
7
+ self.string = string.to_s
8
+ end
9
+
10
+ def call
11
+ return string unless /[A-Z-]|::/.match?(string)
12
+
13
+ string
14
+ .gsub("::".freeze, "/".freeze)
15
+ .gsub(/([A-Z\d]+)([A-Z][a-z])/, '\1_\2'.freeze)
16
+ .gsub(/([a-z\d])([A-Z])/, '\1_\2'.freeze)
17
+ .tr("-".freeze, "_".freeze)
18
+ .downcase
19
+ end
20
+
21
+ private
22
+
23
+ attr_accessor :string
24
+ end
@@ -0,0 +1,2 @@
1
+ module Relocator::Support
2
+ end
@@ -0,0 +1,3 @@
1
+ module Relocator
2
+ VERSION = "0.2.0"
3
+ end
data/lib/relocator.rb ADDED
@@ -0,0 +1,16 @@
1
+ require "thor"
2
+
3
+ require "relocator/version"
4
+ require "relocator/refinements"
5
+ require "relocator/support"
6
+ require "relocator/support/underscore"
7
+ require "relocator/path"
8
+ require "relocator/path/spec"
9
+ require "relocator/path/formatter"
10
+ require "relocator/cli"
11
+ require "relocator/cli/files"
12
+ require "relocator/cli/success"
13
+ require "relocator/cli/move"
14
+
15
+ module Relocator
16
+ end
data/relocator.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require "relocator/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "relocator"
8
+ spec.version = Relocator::VERSION
9
+ spec.authors = ["Aleksander Długopolski"]
10
+ spec.email = ["aleks@dotpro.org"]
11
+ spec.summary = "Command line utility to move classes in Ruby projects"
12
+ spec.homepage = "https://github.com/adlugopolski/relocator"
13
+ spec.bindir = "exe"
14
+ spec.executables = ["relocator"]
15
+ spec.require_paths = ["lib"]
16
+
17
+ spec.add_development_dependency "bundler", "~> 1.17"
18
+ spec.add_development_dependency "guard", "~> 2.15"
19
+ spec.add_development_dependency "guard-rspec"
20
+ spec.add_development_dependency "rake", "~> 10.0"
21
+ spec.add_development_dependency "rspec", "~> 3.8"
22
+ spec.add_development_dependency "thor", "~> 0.20"
23
+
24
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
25
+ %x[git ls-files -z].split("\x0").reject do |filename|
26
+ filename.match(%r{^(test|spec|features)/})
27
+ end
28
+ end
29
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: relocator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Aleksander Długopolski
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-12-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.17'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: guard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.15'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.15'
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard-rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: thor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.20'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.20'
97
+ description:
98
+ email:
99
+ - aleks@dotpro.org
100
+ executables:
101
+ - relocator
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".rubocop.yml"
108
+ - ".travis.yml"
109
+ - Gemfile
110
+ - Gemfile.lock
111
+ - Guardfile
112
+ - README.md
113
+ - Rakefile
114
+ - bin/console
115
+ - bin/setup
116
+ - exe/relocator
117
+ - lib/relocator.rb
118
+ - lib/relocator/cli.rb
119
+ - lib/relocator/cli/files.rb
120
+ - lib/relocator/cli/move.rb
121
+ - lib/relocator/cli/success.rb
122
+ - lib/relocator/path.rb
123
+ - lib/relocator/path/formatter.rb
124
+ - lib/relocator/path/spec.rb
125
+ - lib/relocator/refinements.rb
126
+ - lib/relocator/support.rb
127
+ - lib/relocator/support/underscore.rb
128
+ - lib/relocator/version.rb
129
+ - relocator.gemspec
130
+ homepage: https://github.com/adlugopolski/relocator
131
+ licenses: []
132
+ metadata: {}
133
+ post_install_message:
134
+ rdoc_options: []
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ requirements: []
148
+ rubyforge_project:
149
+ rubygems_version: 2.7.6
150
+ signing_key:
151
+ specification_version: 4
152
+ summary: Command line utility to move classes in Ruby projects
153
+ test_files: []