simplycop 1.8.1 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.custom_simplycop.yml +0 -1
- data/.github/workflows/ci.yml +3 -0
- data/.github/workflows/create-github-release.yml +34 -0
- data/.github/workflows/dobby-actions.yml +2 -0
- data/.github/workflows/publish_gem.yml +2 -0
- data/.github/workflows/version_forget_me_not.yml +4 -1
- data/lib/simplycop/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec517feecdfddc227b8c05455b16b71e591b758dcd8ff25798c7cfe3f87d2426
|
4
|
+
data.tar.gz: f1372a8fae299e0d6893abf79b02082b4351ef61737ea1b3008e5e8e14fc182a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b15f6411b7428e3fdcbf32233e6cd8b7333d1f1983dc7a27f7db05f2bc0be02b699e7eec3fc78db55331b815b39087cbf1b77cd60d0cc6f97672fa124d784cf
|
7
|
+
data.tar.gz: 37d555d999fbe433d7f7fd545d5a43d79368085be0bc327af1242f4b32c9f96dcd9acbbf61715fb64f86533660cf62fa568ab9c38eb1d4bbedb98a90b64f7e8b
|
data/.custom_simplycop.yml
CHANGED
data/.github/workflows/ci.yml
CHANGED
@@ -0,0 +1,34 @@
|
|
1
|
+
name: Create GitHub Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- "master"
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
create-release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- name: Checkout
|
13
|
+
uses: actions/checkout@v2
|
14
|
+
- name: Set up Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
bundler-cache: true
|
18
|
+
- name: Get Gem Version
|
19
|
+
id: get-gem-version
|
20
|
+
run: echo "::set-output name=GEM_VERSION::$(bundle exec ruby -e 'puts Simplycop::VERSION')"
|
21
|
+
- name: Create Release
|
22
|
+
uses: actions/github-script@v5
|
23
|
+
env:
|
24
|
+
GEM_VERSION: ${{ steps.get-gem-version.outputs.GEM_VERSION }}
|
25
|
+
with:
|
26
|
+
result-encoding: string
|
27
|
+
script: |
|
28
|
+
const { GEM_VERSION } = process.env
|
29
|
+
github.rest.repos.createRelease({
|
30
|
+
owner: context.repo.owner,
|
31
|
+
repo: context.repo.repo,
|
32
|
+
tag_name: GEM_VERSION,
|
33
|
+
generate_release_notes: true,
|
34
|
+
})
|
@@ -6,12 +6,15 @@ on:
|
|
6
6
|
branches:
|
7
7
|
- master
|
8
8
|
types: [opened, synchronize]
|
9
|
+
permissions:
|
10
|
+
contents: read
|
11
|
+
statuses: write
|
9
12
|
jobs:
|
10
13
|
build:
|
11
14
|
runs-on: ubuntu-18.04
|
12
15
|
|
13
16
|
steps:
|
14
|
-
- uses: simplybusiness/version-forget-me-not@
|
17
|
+
- uses: simplybusiness/version-forget-me-not@V2.1.1
|
15
18
|
env:
|
16
19
|
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
17
20
|
VERSION_FILE_PATH: "lib/simplycop/version.rb"
|
data/lib/simplycop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplycop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".custom_simplycop.yml"
|
106
106
|
- ".github/dependabot.yml"
|
107
107
|
- ".github/workflows/ci.yml"
|
108
|
+
- ".github/workflows/create-github-release.yml"
|
108
109
|
- ".github/workflows/dobby-actions.yml"
|
109
110
|
- ".github/workflows/publish_gem.yml"
|
110
111
|
- ".github/workflows/version_forget_me_not.yml"
|
@@ -159,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
160
|
- !ruby/object:Gem::Version
|
160
161
|
version: '0'
|
161
162
|
requirements: []
|
162
|
-
rubygems_version: 3.2.
|
163
|
+
rubygems_version: 3.2.32
|
163
164
|
signing_key:
|
164
165
|
specification_version: 4
|
165
166
|
summary: Provides a single point of reference for common rubocop rules.
|