standard 1.42.0 → 1.42.1

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: b9fb783533fee9e2d6aa7aa5392c04da9fb92e875ed51612be774ac8339af5cd
4
- data.tar.gz: 05d1fa3f071f6343eeb7c3c821fd09af3dd7134e444e357d2c985a879ccf1bae
3
+ metadata.gz: '0297e5fe8c926fcc0d104811d5ea18751167321b677d90b3a103487372128863'
4
+ data.tar.gz: 7cc845b331082fadea50e51cdb8d7467c7b502ff452c40aaec17db7ed1a8dfab
5
5
  SHA512:
6
- metadata.gz: 3cf17ec5fdf6d0e111f8fe06cf0cc243efd363d85545aa726963c3431e6a46791651e1846a24874237d5c2f88ab94d55bc0d75d8920dd6199222fe8fa03feb04
7
- data.tar.gz: 6b15d6d64faca1ebf7e092ad2570c466d017a788e3bdbeb24f008820ae10ca6044b5f1601516bd83ab7f93320d1bc2058bba322bdb7ed5a61a3fbe06d44956ed
6
+ metadata.gz: 4f84b657321275fdf794441d537ff04f645207d44f5b3bdf74f5258bef0f990e01be0c48531ef9872d02ea706befcffeed90746a4e2e1c6b96b6cfc6a855b2fd
7
+ data.tar.gz: c7a9199c18586a6bfc8b8bc9a9afcf297be12635a77a1f0b85b5df418cae8b11d4f697cf5f2c8d39f3638a283c42730efcd58df34050e00ae81dd39790c05c17
@@ -12,15 +12,14 @@ on:
12
12
 
13
13
  jobs:
14
14
  test:
15
-
16
15
  strategy:
17
16
  matrix:
18
17
  os: [ubuntu-latest]
19
18
  ruby-version:
20
- - '3.0'
21
- - '3.1'
22
- - '3.2'
23
- - '3.3'
19
+ - "3.0"
20
+ - "3.1"
21
+ - "3.2"
22
+ - "3.3"
24
23
 
25
24
  runs-on: ${{ matrix.os }}
26
25
 
@@ -32,4 +31,4 @@ jobs:
32
31
  ruby-version: ${{ matrix.ruby-version }}
33
32
  bundler-cache: true
34
33
  - name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
35
- run: bundle config unset deployment && bundle exec rake
34
+ run: bundle config unset deployment && ./bin/rake
data/CHANGELOG.md CHANGED
@@ -2,9 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.42.1
6
+
7
+ * Fixes a very noisy typo!
8
+
5
9
  ## 1.42.0
6
10
 
7
- * Updates rubocop to [1.68.0]https://github.com/rubocop/rubocop/tree/v1.68.0)
11
+ * Updates rubocop to [1.68.0](https://github.com/rubocop/rubocop/tree/v1.68.0)
8
12
  * Inherit from `RuboCop::Cop::Base` fixing deprecation warnings.
9
13
  * Add new cops
10
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.42.0)
4
+ standard (1.42.1)
5
5
  language_server-protocol (~> 3.17.0.2)
6
6
  lint_roller (~> 1.0)
7
7
  rubocop (~> 1.68.0)
data/Rakefile CHANGED
@@ -1,10 +1,13 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rake/clean"
2
3
  require "rake/testtask"
3
4
  require_relative "lib/standard/rake"
4
5
 
6
+ CLOBBER.include "*.gem"
7
+
8
+ task default: [:test, "standard:fix"]
9
+
5
10
  Rake::TestTask.new(:test) do |t|
6
11
  t.warning = false
7
12
  t.test_files = FileList["test/**/*_test.rb"]
8
13
  end
9
-
10
- task default: [:test, "standard:fix"]
data/bin/rake ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rake' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("rake", "rake")
data/config/base.yml CHANGED
@@ -1674,7 +1674,7 @@ Style/SafeNavigation:
1674
1674
  - try!
1675
1675
 
1676
1676
  Style/SafeNavigationChainLength:
1677
- Emabled: false
1677
+ Enabled: false
1678
1678
 
1679
1679
  Style/Sample:
1680
1680
  Enabled: true
