simplycop 1.9.4 → 1.11.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: 59a1044e135659a7c3dd6382907e5446d107272da499209f95e382fc41133502
4
- data.tar.gz: 1ca7e0db17663bc02cb1760f39702fe3dbbe929118b736beec7bfca69b9a1446
3
+ metadata.gz: 931184d38bc368e3dd104e118681d39da16b01906d2e3821203e13ab92d4a42c
4
+ data.tar.gz: 2f544d5c8ea7ea65d1dfd0b63369dc59d955d6db55f0af79e9c4f6ff58aa1fef
5
5
  SHA512:
6
- metadata.gz: 467bd70648b42567e7690c02f33b6b114f8839c4fa262e65fd0cb51c6b3b7e43f2e1c25273d04e74b5994cfbf8b0786f8c94d9d1fcba154ab95398368062278b
7
- data.tar.gz: 23258dda95e8ba1befb30fac2b17c6b6d6b47110ad3a0c8044d6e0d4a65f1a05df1382c7213a2eb05ee2012f9b46ac404781cabfbeaa9bbd7f608da69eb831bd
6
+ metadata.gz: dad9f1e435b539bea066f0b8007c43b13be1262ccc82fb7984eab83029f52a63660a7cc5a9b5d196be40b1f5185dfa0209fa8f9481be767b438310f2c8e590af
7
+ data.tar.gz: b0d917f28147c32ce184a988b994d55bf2408e284baa8cc6302181f804244d7fa454ae0c28982a224b485800cee3c026f4b491c0fc369db08ef334ac3f14353f
@@ -19,10 +19,10 @@ jobs:
19
19
 
20
20
  strategy:
21
21
  matrix:
22
- ruby-version: [2.5, 2.6, 2.7, jruby]
22
+ ruby-version: [2.7, 3.0, 3.1, jruby]
23
23
 
24
24
  steps:
25
- - uses: actions/checkout@v2
25
+ - uses: actions/checkout@v3
26
26
  - name: Set up Ruby
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
@@ -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
- 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
- })
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@v2
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.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 }}
@@ -0,0 +1,17 @@
1
+ name: Automatically add new Issues to Silversmith's GitHub project board
2
+ # https://github.com/orgs/simplybusiness/projects/3
3
+ # New issues in this repository will be added to the board.
4
+ on:
5
+ issues:
6
+ types: [ opened, reopened ]
7
+
8
+ jobs:
9
+ track_issues:
10
+ uses: simplybusiness/github-action-reusable-workflows/.github/workflows/project-board.yaml@master
11
+ with:
12
+ pr-id: ${{ github.event.issue.node_id }}
13
+ project-number: 3
14
+ org: simplybusiness
15
+ actor: ${{ github.actor }}
16
+ secrets:
17
+ github-token: ${{ secrets.SILVERSMITHS_PROJECT_MANAGEMENT }}
@@ -11,7 +11,7 @@ jobs:
11
11
  name: Build and Publish
12
12
  runs-on: ubuntu-18.04
13
13
  steps:
14
- - uses: actions/checkout@v2
14
+ - uses: actions/checkout@v3
15
15
  - name: Set up Ruby 2.6
16
16
  uses: actions/setup-ruby@v1
17
17
  with:
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ubuntu-18.04
15
15
 
16
16
  steps:
17
- - uses: simplybusiness/version-forget-me-not@V2.1.1
17
+ - uses: simplybusiness/version-forget-me-not@v2.3.0
18
18
  env:
19
19
  ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
20
  VERSION_FILE_PATH: "lib/simplycop/version.rb"
data/.simplycop.yml CHANGED
@@ -22,9 +22,6 @@ AllCops:
22
22
  ExtraDetails: true
23
23
  # Adapted from: https://github.com/simplybusiness/how-we-roll/blob/master/development/RUBYSTYLEGUIDE.markdown
24
24
 
25
- Gemspec/DateAssignment:
26
- Enabled: true
27
-
28
25
  Layout/EmptyLineAfterMultilineCondition:
29
26
  Enabled: true
30
27
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.9.4'
10
+ VERSION = '1.11.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,9 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'rubocop', '~> 1.12.1'
21
- spec.add_dependency 'rubocop-rails', '~> 2.9.0'
22
- spec.add_dependency 'rubocop-rspec', '~> 2.2.0'
20
+ spec.add_dependency 'rubocop', '~> 1.35.0'
21
+ spec.add_dependency 'rubocop-rails', '~> 2.15.0'
22
+ spec.add_dependency 'rubocop-rspec', '~> 2.12.0'
23
23
  spec.add_development_dependency 'bundler', '>= 2.2.15'
24
24
  spec.add_development_dependency 'rake', '>= 12.3.3'
25
25
  spec.add_development_dependency 'rspec', '~> 3.10'
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.9.4
4
+ version: 1.11.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-05-17 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.12.1
19
+ version: 1.35.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.12.1
26
+ version: 1.35.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.9.0
33
+ version: 2.15.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: 2.9.0
40
+ version: 2.15.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: 2.12.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: 2.12.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +107,7 @@ files:
107
107
  - ".github/workflows/ci.yml"
108
108
  - ".github/workflows/create-github-release.yml"
109
109
  - ".github/workflows/dobby-actions.yml"
110
+ - ".github/workflows/project-board.yml"
110
111
  - ".github/workflows/publish_gem.yml"
111
112
  - ".github/workflows/version_forget_me_not.yml"
112
113
  - ".gitignore"