standard 1.18.0 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +11 -11
- data/.github/workflows/update.yml +38 -38
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +4 -4
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18c18f211f0cdcadb84cc05bbf54f6ea8fc40de394978df75e90ee46b7e5f378
|
4
|
+
data.tar.gz: aa65d3f56f7d7cb51abe64e9473ceea973316ce1bbfd6f3af8654136b669ffbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27903c69ab28846399bff4716b3bd0894ced1870fe9ebf8ded2178f5b5092f2c260b7a21b835bec214ac318dc3e278d1fbc003777f78788428311a40f9ae9b47
|
7
|
+
data.tar.gz: 36011dac9b213b11ffd7a924482aef7d12c34171a0e5527cbc0bbac71098fb027fd01a48b7b87089a384d19a950eff9f182c7bb77ac7261cad83e608c73d0600
|
data/.github/workflows/test.yml
CHANGED
@@ -2,9 +2,9 @@ name: Tests
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [
|
5
|
+
branches: [main]
|
6
6
|
pull_request:
|
7
|
-
branches: [
|
7
|
+
branches: [main]
|
8
8
|
workflow_run:
|
9
9
|
workflows: ["Update"]
|
10
10
|
types:
|
@@ -15,17 +15,17 @@ jobs:
|
|
15
15
|
|
16
16
|
strategy:
|
17
17
|
matrix:
|
18
|
-
os: [
|
18
|
+
os: [ubuntu-latest]
|
19
19
|
ruby-version: [2.6, 2.7, '3.0', 3.1]
|
20
20
|
|
21
21
|
runs-on: ${{ matrix.os }}
|
22
22
|
|
23
23
|
steps:
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
- uses: actions/checkout@v3
|
25
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby-version }}
|
29
|
+
bundler-cache: true
|
30
|
+
- name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
|
31
|
+
run: bundle config unset deployment && bundle exec rake
|
@@ -12,41 +12,41 @@ jobs:
|
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
|
14
14
|
steps:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
15
|
+
- uses: actions/checkout@v3
|
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"/releases/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,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.18.1
|
4
|
+
|
5
|
+
* Update rubocop-performance from 1.15.0 to [1.15.1](https://github.com/rubocop/rubocop-performance/releases/tag/v1.15.1)
|
6
|
+
|
3
7
|
## 1.18.0
|
4
8
|
|
5
9
|
* Update rubocop from 1.38.0 to [1.39.0](https://github.com/rubocop/rubocop/releases/tag/v1.39.0)
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.18.
|
4
|
+
standard (1.18.1)
|
5
5
|
rubocop (= 1.39.0)
|
6
|
-
rubocop-performance (= 1.15.
|
6
|
+
rubocop-performance (= 1.15.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
method_source (~> 1.0)
|
24
24
|
rainbow (3.1.1)
|
25
25
|
rake (13.0.6)
|
26
|
-
regexp_parser (2.6.
|
26
|
+
regexp_parser (2.6.1)
|
27
27
|
rexml (3.2.5)
|
28
28
|
rubocop (1.39.0)
|
29
29
|
json (~> 2.3)
|
@@ -37,7 +37,7 @@ GEM
|
|
37
37
|
unicode-display_width (>= 1.4.0, < 3.0)
|
38
38
|
rubocop-ast (1.23.0)
|
39
39
|
parser (>= 3.1.1.0)
|
40
|
-
rubocop-performance (1.15.
|
40
|
+
rubocop-performance (1.15.1)
|
41
41
|
rubocop (>= 1.7.0, < 2.0)
|
42
42
|
rubocop-ast (>= 0.4.0)
|
43
43
|
ruby-progressbar (1.11.0)
|
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
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.18.
|
4
|
+
version: 1.18.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: 2022-11-
|
11
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.15.
|
33
|
+
version: 1.15.1
|
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.15.
|
40
|
+
version: 1.15.1
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- searls@gmail.com
|