data/docs/RELEASE.md CHANGED
@@ -15,13 +15,13 @@ rake install:local # Build and install standard-x.x.x.gem into system gems wi
15
15
  rake release[remote] # Create tag vx.x.x and build and push standard-0.5.2.gem to rubygems.org
16
16
  ```
17
17
 
18
- Most of these commands are depended on (read: run by) `rake release`, which is
18
+ Most of these commands are depended on (read: run by) `./bin/rake release`, which is
19
19
  really the only one we'll need for releasing the gem to
20
20
  [Rubygems.org](https://rubygems.org/gems/standard).
21
21
 
22
22
  ## Release steps
23
23
 
24
- 1. Make sure git is up to date and `bundle exec rake` exits cleanly
24
+ 1. Make sure git is up to date and `./bin/rake` exits cleanly
25
25
  1. If you upgraded a Rubocop dependency, be sure to lock it down in
26
26
  `standard.gemspec`. To avoid being broken transitively, we stick to exact
27
27
  release dependencies (e.g. "0.91.0" instead of "~> 0.91")
@@ -34,9 +34,8 @@ really the only one we'll need for releasing the gem to
34
34
  1. Run `bundle` so that Bundler writes this version to `Gemfile.lock`
35
35
  1. Commit `lib/standard/version.rb`, `Gemfile.lock`, and `CHANGELOG.md` together
36
36
  with the message equal to the new version (e.g. "0.42.1")
37
- 1. Finally, run `bundle exec rake release`, which will hopefully succeed
37
+ 1. Finally, run `./bin/rake release`, which will hopefully succeed
38
38
  1. Provide your multi-factor-auth token when prompted to finish publishing the
39
39
  gem
40
40
  1. [Tweet](https://twitter.com) about your awesome new release! (Shameless
41
41
  self-promotion is the most important part of open source software)
42
-
data/docs/UPGRADING.md CHANGED
@@ -11,21 +11,21 @@ The official standard plug-ins that are included in standard are:
11
11
 
12
12
  1. Update Rubocop plugin in the gemspec file and gem file.
13
13
  1. Keep standard in the gem file up-to-date. This will bring any testing utilities in standard into the plug-in repository.
14
- 1. Run bundle exec rake to run the tests
14
+ 1. Run `./bin/rake` to run the tests
15
15
  1. Configure any cops that need to be configured so that the tests pass
16
16
  1. Update the change log to the best of your ability and title it as unreleased
17
17
  1. Make your commit for these updates and push to the main branch
18
18
  1. Update the version in version.rb and update the version in the Changelog replacing the word “Unreleased”
19
19
  1. Run bundle to write the new version number to the lock file
20
- 1. Run bundle exec release to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.
20
+ 1. Run `./bin/rake release` to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.
21
21
 
22
22
  ## Updating Standard
23
23
 
24
24
  1. Update Rubocop as well as Standard Performance in the gemspec file and gem file.
25
- 1. Run bundle exec rake to run the tests
25
+ 1. Run `./bin/rake` to run the tests
26
26
  1. Configure any cops that need to be configured so that the tests pass
27
27
  1. Update the change log to the best of your ability and title it as unreleased
28
28
  1. Make your commit for these updates and push to the main branch
29
29
  1. Update the version in version.rb and update the version in the Changelog replacing the word “Unreleased”
30
30
  1. Run bundle to write the new version number to the lock file
31
- 1. Run bundle exec release to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.
31
+ 1. Run `./bin/rake` to release the gem to RubyGems and create the version git tag. Push the tag to GitHub.
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.42.0")
2
+ VERSION = Gem::Version.new("1.42.1")
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.0
4
+ version: 1.42.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -100,6 +100,7 @@ files:
100
100
  - README.md
101
101
  - Rakefile
102
102
  - bin/console
103
+ - bin/rake
103
104
  - bin/run
104
105
  - bin/setup
105
106
  - config/base.yml
@@ -188,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
189
  - !ruby/object:Gem::Version
189
190
  version: '0'
190
191
  requirements: []
191
- rubygems_version: 3.3.27
192
+ rubygems_version: 3.3.3
192
193
  signing_key:
193
194
  specification_version: 4
194
195
  summary: Ruby Style Guide, with linter & automatic code fixer