warp-dir 1.6.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +27 -0
- data/.github/workflows/ruby.yml +27 -0
- data/.github/workflows/shellcheck.yml +18 -0
- data/.gitignore +1 -0
- data/.idea/runConfigurations/All_Specs.xml +6 -9
- data/{.relaxed-rubocop-2.4.yml → .relaxed-rubocop-2.5.yml} +3 -24
- data/.rspec +1 -0
- data/.rubocop.yml +8 -2
- data/.rubocop_todo.yml +685 -0
- data/Gemfile +2 -3
- data/LICENSE +2 -2
- data/README.adoc +244 -0
- data/Rakefile +19 -58
- data/bin/console +5 -4
- data/bin/warp-dir.bash +211 -55
- data/exe/warp-dir +3 -2
- data/lib/warp/dir/app/cli.rb +5 -5
- data/lib/warp/dir/app/response.rb +8 -10
- data/lib/warp/dir/command/clean.rb +1 -1
- data/lib/warp/dir/command/help.rb +0 -1
- data/lib/warp/dir/command/install.rb +12 -15
- data/lib/warp/dir/command/ls.rb +3 -3
- data/lib/warp/dir/command.rb +2 -2
- data/lib/warp/dir/config.rb +1 -1
- data/lib/warp/dir/errors.rb +3 -0
- data/lib/warp/dir/formatter.rb +2 -2
- data/lib/warp/dir/point.rb +1 -2
- data/lib/warp/dir/serializer/dotfile.rb +1 -1
- data/lib/warp/dir/version.rb +10 -7
- data/lib/warp/dir.rb +6 -6
- data/warp-dir.gemspec +8 -3
- metadata +70 -25
- data/.atom-build.json +0 -22
- data/.codeclimate.yml +0 -22
- data/.travis.yml +0 -26
- data/Guardfile +0 -14
- data/README.md +0 -178
- data/ROADMAP.md +0 -96
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f302af6a72b62130b212708a9c2d87b72ba51e87cb12e4292dc039c75b3fc4f
|
4
|
+
data.tar.gz: 7f9175798117c70bea01c05ff1fc845e938d5419cbb0738a81d30cf6176c81e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb713783137aca337252c0e4bbf97d39e79b149f967c8253b9fe2b915968e09b55e7b9a03116db86a19116c82d4e1fcb6f7a33b39b300227877302070bc693bc
|
7
|
+
data.tar.gz: 6bda33504db2d4e544b76317b85823225ff64d6572f041dbd79f935de316918f419906e16d7f17862dc98a7a95c6909e1d7c71c0d2572cda9b4846e3dd98c1a9
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Rubocop
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version: ['3.1', '3.0', '2.7', '2.6']
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
21
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby-version }}
|
24
|
+
- name: Install dependencies
|
25
|
+
run: bundle install -j 8
|
26
|
+
- name: Run Rubocop
|
27
|
+
run: bundle exec rubocop
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version: ['3.1', '3.0', '2.7', '2.6']
|
17
|
+
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
21
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby-version }}
|
24
|
+
- name: Install dependencies
|
25
|
+
run: bundle install -j 8
|
26
|
+
- name: Run Rubocop
|
27
|
+
run: bundle exec rspec --format documentation
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name: ShellCheck
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
shellcheck:
|
11
|
+
name: Shellcheck
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Run ShellCheck
|
16
|
+
uses: ludeeus/action-shellcheck@master
|
17
|
+
with:
|
18
|
+
scandir: './bin'
|
data/.gitignore
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
<component name="ProjectRunConfigurationManager">
|
2
2
|
<configuration default="false" name="All Specs" type="RSpecRunConfigurationType" factoryName="RSpec">
|
3
|
-
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
4
3
|
<module name="warp-dir" />
|
4
|
+
<predefined_log_file enabled="true" id="RUBY_RSPEC" />
|
5
5
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
6
6
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
7
7
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
8
8
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
9
9
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
10
|
-
<
|
11
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
10
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" BUNDLE_MODE="AUTO" bundleExecEnabled="true" />
|
12
11
|
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
13
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension"
|
14
|
-
|
15
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
16
|
-
</COVERAGE_PATTERN>
|
17
|
-
</EXTENSION>
|
12
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" runner="rcov" />
|
13
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
|
18
14
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$MODULE_DIR$/spec" />
|
19
15
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
16
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATHS" VALUE="" />
|
20
17
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
21
18
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
22
19
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
@@ -28,6 +25,6 @@
|
|
28
25
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
29
26
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
30
27
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="true" />
|
31
|
-
<method />
|
28
|
+
<method v="2" />
|
32
29
|
</configuration>
|
33
30
|
</component>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Relaxed.Ruby.Style
|
2
|
-
## Version 2.
|
2
|
+
## Version 2.5
|
3
3
|
|
4
4
|
Style/Alias:
|
5
5
|
Enabled: false
|
@@ -105,9 +105,6 @@ Layout/SpaceInsideParens:
|
|
105
105
|
Enabled: false
|
106
106
|
StyleGuide: https://relaxed.ruby.style/#layoutspaceinsideparens
|
107
107
|
|
108
|
-
Layout/LineLength:
|
109
|
-
Enabled: false
|
110
|
-
|
111
108
|
Style/SpecialGlobalVars:
|
112
109
|
Enabled: false
|
113
110
|
StyleGuide: https://relaxed.ruby.style/#stylespecialglobalvars
|
@@ -148,27 +145,9 @@ Lint/AssignmentInCondition:
|
|
148
145
|
Enabled: false
|
149
146
|
StyleGuide: https://relaxed.ruby.style/#lintassignmentincondition
|
150
147
|
|
151
|
-
|
152
|
-
Enabled: false
|
153
|
-
|
154
|
-
Metrics/BlockNesting:
|
155
|
-
Enabled: false
|
156
|
-
|
157
|
-
Metrics/ClassLength:
|
158
|
-
Enabled: false
|
159
|
-
|
160
|
-
Metrics/ModuleLength:
|
161
|
-
Enabled: false
|
162
|
-
|
163
|
-
Metrics/CyclomaticComplexity:
|
164
|
-
Enabled: false
|
165
|
-
|
166
|
-
Metrics/MethodLength:
|
167
|
-
Enabled: false
|
168
|
-
|
169
|
-
Metrics/ParameterLists:
|
148
|
+
Layout/LineLength:
|
170
149
|
Enabled: false
|
171
150
|
|
172
|
-
Metrics
|
151
|
+
Metrics:
|
173
152
|
Enabled: false
|
174
153
|
|
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- .relaxed-rubocop-2.5.yml
|
3
|
+
- .rubocop_todo.yml
|
2
4
|
|
3
5
|
AllCops:
|
4
|
-
|
6
|
+
NewCops: enable
|
7
|
+
TargetRubyVersion: 2.7
|
5
8
|
UseCache: true
|
6
9
|
DefaultFormatter: progress
|
7
10
|
DisplayStyleGuide: true
|
@@ -34,3 +37,6 @@ Style/Dir:
|
|
34
37
|
Layout/MultilineMethodCallIndentation:
|
35
38
|
Enabled: true
|
36
39
|
EnforcedStyle: indented_relative_to_receiver
|
40
|
+
|
41
|
+
Metrics/BlockLength:
|
42
|
+
Enabled: false
|