ramsey_cop 0.14.2 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gempush.yml +32 -0
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +0 -0
- data/CODEOWNERS +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/CONTRIBUTING.md +0 -0
- data/Dockerfile +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +5 -5
- data/ISSUE_TEMPLATE.md +0 -0
- data/LICENSE.txt +0 -0
- data/PULL_REQUEST_TEMPLATE.md +0 -0
- data/README.md +1 -0
- data/Rakefile +0 -0
- data/default.yml +7 -7
- data/documentation/codeclimate-setup.md +0 -0
- data/documentation/existing-repositories.md +0 -0
- data/documentation/images/vim-tips-01.png +0 -0
- data/documentation/vim-tips.md +0 -0
- data/lib/generators/ramsey_cop_generator.rb +0 -0
- data/lib/generators/rscop.yml +0 -0
- data/lib/ramsey_cop/version.rb +1 -1
- data/lib/ramsey_cop.rb +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 223faf87c19cb5fb3b878b4ae2d61eba44231f62d5bd094c8779fad58637913b
|
4
|
+
data.tar.gz: 5fa39746d6c0a430622e37693195eb3187e836e429023f0cf53721a1bbe5060e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99f3163eb2089f979a4225690c904ca65c130d128bb5ef0d6c21ce72143e636c3aebed9c2c7707e726731e04b619dc61fd9482c363338fbed709c208598f8f7
|
7
|
+
data.tar.gz: e15d06a434751e70ca0bb3c885ba0709239bbe260c82a07b45835b82a52b40dd8a2a79849dd3a2a15ab37f221784b6ce9c25707c666a6faa25a6aaa256f0878e
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@master
|
18
|
+
- name: Set up Ruby 2.6
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
version: 2.6.x
|
22
|
+
|
23
|
+
- name: Publish to RubyGems
|
24
|
+
run: |
|
25
|
+
mkdir -p $HOME/.gem
|
26
|
+
touch $HOME/.gem/credentials
|
27
|
+
chmod 0600 $HOME/.gem/credentials
|
28
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
29
|
+
gem build *.gemspec
|
30
|
+
gem push *.gem
|
31
|
+
env:
|
32
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CODEOWNERS
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/CONTRIBUTING.md
CHANGED
File without changes
|
data/Dockerfile
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ramsey_cop (0.
|
4
|
+
ramsey_cop (0.15.0)
|
5
5
|
rubocop (~> 0.62)
|
6
6
|
rubocop-performance
|
7
7
|
|
@@ -11,8 +11,8 @@ GEM
|
|
11
11
|
ast (2.4.0)
|
12
12
|
diff-lcs (1.3)
|
13
13
|
jaro_winkler (1.5.3)
|
14
|
-
parallel (1.
|
15
|
-
parser (2.6.
|
14
|
+
parallel (1.17.0)
|
15
|
+
parser (2.6.3.0)
|
16
16
|
ast (~> 2.4.0)
|
17
17
|
rainbow (3.0.0)
|
18
18
|
rake (12.3.2)
|
@@ -29,14 +29,14 @@ GEM
|
|
29
29
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
30
|
rspec-support (~> 3.8.0)
|
31
31
|
rspec-support (3.8.0)
|
32
|
-
rubocop (0.
|
32
|
+
rubocop (0.74.0)
|
33
33
|
jaro_winkler (~> 1.5.1)
|
34
34
|
parallel (~> 1.10)
|
35
35
|
parser (>= 2.6)
|
36
36
|
rainbow (>= 2.2.2, < 4.0)
|
37
37
|
ruby-progressbar (~> 1.7)
|
38
38
|
unicode-display_width (>= 1.4.0, < 1.7)
|
39
|
-
rubocop-performance (1.
|
39
|
+
rubocop-performance (1.4.1)
|
40
40
|
rubocop (>= 0.71.0)
|
41
41
|
ruby-progressbar (1.10.1)
|
42
42
|
unicode-display_width (1.6.0)
|
data/ISSUE_TEMPLATE.md
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/PULL_REQUEST_TEMPLATE.md
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# RamseyCop
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/ramsey_cop.svg)](https://badge.fury.io/rb/ramsey_cop)
|
4
|
+
![Number of Downloads](https://img.shields.io/gem/dt/ramsey_cop)
|
4
5
|
|
5
6
|
Inspired by https://blog.percy.io/share-rubocop-rules-across-all-of-your-repos-f3281fbd71f8
|
6
7
|
|
data/Rakefile
CHANGED
File without changes
|
data/default.yml
CHANGED
@@ -9,6 +9,13 @@ AllCops:
|
|
9
9
|
Layout/AccessModifierIndentation:
|
10
10
|
EnforcedStyle: outdent
|
11
11
|
|
12
|
+
Layout/LineLength:
|
13
|
+
Max: 120
|
14
|
+
Exclude:
|
15
|
+
- config/routes.rb
|
16
|
+
- config/routes/*
|
17
|
+
- db/migrate/*
|
18
|
+
|
12
19
|
Metrics/AbcSize:
|
13
20
|
Exclude:
|
14
21
|
- spec/**/*
|
@@ -34,13 +41,6 @@ Metrics/CyclomaticComplexity:
|
|
34
41
|
- spec/**/*
|
35
42
|
- test/**/*
|
36
43
|
|
37
|
-
Metrics/LineLength:
|
38
|
-
Max: 120
|
39
|
-
Exclude:
|
40
|
-
- config/routes.rb
|
41
|
-
- config/routes/*
|
42
|
-
- db/migrate/*
|
43
|
-
|
44
44
|
Metrics/MethodLength:
|
45
45
|
Exclude:
|
46
46
|
- db/migrate/*
|
File without changes
|
File without changes
|
File without changes
|
data/documentation/vim-tips.md
CHANGED
File without changes
|
File without changes
|
data/lib/generators/rscop.yml
CHANGED
File without changes
|
data/lib/ramsey_cop/version.rb
CHANGED
data/lib/ramsey_cop.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ramsey_cop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Peyton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -89,6 +89,7 @@ executables: []
|
|
89
89
|
extensions: []
|
90
90
|
extra_rdoc_files: []
|
91
91
|
files:
|
92
|
+
- ".github/workflows/gempush.yml"
|
92
93
|
- ".gitignore"
|
93
94
|
- ".rspec"
|
94
95
|
- ".rubocop.yml"
|