sevenwire-rubocop 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 727f7ab2c9063e245cdb6a4fbc56f0eaa0cb9245a6c9fa8d8f95947de1726360
4
+ data.tar.gz: c99df10cc800c84bb923fde1e00a2ddba0413b0fcc7afceec4a6969dc7b5165e
5
+ SHA512:
6
+ metadata.gz: 37e2b0f329633a1b0d33c50d9ce59ce8417e31a56f11bb51de9597cccbe0dad5cf8ba8b4d69ccaa1bf8f0c246a20ad35d57b8ab2d1a1808318a327aa2f13c45c
7
+ data.tar.gz: b16a11c631a122d90761e89d41155756a20ccb3e383371799e2d152a934c6343e93cd4536c4d0f8c9557eb503934804dff1af0a4c7493418883f2a58f2b0fa21
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ .DS_Store
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ inherit_from: default.yml
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,41 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sevenwire-rubocop (1.0.0)
5
+ rubocop (~> 0.58.2)
6
+ rubocop-rspec (~> 1.29.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.0)
12
+ jaro_winkler (1.5.1)
13
+ parallel (1.12.1)
14
+ parser (2.5.3.0)
15
+ ast (~> 2.4.0)
16
+ powerpack (0.1.2)
17
+ rainbow (3.0.0)
18
+ rake (10.5.0)
19
+ rubocop (0.58.2)
20
+ jaro_winkler (~> 1.5.1)
21
+ parallel (~> 1.10)
22
+ parser (>= 2.5, != 2.5.1.1)
23
+ powerpack (~> 0.1)
24
+ rainbow (>= 2.2.2, < 4.0)
25
+ ruby-progressbar (~> 1.7)
26
+ unicode-display_width (~> 1.0, >= 1.0.1)
27
+ rubocop-rspec (1.29.1)
28
+ rubocop (>= 0.58.0)
29
+ ruby-progressbar (1.10.0)
30
+ unicode-display_width (1.4.0)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (~> 1.15)
37
+ rake (~> 10.0)
38
+ sevenwire-rubocop!
39
+
40
+ BUNDLED WITH
41
+ 1.16.4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Sevenwire LLC.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # sevenwire-rubocop
2
+
3
+ Sevenwire shared Rubocop config.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ group :test, :development do
11
+ gem 'sevenwire-rubocop', git: "https://github.com/sevenwire/sevenwire-rubocop.git"
12
+ end
13
+ ```
14
+
15
+ And then run:
16
+
17
+ ```bash
18
+ $ bundle install
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ Create a `.rubocop.yml` with the following directives:
24
+
25
+ ```yaml
26
+ inherit_gem:
27
+ sevenwire-rubocop:
28
+ - default.yml
29
+ ```
30
+
31
+ Now, run:
32
+
33
+ ```bash
34
+ $ bundle exec rubocop
35
+ ```
36
+
37
+ You do not need to include rubocop directly in your application's dependencies. sevenwire-rubocop will include a specific version of `rubocop` and `rubocop-rspec` that is shared across all projects.
data/RELEASING.md ADDED
@@ -0,0 +1,11 @@
1
+ # Releasing
2
+
3
+ 1. Update version.rb file accordingly.
4
+ 1. Tag the release: `git tag vVERSION`
5
+ 1. Push changes: `git push --tags`
6
+ 1. Build and publish:
7
+
8
+ ```bash
9
+ bundle exec rake build
10
+ gem push pkg/sevenwire-rubocop-X.XX.XX.gem
11
+ ```
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'