standard 1.4.0 → 1.5.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: 8e36f4f1ee4469b120c342114edfa1c13bcf274a3ffa284270dd1073ae18e59e
4
- data.tar.gz: fcf9ced42b9ead731855ded83be22b21dc6834ffb4691c4a135d3d7930b642e2
3
+ metadata.gz: 981607eacda9cd109ef6934f2aec50efef936e8c2f8c999e0ff2d09a2d71590a
4
+ data.tar.gz: 45263d2025da0a33aed7a6fb213942601f4b3e4cf542cd0a44de8b1f32df9cc3
5
5
  SHA512:
6
- metadata.gz: bcaeeb627fe5d10f10dfecea5ae64d7366a20c11cf07d5e899b188f3939629ab84a07ab445e286e82c860a0c479e3f5c21a2897d5420ac8e3fa06527d92e6493
7
- data.tar.gz: b9b5ad19932484145a3fce2f2b9cb44e480bddeaedc6f806390776730d7c51d5f2a1902ad4a4d9c8b469e2002e1f6ed061b9fab22312bcf7c383ed14b7c97790
6
+ metadata.gz: 40c29eed2f16d6698b779672977ee76ddc895463c92aaedc185e70263a41569e9ab7c1f3fddc5a7f3a84cb1ab4be3ca695939b8a5ed1df9a6bb427459af9d83b
7
+ data.tar.gz: f43c126937613621c350a47583bd1f3c2c71a79d6bbd9f1524a1bb03abc9318ae23356d4425cfa36610cbb3a1f546c340dbf82b0707ef5f02780c38abd630ac1
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ allow:
6
+ - dependency-name: "rubocop"
7
+ - dependency-name: "rubocop-performance"
8
+ schedule:
9
+ interval: "weekly"
10
+ day: monday
@@ -0,0 +1,52 @@
1
+ name: Update
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: '5 7 * * 1'
7
+
8
+ jobs:
9
+ update:
10
+ name: Check for updates
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 3.0.0
20
+ bundler-cache: true
21
+ - name: Unset bundler deployment
22
+ run: bundle config unset deployment
23
+ - name: Get Outdated
24
+ id: outdated
25
+ run: |
26
+ eval "$(bundle outdated rubocop rubocop-performance |
27
+ grep rubocop |
28
+ awk '{print "echo \"::set-output name="$1"_OLD::"$2"\"; echo \"::set-output name="$1"_NEW::"$3"\";"}' - )";
29
+ - name: Update Changelog
30
+ run: |
31
+ eval "$(bundle outdated rubocop rubocop-performance |
32
+ grep rubocop |
33
+ awk '{print "sed -i \"2i* Update "$1" from "$2" to ["$3"](https://github.com/rubocop/"$1"/tag/v"$3")\" CHANGELOG.md"}' - )";
34
+ sed -i '2i\\n## Unreleased\n' CHANGELOG.md;
35
+ - name: Update Gemspec
36
+ run: |
37
+ eval "$(bundle outdated rubocop rubocop-performance |
38
+ grep rubocop |
39
+ awk '{print "sed -i /\"" $1 "\"/s/" $2 "/" $3 "/ standard.gemspec"}' - )"
40
+ - name: Update Gemfile
41
+ run: bundle update
42
+ - name: Get current date
43
+ id: date
44
+ run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
45
+ - name: Create Pull Request
46
+ uses: peter-evans/create-pull-request@v3
47
+ with:
48
+ reviewers: camilopayan
49
+ commit-message: '[ ${{ steps.date.outputs.date }} ] - Update dependencies'
50
+ title: '[ ${{ steps.date.outputs.date }} ] - Update dependencies'
51
+ delete-branch: true
52
+ branch: update-deps-${{ steps.date.outputs.date }}
data/CHANGELOG.md CHANGED
@@ -1,13 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 1.5.0
4
4
 
