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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13fedeb50f7cbd5f98dc4ea6f7508809cbfa621032819a9232f923f66435f115
4
- data.tar.gz: 221a21c899b0419014766a712dc0eb04d35e4c967cacc5ee2d1881a2eb96e1ad
3
+ metadata.gz: 7f302af6a72b62130b212708a9c2d87b72ba51e87cb12e4292dc039c75b3fc4f
4
+ data.tar.gz: 7f9175798117c70bea01c05ff1fc845e938d5419cbb0738a81d30cf6176c81e2
5
5
  SHA512:
6
- metadata.gz: 414ca1912c999aeb8fc77edaa7f123c8f4f148b274d115f58720437dc42ad39b27d76a3ddee6feef8372fe1f74595cc47518e759dd06e992b0641fff14b31b46
7
- data.tar.gz: a66aaca3e1015dbafd9e288e8d7e2fc1146934348dcb6197d945738598743e77dfbee804e60b492268eac9de0eac2b275a73caeb0f7d3875adbb9d88f81d2176
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
@@ -17,3 +17,4 @@ test/version_tmp
17
17
  tmp
18
18
  vendor/
19
19
  **/.DS_Store
20
+ /doc
@@ -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
- <envs />
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" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
14
- <COVERAGE_PATTERN ENABLED="true">
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.4
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
- Metrics/AbcSize:
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/PerceivedComplexity:
151
+ Metrics:
173
152
  Enabled: false
174
153
 
data/.rspec CHANGED
@@ -1,2 +1,3 @@
1
1
  --color
2
2
  --format progress
3
+ -p 2
data/.rubocop.yml CHANGED
@@ -1,7 +1,10 @@
1
- inherit_from: .relaxed-rubocop-2.4.yml
1
+ inherit_from:
2
+ - .relaxed-rubocop-2.5.yml
3
+ - .rubocop_todo.yml
2
4
 
3
5
  AllCops:
4
- TargetRubyVersion: 2.6
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