standard-performance 1.0.1 → 1.1.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: ec5f1bc65c00fbfb3cbcceddddb4e0de1254483d0bd84535ffed91931a64968c
4
- data.tar.gz: ce16e8e5132396037eafffc8296391f86ac59f49ee1d4a7d5374113ca11b313a
3
+ metadata.gz: 1bae992bcc9fe9ebfe27b0fa39731373d07c9fa4eb60ca6d5114c3a2d20bb152
4
+ data.tar.gz: bdc0203b28a41368821a1dcab79bb6da9dbf4e1885f9f37536158082117ed223
5
5
  SHA512:
6
- metadata.gz: f88a5e776a78aca67b0f6677bf49fb06378d824d0e24bbcb9d680aae8d5972c1bdc059aec3124b9f0cfad33bd643c6ba763b9daa8c2b72bc5c02e7c91bc3fc7a
7
- data.tar.gz: e8a03cb117d759b39b2cc848d535227846a1382000058fb6030dc5c23c03a07bb56afbe5af9f6c361627991d7f8358ffbbe6d7c46d87dd7aaec184481ce0a051
6
+ metadata.gz: d1bd85a254885e8850d2b22fdde747c47ec8e31685d9325e0e030cd41b4e2e69389ce684bc667e30b3f96c26598fdbaad4642b0a0b333fd49b668dfc4ec5a738
7
+ data.tar.gz: e3187abc3f81b1e20d7a2c6c2e0e312400946dbedc2424e5a98c579d12a79cad6acd77acf1b69a0f69c277c603de900bf4e15b0564f7cb6d6d80ea8f3f3c6474
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
- ## [Unreleased]
1
+ ## [1.1.0]
2
+
3
+ - Updates rubocop-performance from 1.16.0 to 1.18.0
4
+ - Updates past the circular dependency in an older version of standardrb for development.
2
5
 
3
6
  ## [1.0.1]
4
7
 
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard-performance (1.0.1)
4
+ standard-performance (1.1.0)
5
5
  lint_roller (~> 1.0)
