appbooster_rubocop_config 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +4 -0
- data/Makefile +12 -0
- data/PULL_REQUEST_TEMPLATE.md +7 -0
- data/README.md +8 -8
- data/Rakefile +2 -0
- data/appbooster_rubocop_config.gemspec +2 -1
- data/default.yml +3 -0
- data/lib/rubocop/appbooster_rubocop_config/version.rb +1 -1
- metadata +20 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0dd009b011690ff16b9d89aac8a2fc83441130ef99a5b9f045fdd6dae2efbe8c
|
|
4
|
+
data.tar.gz: 477215dd440e64d372665e2b16fc1faaf79d06876a1e5435a7bd75e4719d3cf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aecf617aa42b4642e80623090a79540141b3e38ae5bbef69292cdebe96f8528b3b2fbea8c64015a3ca3c0c64b3f103c4e572c4dd54b206e055aa7bb6d058719c
|
|
7
|
+
data.tar.gz: 41f1decf61d1e2fc2fef7cc2a367b8c1d8b0a858bcc94d76abab3a91582c1422b861d9771947c3147efc5c96c3d1aa381594beb532b5baadbd13737a8c7813ea
|
data/.travis.yml
CHANGED
data/Makefile
CHANGED
data/README.md
CHANGED
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/appbooster/rubocop_config)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
TODO: Delete this and the text above, and describe your gem
|
|
5
|
+
Shared rubocop config of Appbooster organization
|
|
8
6
|
|
|
9
7
|
## Installation
|
|
10
8
|
|
|
11
9
|
Add this line to your application's Gemfile:
|
|
12
10
|
|
|
13
11
|
```ruby
|
|
14
|
-
gem 'appbooster_rubocop_config'
|
|
12
|
+
gem 'appbooster_rubocop_config'
|
|
15
13
|
```
|
|
16
14
|
|
|
17
15
|
And then execute:
|
|
@@ -47,11 +45,13 @@ inherit_from:
|
|
|
47
45
|
|
|
48
46
|
## Development
|
|
49
47
|
|
|
50
|
-
After checking out the repo, run `
|
|
48
|
+
After checking out the repo, run `make setup` to install dependencies.
|
|
49
|
+
Then, run `make` to run the tests and lints. Or you can call it seperatly `make lint` for linting and `make test` for testing.
|
|
51
50
|
|
|
52
|
-
To install this gem onto your local machine, run `
|
|
53
|
-
|
|
51
|
+
To install this gem onto your local machine, run `make install`.
|
|
52
|
+
To release a new version, run `make version` to show you current version, ie `0.1.4`
|
|
53
|
+
Then run `make release VERSION="0.1.5"` where `VERSION` is next release version you want to push to [rubygems.org](https://rubygems.org).
|
|
54
54
|
|
|
55
55
|
## Contributing
|
|
56
56
|
|
|
57
|
-
Bug reports and pull requests are welcome on GitHub
|
|
57
|
+
Bug reports and pull requests are welcome on [GitHub](https://github.com/appbooster/rubocop_config).
|
data/Rakefile
CHANGED
|
@@ -31,7 +31,8 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.add_development_dependency "bundler", "~> 1.15"
|
|
32
32
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
33
33
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
34
|
+
spec.add_development_dependency "bump", ">= 0.5.4"
|
|
34
35
|
|
|
35
|
-
spec.add_dependency "rubocop", "~> 0.
|
|
36
|
+
spec.add_dependency "rubocop", "~> 0.59.0"
|
|
36
37
|
spec.add_dependency "rubocop-rspec", "~> 1.20"
|
|
37
38
|
end
|
data/default.yml
CHANGED
|
@@ -43,6 +43,9 @@ Rails:
|
|
|
43
43
|
Rails/SkipsModelValidations:
|
|
44
44
|
Enabled: true
|
|
45
45
|
|
|
46
|
+
VariableName:
|
|
47
|
+
EnforcedStyle: snake_case
|
|
48
|
+
|
|
46
49
|
# Single quotes being faster is hardly measurable and only affects parse time.
|
|
47
50
|
# Enforcing double quotes reduces the times where you need to change them
|
|
48
51
|
# when introducing an interpolation. Use single quotes only if their semantics
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appbooster_rubocop_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitriy Ivliev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -52,20 +52,34 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: bump
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.5.4
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 0.5.4
|
|
55
69
|
- !ruby/object:Gem::Dependency
|
|
56
70
|
name: rubocop
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
|
58
72
|
requirements:
|
|
59
73
|
- - "~>"
|
|
60
74
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.
|
|
75
|
+
version: 0.59.0
|
|
62
76
|
type: :runtime
|
|
63
77
|
prerelease: false
|
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
79
|
requirements:
|
|
66
80
|
- - "~>"
|
|
67
81
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.
|
|
82
|
+
version: 0.59.0
|
|
69
83
|
- !ruby/object:Gem::Dependency
|
|
70
84
|
name: rubocop-rspec
|
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -93,6 +107,7 @@ files:
|
|
|
93
107
|
- ".travis.yml"
|
|
94
108
|
- Gemfile
|
|
95
109
|
- Makefile
|
|
110
|
+
- PULL_REQUEST_TEMPLATE.md
|
|
96
111
|
- README.md
|
|
97
112
|
- Rakefile
|
|
98
113
|
- appbooster_rubocop_config.gemspec
|
|
@@ -123,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
138
|
version: '0'
|
|
124
139
|
requirements: []
|
|
125
140
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
141
|
+
rubygems_version: 2.7.7
|
|
127
142
|
signing_key:
|
|
128
143
|
specification_version: 4
|
|
129
144
|
summary: Shared rubocop config of Appbooster organization
|