standard 1.35.0.1 → 1.35.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/standard/cli.rb +2 -3
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -4
- metadata +4 -40
- data/lib/standard/prints_big_hairy_version_warning.rb +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 970ec533ce4a793fceab483763f5ad1e37534e018dfdb06ac62dcd3cd0edcda4
|
4
|
+
data.tar.gz: f3bfc465628caea38766b9175a8fdf1ca4145c75dc341346a6d545fb69fdc830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09c79d036a93dec8343ae88d15d601dd56772fb7fd72c6e2e2415a2a20058b6b98f17711e3f4861ff7af77c09639a42c90bb5e19fa20c32dedc101c80bbafc62'
|
7
|
+
data.tar.gz: 177a0d5a4b96a711412b1a153d415f2669a3c8a0ef83d695bc919339c0cc39bda3abab12df6803187834093424a3b4fd4707159249762ef2ae92977f0e2cfbd5
|
data/Gemfile.lock
CHANGED
data/lib/standard/cli.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require_relative "builds_config"
|
2
2
|
require_relative "loads_runner"
|
3
|
-
require_relative "prints_big_hairy_version_warning"
|
4
3
|
|
5
4
|
module Standard
|
6
5
|
class Cli
|
@@ -11,8 +10,8 @@ module Standard
|
|
11
10
|
end
|
12
11
|
|
13
12
|
def run
|
14
|
-
|
15
|
-
|
13
|
+
config = @builds_config.call(@argv)
|
14
|
+
@loads_runner.call(config.runner).call(config).to_i
|
16
15
|
end
|
17
16
|
end
|
18
17
|
end
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
lib = File.expand_path("../lib", __FILE__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
require "standard/version"
|
4
|
-
require "standard/prints_big_hairy_version_warning"
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "standard"
|
@@ -24,14 +23,12 @@ Gem::Specification.new do |spec|
|
|
24
23
|
spec.require_paths = ["lib"]
|
25
24
|
spec.metadata["rubygems_mfa_required"] = "true"
|
26
25
|
|
27
|
-
spec.add_dependency "rubocop", "~> 1.62"
|
26
|
+
spec.add_dependency "rubocop", "~> 1.62.0"
|
28
27
|
|
29
28
|
spec.add_dependency "lint_roller", "~> 1.0"
|
30
29
|
spec.add_dependency "standard-custom", "~> 1.0.0"
|
31
30
|
spec.add_dependency "standard-performance", "~> 1.3"
|
32
31
|
|
33
|
-
spec.post_install_message = Standard::PrintsBigHairyVersionWarning::WARNING
|
34
|
-
|
35
32
|
# not semver: first three are lsp protocol version, last is patch
|
36
33
|
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
|
37
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.35.
|
4
|
+
version: 1.35.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.62.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.62.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: lint_roller
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,7 +149,6 @@ files:
|
|
149
149
|
- lib/standard/plugin/initializes_plugins.rb
|
150
150
|
- lib/standard/plugin/merges_plugins_into_rubocop_config.rb
|
151
151
|
- lib/standard/plugin/standardizes_configured_plugins.rb
|
152
|
-
- lib/standard/prints_big_hairy_version_warning.rb
|
153
152
|
- lib/standard/railtie.rb
|
154
153
|
- lib/standard/rake.rb
|
155
154
|
- lib/standard/resolves_yaml_option.rb
|
@@ -169,42 +168,7 @@ metadata:
|
|
169
168
|
source_code_uri: https://github.com/standardrb/standard
|
170
169
|
changelog_uri: https://github.com/standardrb/standard/blob/main/CHANGELOG.md
|
171
170
|
rubygems_mfa_required: 'true'
|
172
|
-
post_install_message:
|
173
|
-
============================================================================
|
174
|
-
= WARNING: You do not want to run this version of Standard! =
|
175
|
-
============================================================================
|
176
|
-
|
177
|
-
What's going on here?
|
178
|
-
---------------------
|
179
|
-
Version 1.35.0 of Standard was set to depend on `~> 1.62' of RuboCop. This
|
180
|
-
constraint is too loose, and covers all minor versions of RuboCop 1.x.
|
181
|
-
|
182
|
-
"How do I fix this?", you might be asking.
|
183
|
-
|
184
|
-
How to fix this
|
185
|
-
---------------
|
186
|
-
If you add a version specifier pinning `standard' to a version newer
|
187
|
-
than 1.35.1, Bundler will resolve appropriate versions of `standard',
|
188
|
-
`rubocop', and any other rubocop-dependent gems you may have installed.
|
189
|
-
|
190
|
-
1. Update your Gemfile to pin standard to be at least one such version:
|
191
|
-
|
192
|
-
gem "standard", ">= 1.35.1"
|
193
|
-
|
194
|
-
2. Run `bundle`, which will install and lock more appropriate versions
|
195
|
-
|
196
|
-
Example output:
|
197
|
-
Using rubocop 1.48.1 (was 1.49.0)
|
198
|
-
Using standard 1.26.0 (was 0.0.36)
|
199
|
-
|
200
|
-
This version (1.35.0.1) is an inoperative placeholder gem that exists
|
201
|
-
solely to print this message.
|
202
|
-
|
203
|
-
We're very sorry for this inconvenience!
|
204
|
-
|
205
|
-
============================================================================
|
206
|
-
= END OF BIG SCARY WARNING =
|
207
|
-
============================================================================
|
171
|
+
post_install_message:
|
208
172
|
rdoc_options: []
|
209
173
|
require_paths:
|
210
174
|
- lib
|
@@ -1,45 +0,0 @@
|
|
1
|
-
module Standard
|
2
|
-
class PrintsBigHairyVersionWarning
|
3
|
-
WARNING = <<~MSG.gsub(/^ {6}/, "")
|
4
|
-
============================================================================
|
5
|
-
= WARNING: You do not want to run this version of Standard! =
|
6
|
-
============================================================================
|
7
|
-
|
8
|
-
What's going on here?
|
9
|
-
---------------------
|
10
|
-
Version 1.35.0 of Standard was set to depend on `~> 1.62' of RuboCop. This
|
11
|
-
constraint is too loose, and covers all minor versions of RuboCop 1.x.
|
12
|
-
|
13
|
-
"How do I fix this?", you might be asking.
|
14
|
-
|
15
|
-
How to fix this
|
16
|
-
---------------
|
17
|
-
If you add a version specifier pinning `standard' to a version newer
|
18
|
-
than 1.35.1, Bundler will resolve appropriate versions of `standard',
|
19
|
-
`rubocop', and any other rubocop-dependent gems you may have installed.
|
20
|
-
|
21
|
-
1. Update your Gemfile to pin standard to be at least one such version:
|
22
|
-
|
23
|
-
gem "standard", ">= 1.35.1"
|
24
|
-
|
25
|
-
2. Run `bundle`, which will install and lock more appropriate versions
|
26
|
-
|
27
|
-
Example output:
|
28
|
-
Using rubocop 1.48.1 (was 1.49.0)
|
29
|
-
Using standard 1.26.0 (was 0.0.36)
|
30
|
-
|
31
|
-
This version (1.35.0.1) is an inoperative placeholder gem that exists
|
32
|
-
solely to print this message.
|
33
|
-
|
34
|
-
We're very sorry for this inconvenience!
|
35
|
-
|
36
|
-
============================================================================
|
37
|
-
= END OF BIG SCARY WARNING =
|
38
|
-
============================================================================
|
39
|
-
MSG
|
40
|
-
|
41
|
-
def call
|
42
|
-
warn WARNING
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|