5
- * Remove
6
- [`Style/NegatedIf`](https://github.com/TODO)
5
+ * Update rubocop-performance from 1.11.5 to [1.12.0](https://github.com/rubocop/rubocop-performance/tag/v1.12.0)
6
+ * Update rubocop from 1.22.3 to [1.23.0](https://github.com/rubocop/rubocop/tag/v1.23.0)
7
7
 
8
8
  ## 1.4.0
9
9
 
10
10
  * Update rubocop from 1.19.1 to [1.22.3](https://github.com/rubocop-hq/rubocop/releases/tag/v1.22.3)
11
+ * Remove [`Style/NegatedIf`](https://github.com/TODO)
11
12
 
12
13
  ## 1.3.0
13
14
 
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.4.0)
5
- rubocop (= 1.22.3)
6
- rubocop-performance (= 1.11.5)
4
+ standard (1.5.0)
5
+ rubocop (= 1.23.0)
6
+ rubocop-performance (= 1.12.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -15,7 +15,7 @@ GEM
15
15
  method_source (1.0.0)
16
16
  minitest (5.14.4)
17
17
  parallel (1.21.0)
18
- parser (3.0.2.0)
18
+ parser (3.0.3.1)
19
19
  ast (~> 2.4.1)
20
20
  pry (0.14.1)
21
21
  coderay (~> 1.1)
@@ -24,7 +24,7 @@ GEM
24
24
  rake (13.0.6)
25
25
  regexp_parser (2.1.1)
26
26
  rexml (3.2.5)
27
- rubocop (1.22.3)
27
+ rubocop (1.23.0)
28
28
  parallel (~> 1.10)
29
29
  parser (>= 3.0.0.0)
30
30
  rainbow (>= 2.2.2, < 4.0)
@@ -33,9 +33,9 @@ GEM
33
33
  rubocop-ast (>= 1.12.0, < 2.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 3.0)
36
- rubocop-ast (1.12.0)
36
+ rubocop-ast (1.13.0)
37
37
  parser (>= 3.0.1.1)
38
- rubocop-performance (1.11.5)
38
+ rubocop-performance (1.12.0)
39
39
  rubocop (>= 1.7.0, < 2.0)
40
40
  rubocop-ast (>= 0.4.0)
41
41
  ruby-progressbar (1.11.0)
data/config/base.yml CHANGED
@@ -49,6 +49,9 @@ Gemspec/RequiredRubyVersion:
49
49
  Gemspec/RubyVersionGlobalsUsage:
50
50
  Enabled: false
51
51
 
52
+ Gemspec/RequireMFA:
53
+ Enabled: false
54
+
52
55
  Layout/AccessModifierIndentation:
53
56
  Enabled: true
54
57
  EnforcedStyle: indent
@@ -803,6 +806,9 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
803
806
  Lint/RequireRelativeSelfPath:
804
807
  Enabled: true
805
808
 
809
+ Lint/UselessRuby2Keywords:
810
+ Enabled: true
811
+
806
812
  Metrics/AbcSize:
807
813
  Enabled: false
808
814
 
@@ -1036,6 +1042,9 @@ Performance/UnfreezeString:
1036
1042
  Performance/UriDefaultParser:
1037
1043
  Enabled: true
1038
1044
 
1045
+ Performance/ConcurrentMonotonicTime:
1046
+ Enabled: true
1047
+
1039
1048
  Security/Eval:
1040
1049
  Enabled: true
1041
1050
 
@@ -1811,3 +1820,7 @@ Style/NumberedParametersLimit:
1811
1820
 
1812
1821
  Style/SelectByRegexp:
1813
1822
  Enabled: false
1823
+
1824
+ Style/OpenStructUse:
1825
+ Enabled: false
1826
+
data/config/ruby-2.2.yml CHANGED
@@ -3,3 +3,6 @@ inherit_from: ./ruby-2.3.yml
3
3
  Layout:
4
4
  HeredocIndentation:
5
5
  Enabled: false
6
+
7
+ Performance/ConcurrentMonotonicTime:
8
+ Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.4.0")
2
+ VERSION = Gem::Version.new("1.5.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "rubocop", "1.22.3"
23
- spec.add_dependency "rubocop-performance", "1.11.5"
22
+ spec.add_dependency "rubocop", "1.23.0"
23
+ spec.add_dependency "rubocop-performance", "1.12.0"
24
24
  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.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-29 00:00:00.000000000 Z
11
+ date: 2021-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.22.3
19
+ version: 1.23.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: 1.22.3
26
+ version: 1.23.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.11.5
33
+ version: 1.12.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.11.5
40
+ version: 1.12.0
41
41
  description:
42
42
  email:
43
43
  - searls@gmail.com
@@ -46,7 +46,9 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - ".github/dependabot.yml"
49
50
  - ".github/workflows/test.yml"
51
+ - ".github/workflows/update.yml"
50
52
  - ".gitignore"
51
53
  - ".standard.yml"
52
54
  - CHANGELOG.md