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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1826e5017b51de501d8edc54dd6100d4d561855cab74f820e3cc05cfc3e634f
4
- data.tar.gz: c893eea27d6d1c111c6534e8eac64a14a152d460c14968fd86749a936efae52a
3
+ metadata.gz: ec517feecdfddc227b8c05455b16b71e591b758dcd8ff25798c7cfe3f87d2426
4
+ data.tar.gz: f1372a8fae299e0d6893abf79b02082b4351ef61737ea1b3008e5e8e14fc182a
5
5
  SHA512:
6
- metadata.gz: 127c38e256808577ec45d688b603b51ef65cb9e17c70e235b1475a7d302f6965f4a692cc28817c6c08755faa6d8a976a9abde92103faaf6376a857f9a855e055
7
- data.tar.gz: a01b1754ebcb30bbaaa1393c084949f8846eccb787073c6b75e57d995ca4a2680854d95482e3e6feceb6ee13c6ae8cecbf7ebaeaad877f8ca455e44ca2db70b2
6
+ metadata.gz: 2b15f6411b7428e3fdcbf32233e6cd8b7333d1f1983dc7a27f7db05f2bc0be02b699e7eec3fc78db55331b815b39087cbf1b77cd60d0cc6f97672fa124d784cf
7
+ data.tar.gz: 37d555d999fbe433d7f7fd545d5a43d79368085be0bc327af1242f4b32c9f96dcd9acbbf61715fb64f86533660cf62fa568ab9c38eb1d4bbedb98a90b64f7e8b
@@ -1,7 +1,6 @@
1
1
  require:
2
2
  - './lib/simplycop/custom_cops/timecop_without_block.rb'
3
3
  - './lib/simplycop/custom_cops/dont_print_all_env.rb'
4
- - './lib/simplycop/custom_cops/variable_name_shadowing_method.rb'
5
4
 
6
5
  AllCops:
7
6
  ExtraDetails: true
@@ -6,6 +6,9 @@ on:
6
6
 
7
7
  env:
8
8
  CI: true
9
+ permissions:
10
+ contents: read
11
+ statuses: write
9
12
 
10
13
  jobs:
11
14
  build:
@@ -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
+ })
@@ -3,6 +3,8 @@ name: "Dobby action"
3
3
  on:
4
4
  issue_comment:
5
5
  types: [created]
6
+ permissions:
7
+ contents: read
6
8
  jobs:
7
9
  pr_commented:
8
10
  runs-on: ubuntu-20.04
@@ -3,6 +3,8 @@ name: Publish Ruby Gem
3
3
  on:
4
4
  push:
5
5
  branches: [ master ]
6
+ permissions:
7
+ contents: read
6
8
 
7
9
  jobs:
8
10
  build:
@@ -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@v2
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"
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.8.1'
10
+ VERSION = '1.9.3'
11
11
  end
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.8.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-10-26 00:00:00.000000000 Z
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.22
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.