goodcop 0.9.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +44 -0
- data/LICENSE +1 -1
- data/README.md +2 -4
- data/config/rubocop.yml +1 -0
- data/goodcop.gemspec +6 -6
- metadata +17 -18
- data/.prospectus +0 -11
- data/.travis.yml +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b80205b6ac7b7e3b9ca82129e064f2c031e975c350c8280bf0bd396e8b050347
|
4
|
+
data.tar.gz: 1a08a62e37077b7cf3c4d1a877efe7778fee3becec076deb60c8b24452fe998a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 146b60bba7e4ef8b1bfec619dadaf4b4e9700a181a58e6a80daefdcc1908f01c55b6b1326491cb837bc7ab692f4ef5e1d5eee6332159397067d4d5c87e56e33b
|
7
|
+
data.tar.gz: 15a41103df95a322f7d690bd238ebcb8d35583a2101adf73f8e1d92bcc4c8b958e45695393156b7a69b5479c0fbb71646c6f513ff54b997e317c336e54facf3b
|
@@ -0,0 +1,44 @@
|
|
1
|
+
name: Build
|
2
|
+
on: [pull_request, push]
|
3
|
+
jobs:
|
4
|
+
build:
|
5
|
+
name: Build
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
steps:
|
8
|
+
- name: Checkout
|
9
|
+
uses: akerl/action-checkout@v2.0.0
|
10
|
+
- name: Install Ruby
|
11
|
+
uses: akerl/setup-ruby@v1
|
12
|
+
with:
|
13
|
+
ruby-version: '2.7'
|
14
|
+
- name: Install deps
|
15
|
+
run: bundle install
|
16
|
+
- name: Rake
|
17
|
+
run: bundle exec rake
|
18
|
+
- name: Log in to Rubygems
|
19
|
+
run: 'mkdir -p ~/.gem && echo ":rubygems_api_key: ${RUBY_TOKEN}" > ~/.gem/credentials && chmod 600 ~/.gem/credentials'
|
20
|
+
if: startsWith(github.ref, 'refs/tags/')
|
21
|
+
env:
|
22
|
+
RUBY_TOKEN: ${{ secrets.RUBY_TOKEN }}
|
23
|
+
- name: Release
|
24
|
+
run: bundle exec rake release
|
25
|
+
if: startsWith(github.ref, 'refs/tags/')
|
26
|
+
- name: Notify on success
|
27
|
+
if: success()
|
28
|
+
env:
|
29
|
+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
30
|
+
uses: akerl/github-action-slack-notify-build@v1.1.1
|
31
|
+
with:
|
32
|
+
channel_id: ${{ secrets.SLACK_BOT_CHANNEL }}
|
33
|
+
status: success
|
34
|
+
color: good
|
35
|
+
- name: Notify on failure
|
36
|
+
if: failure()
|
37
|
+
env:
|
38
|
+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
39
|
+
uses: akerl/github-action-slack-notify-build@v1.1.1
|
40
|
+
with:
|
41
|
+
channel_id: ${{ secrets.SLACK_BOT_CHANNEL }}
|
42
|
+
status: failed
|
43
|
+
color: danger
|
44
|
+
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -2,10 +2,8 @@ goodcop
|
|
2
2
|
=========
|
3
3
|
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/goodcop.svg)](https://rubygems.org/gems/goodcop)
|
5
|
-
[![
|
6
|
-
[![
|
7
|
-
[![Code Quality](https://img.shields.io/codacy/b1ea0ddf27f44fd6a4ba0af4e3bf4592.svg)](https://www.codacy.com/app/akerl/goodcop)
|
8
|
-
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
|
5
|
+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/akerl/goodcop/Build)](https://github.com/akerl/goodcop/actions))
|
6
|
+
[![License](https://img.shields.io/github/license/akerl/goodcop)](https://github.com/akerl/goodcop/blob/master/LICENSE)
|
9
7
|
|
10
8
|
Rubocop is useful, but its defaults are more than a bit hostile. GoodCop exists to be a calmer, more reassuring sidekick.
|
11
9
|
|
data/config/rubocop.yml
CHANGED
data/goodcop.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'goodcop'
|
3
|
-
s.version = '0.9.
|
3
|
+
s.version = '0.9.2'
|
4
4
|
s.date = Time.now.strftime('%Y-%m-%d')
|
5
5
|
|
6
6
|
s.summary = 'Sane defaults for rubocop'
|
@@ -14,10 +14,10 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.test_files = `git ls-files spec/*`.split
|
15
15
|
|
16
16
|
s.add_dependency 'fuubar', '~> 2.5.0'
|
17
|
-
s.add_dependency 'rubocop
|
17
|
+
s.add_dependency 'rubocop', '~> 1.3.0'
|
18
|
+
s.add_dependency 'rubocop-performance', '~> 1.8.1'
|
18
19
|
|
19
|
-
s.add_development_dependency '
|
20
|
-
s.add_development_dependency '
|
21
|
-
s.add_development_dependency '
|
22
|
-
s.add_development_dependency 'rspec', '~> 3.9.0'
|
20
|
+
s.add_development_dependency 'rake', '~> 13.0.1'
|
21
|
+
s.add_development_dependency 'codecov', '~> 0.2.12'
|
22
|
+
s.add_development_dependency 'rspec', '~> 3.10.0'
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goodcop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fuubar
|
@@ -25,75 +25,75 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: rubocop
|
28
|
+
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.3.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: 1.
|
40
|
+
version: 1.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop
|
42
|
+
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
47
|
+
version: 1.8.1
|
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:
|
54
|
+
version: 1.8.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 13.0.
|
61
|
+
version: 13.0.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 13.0.
|
68
|
+
version: 13.0.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: codecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.2.12
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.2.12
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.10.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.10.0
|
97
97
|
description: Sane defaults for rubocop
|
98
98
|
email: me@lesaker.org
|
99
99
|
executables: []
|
@@ -101,11 +101,10 @@ extensions: []
|
|
101
101
|
extra_rdoc_files: []
|
102
102
|
files:
|
103
103
|
- ".circle-ruby"
|
104
|
+
- ".github/workflows/build.yml"
|
104
105
|
- ".gitignore"
|
105
|
-
- ".prospectus"
|
106
106
|
- ".rspec"
|
107
107
|
- ".rubocop.yml"
|
108
|
-
- ".travis.yml"
|
109
108
|
- Gemfile
|
110
109
|
- LICENSE
|
111
110
|
- README.md
|
@@ -134,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
133
|
- !ruby/object:Gem::Version
|
135
134
|
version: '0'
|
136
135
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
136
|
+
rubygems_version: 3.1.4
|
138
137
|
signing_key:
|
139
138
|
specification_version: 4
|
140
139
|
summary: Sane defaults for rubocop
|
data/.prospectus
DELETED
data/.travis.yml
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
dist: xenial
|
2
|
-
install:
|
3
|
-
- for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
|
4
|
-
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
|
5
|
-
script:
|
6
|
-
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
|
7
|
-
notifications:
|
8
|
-
email: false
|
9
|
-
slack:
|
10
|
-
secure: izniIsGL6T4YqJQGYJ5LNsy6mGBeIQiQDht5qu9NdsCS29ZdMtwLIruUclWAmGL897j6h0/dc1gnKohezjgh+GwNHFBFutZACSuNPT8ElDfwhmAWo7RhelXRUqyD90EfVIvdVWGCtNkKXFzNhDtHr2GsL9Y9XXRfllrZD/pWknPb29sUSa1F7mSVuyhP2jY81iAvr6PADNC4rVqoj/HR2oszTEzjl4DkGkn5QMfqs/9OIysAGesPr//ViwKTvMIxGvq8BDEqRjRPsthE7xYAqAC9JNyRtF6ycvDnrmG40RjGMKwAPK49rsQUrVAhlmVTvPpUXAi3CaOT3oZ8rpes2RLb5Mn7ZGEM9F3yyLbCth19OJONnRoQjNm5tBbDarVwxmv3LiDAwG5nCNM7zWs310Lcr6JFl3m00mXpemc8cDjIJwDhFsA3+vvN5tQoko42bPBXBd22KmNOunGXYTf9RZVrpIMwdH76lzFABEqeFnOSglu/wC/DZc2b1haHcFOAnyV/oONEpXMQtgnRA6H8bN5/8oA/fE+vBjYQ7snHVfNq8iIZl2GRpe+RkZ+qtKXp5cRi+uF+hic3ezsNLKyYhPNgVxnDgSEuLufc9/raaUqx0R8+4FesKrcZyAuYf0eaog3AuimMnoNQP8XjOMB/B9fRat94OH6h0CyQ5r5GVX4=
|