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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e444ec04d90e9015946ac0ae231851fed2710e1836ff00f7cb46ee041d490f1e
4
- data.tar.gz: 37699e16e4d9b48c592160ec7469313d0e69ed68a0ffc9466c782b55f7ee27b3
3
+ metadata.gz: b80205b6ac7b7e3b9ca82129e064f2c031e975c350c8280bf0bd396e8b050347
4
+ data.tar.gz: 1a08a62e37077b7cf3c4d1a877efe7778fee3becec076deb60c8b24452fe998a
5
5
  SHA512:
6
- metadata.gz: 230c6e49fe003565794d3da9287aec2b7425e8dd158ac699b718907dd5b91a9f5dc55c9ba561aff69bb6268b6691f2a0d7f3e0f4130ab149f8981ea2cf725a6d
7
- data.tar.gz: 475e8cadb1025cc4b2d37fe3b673b415364a72be30e5df794c75adbcb3d4524dbc213e5c766327a96841bb105dba2b5773ec54a2251c56d2a8a36f4b59468c9e
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
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Les Aker
3
+ Copyright (c) 2020 Les Aker
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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
- [![Build Status](https://img.shields.io/travis/com/akerl/goodcop.svg)](https://travis-ci.com/akerl/goodcop)
6
- [![Coverage Status](https://img.shields.io/codecov/c/github/akerl/goodcop.svg)](https://codecov.io/github/akerl/goodcop)
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
 
@@ -1,6 +1,7 @@
1
1
  require:
2
2
  - rubocop-performance
3
3
  AllCops:
4
+ NewCops: enable
4
5
  DefaultFormatter: fuubar
5
6
  DisplayCopNames: true
6
7
  # Disable due to https://github.com/bbatsov/rubocop/pull/5230
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'goodcop'
3
- s.version = '0.9.0'
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-performance', '~> 1.5.0'
17
+ s.add_dependency 'rubocop', '~> 1.3.0'
18
+ s.add_dependency 'rubocop-performance', '~> 1.8.1'
18
19
 
19
- s.add_development_dependency 'rubocop', '~> 0.79.0'
20
- s.add_development_dependency 'rake', '~> 13.0.0'
21
- s.add_development_dependency 'codecov', '~> 0.1.1'
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.0
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-02-13 00:00:00.000000000 Z
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-performance
28
+ name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.0
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.5.0
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: 0.79.0
48
- type: :development
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: 0.79.0
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.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.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.1.1
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.1.1
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.9.0
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.9.0
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.0.1
136
+ rubygems_version: 3.1.4
138
137
  signing_key:
139
138
  specification_version: 4
140
139
  summary: Sane defaults for rubocop
@@ -1,11 +0,0 @@
1
- my_slug = 'akerl/goodcop'
2
-
3
- Prospectus.extra_dep('file', 'prospectus_travis')
4
- Prospectus.extra_dep('file', 'prospectus_gems')
5
-
6
- item do
7
- noop
8
-
9
- extend ProspectusGems::Gemspec.new
10
- extend ProspectusTravis::Build.new(my_slug)
11
- end
@@ -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=