simplycop 1.9.5 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/create-github-release.yml +10 -26
- data/.github/workflows/dobby-actions.yml +2 -2
- data/.github/workflows/publish_gem.yml +1 -1
- data/.github/workflows/version_forget_me_not.yml +1 -1
- data/.simplycop.yml +0 -3
- data/lib/simplycop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d9a590b1d45e4b0036a837db3771f8edbd189b91165a39124c4f13c8a721005
|
|
4
|
+
data.tar.gz: 4cbc5a52df681b0637d654f8819c3132754394b682d42128efb665886335a255
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f5ed44897ec6371c3e3566be6028cc10aca39e67141865ce9fda79296f1f2337fda537164d922ad6f90766179b15c8eadd4f67f6893af5caf3fbb2d462db432
|
|
7
|
+
data.tar.gz: 6a66b652a73dd35f84fb16e10cfa7ccc0b66bf6451b63f6f4931fe719e5cb951778a68b4bdd9c57115e552543ce81fa7714146c970ba9d8e844353c83b4924f5
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -5,30 +5,14 @@ on:
|
|
|
5
5
|
branches:
|
|
6
6
|
- "master"
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
8
11
|
jobs:
|
|
9
|
-
create-release:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
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
|
-
})
|
|
12
|
+
create-new-release:
|
|
13
|
+
uses: simplybusiness/github-action-reusable-workflows/.github/workflows/create-github-release.yaml@v1
|
|
14
|
+
with:
|
|
15
|
+
gem_version_class: "Simplycop::VERSION"
|
|
16
|
+
secrets:
|
|
17
|
+
bnw-registry-user: ${{ secrets.GH_ACTIONS_NEXUS_USER }}
|
|
18
|
+
bnw-registry-password: ${{ secrets.GH_ACTIONS_NEXUS_PASSWORD }}
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
BUNDLE_WITHOUT: "development:test"
|
|
14
14
|
steps:
|
|
15
15
|
- name: Chekcout action
|
|
16
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
17
|
with:
|
|
18
18
|
repository: 'simplybusiness/dobby'
|
|
19
19
|
ref: 'v3.0.0'
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
with:
|
|
23
23
|
bundler-cache: true
|
|
24
24
|
- name: Bump version
|
|
25
|
-
uses: simplybusiness/dobby@v3.0.
|
|
25
|
+
uses: simplybusiness/dobby@v3.0.1
|
|
26
26
|
env:
|
|
27
27
|
DOBBY_APP_ID: ${{ secrets.DOBBY_APP_ID }}
|
|
28
28
|
DOBBY_PRIVATE_KEY: ${{ secrets.DOBBY_PRIVATE_KEY }}
|
data/.simplycop.yml
CHANGED
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.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simply Business
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|