6
- rubocop-performance (~> 1.16.0)
6
+ rubocop-performance (~> 1.18.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -17,37 +17,42 @@ GEM
17
17
  rake (>= 0.9.2.2)
18
18
  method_source (1.0.0)
19
19
  minitest (5.18.0)
20
- parallel (1.22.1)
21
- parser (3.2.2.0)
20
+ parallel (1.23.0)
21
+ parser (3.2.2.1)
22
22
  ast (~> 2.4.1)
23
23
  rainbow (3.1.1)
24
24
  rake (13.0.6)
25
- regexp_parser (2.7.0)
25
+ regexp_parser (2.8.0)
26
26
  rexml (3.2.5)
27
- rubocop (1.48.1)
27
+ rubocop (1.50.2)
28
28
  json (~> 2.3)
29
29
  parallel (~> 1.10)
30
30
  parser (>= 3.2.0.0)
31
31
  rainbow (>= 2.2.2, < 4.0)
32
32
  regexp_parser (>= 1.8, < 3.0)
33
33
  rexml (>= 3.2.5, < 4.0)
34
- rubocop-ast (>= 1.26.0, < 2.0)
34
+ rubocop-ast (>= 1.28.0, < 2.0)
35
35
  ruby-progressbar (~> 1.7)
36
36
  unicode-display_width (>= 2.4.0, < 3.0)
37
- rubocop-ast (1.28.0)
37
+ rubocop-ast (1.29.0)
38
38
  parser (>= 3.2.1.0)
39
- rubocop-performance (1.16.0)
39
+ rubocop-performance (1.18.0)
40
40
  rubocop (>= 1.7.0, < 2.0)
41
41
  rubocop-ast (>= 0.4.0)
42
42
  ruby-progressbar (1.13.0)
43
- standard (1.26.0)
43
+ standard (1.28.5)
44
44
  language_server-protocol (~> 3.17.0.2)
45
- rubocop (~> 1.48.1)
46
- rubocop-performance (~> 1.16.0)
45
+ lint_roller (~> 1.0)
46
+ rubocop (~> 1.50.2)
47
+ standard-custom (~> 1.0.0)
48
+ standard-performance (~> 1.0.1)
49
+ standard-custom (1.0.0)
50
+ lint_roller (~> 1.0)
47
51
  unicode-display_width (2.4.2)
48
52
 
49
53
  PLATFORMS
50
54
  arm64-darwin-22
55
+ ruby
51
56
  x86_64-linux
52
57
 
53
58
  DEPENDENCIES
@@ -0,0 +1 @@
1
+ inherit_from: ./ruby-1.9.yml
@@ -0,0 +1,14 @@
1
+ inherit_from: ./ruby-2.0.yml
2
+
3
+ # String#end_with? added in Ruby 2.0.0
4
+ # https://docs.ruby-lang.org/en/2.0.0/String.html#method-i-end_with-3F
5
+ Performance/EndWith:
6
+ Enabled: false
7
+
8
+ # String#start_with? added in Ruby 2.0.0
9
+ # https://docs.ruby-lang.org/en/2.0.0/String.html#method-i-start_with-3F
10
+ Performance/StartWith:
11
+ Enabled: false
12
+
13
+ Performance/DoubleStartEndWith:
14
+ Enabled: false
@@ -0,0 +1 @@
1
+ inherit_from: ./ruby-2.1.yml
@@ -0,0 +1 @@
1
+ inherit_from: ./ruby-2.2.yml
data/docs/RELEASE.md ADDED
@@ -0,0 +1,43 @@
1
+ # How to release Standard Performance
2
+
3
+ Because this gem was generated with the [bundler `gem`
4
+ command](https://bundler.io/man/bundle-gem.1.html), [our Rakefile](/Rakefile)
5
+ loads `bundler/gem_tasks`, which provides a lot of the commands one needs
6
+ to manage a gem's release lifecycle:
7
+
8
+ ```
9
+ $ rake -T
10
+ rake build # Build standard-x.x.x.gem into the pkg directory
11
+ rake clean # Remove any temporary products
12
+ rake clobber # Remove any generated files
13
+ rake install # Build and install standard-x.x.x.gem into system gems
14
+ rake install:local # Build and install standard-x.x.x.gem into system gems without network access
15
+ rake release[remote] # Create tag vx.x.x and build and push standard-0.5.2.gem to rubygems.org
16
+ ```
17
+
18
+ Most of these commands are depended on (read: run by) `rake release`, which is
19
+ really the only one we'll need for releasing the gem to
20
+ [Rubygems.org](https://rubygems.org/gems/standard).
21
+
22
+ ## Release steps
23
+
24
+ 1. Make sure git is up to date and `bundle exec rake` exits cleanly
25
+ 1. If you upgraded rubocop-performance, be sure to lock it down in
26
+ `standard-performance.gemspec`. To avoid being broken transitively, we stick
27
+ to exact release dependencies (e.g. "0.91.0" instead of "~> 0.91")
28
+ 1. Update `CHANGELOG.md` as exhaustively as you are able and set the top header
29
+ to "Unreleased"
30
+ 1. Commit all your changes, and push to `main`. There will be separate commits
31
+ for the release and the changes. The first is the changes commit.
32
+ 1. Bump the appropriate version segment in `lib/standard/version.rb` (basic
33
+ semantic versioning rules apply; if the release updates Rubocop, follow its
34
+ version bump at a minimum—if rubocop saw minor bump, we'll also bump the
35
+ minor version)
36
+ 1. Run `bundle` so that Bundler writes this version to `Gemfile.lock`
37
+ 1. Commit `lib/standard/performance/version.rb`, `Gemfile.lock`, and `CHANGELOG.md` together
38
+ with the message equal to the new version (e.g. "0.42.1")
39
+ 1. Finally, run `bundle exec rake release`, which will hopefully succeed
40
+ 1. Provide your multi-factor-auth token when prompted to finish publishing the
41
+ gem
42
+ 1. [Tweet](https://twitter.com) about your awesome new release! (Shameless
43
+ self-promotion is the most important part of open source software)
@@ -54,6 +54,14 @@ module Standard::Performance
54
54
 
55
55
  file_name = if !Gem::Version.correct?(desired_version)
56
56
  default
57
+ elsif desired_version < Gem::Version.new("1.9")
58
+ "ruby-1.8.yml"
59
+ elsif desired_version < Gem::Version.new("2.0")
60
+ "ruby-1.9.yml"
61
+ elsif desired_version < Gem::Version.new("2.1")
62
+ "ruby-2.0.yml"
63
+ elsif desired_version < Gem::Version.new("2.2")
64
+ "ruby-2.1.yml"
57
65
  elsif desired_version < Gem::Version.new("2.3")
58
66
  "ruby-2.2.yml"
59
67
  else
@@ -1,5 +1,5 @@
1
1
  module Standard
2
2
  module Performance
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-performance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-22 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lint_roller
@@ -30,15 +30,15 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.16.0
33
+ version: 1.18.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.16.0
41
- description:
40
+ version: 1.18.0
41
+ description:
42
42
  email:
43
43
  - searls@gmail.com
44
44
  executables: []
@@ -53,7 +53,12 @@ files:
53
53
  - README.md
54
54
  - Rakefile
55
55
  - config/base.yml
56
+ - config/ruby-1.8.yml
57
+ - config/ruby-1.9.yml
58
+ - config/ruby-2.0.yml
59
+ - config/ruby-2.1.yml
56
60
  - config/ruby-2.2.yml
61
+ - docs/RELEASE.md
57
62
  - lib/standard-performance.rb
58
63
  - lib/standard/performance.rb
59
64
  - lib/standard/performance/plugin.rb
@@ -66,7 +71,7 @@ metadata:
66
71
  source_code_uri: https://github.com/standardrb/standard-performance
67
72
  changelog_uri: https://github.com/standardrb/standard-performance/blob/main/CHANGELOG.md
68
73
  default_lint_roller_plugin: Standard::Performance::Plugin
69
- post_install_message:
74
+ post_install_message:
70
75
  rdoc_options: []
71
76
  require_paths:
72
77
  - lib
@@ -81,8 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
86
  - !ruby/object:Gem::Version
82
87
  version: '0'
83
88
  requirements: []
84
- rubygems_version: 3.4.10
85
- signing_key:
89
+ rubygems_version: 3.1.6
90
+ signing_key:
86
91
  specification_version: 4
87
92
  summary: Standard Ruby Plugin providing configuration for rubocop-performance
88
93
  test_files: []