renuo-bin-check 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +36 -35
- data/lib/renuo_bin_check/version.rb +1 -1
- data/renuo-bin-check.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff44c0cca4c757a3b2217a89ace55403cf337e9d
|
4
|
+
data.tar.gz: 7961ea8b231c3066b7424b41e78fef4528308f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cef222fd0620af85910bca2755a36a47ad6adb8bb0a2c9b93bcf9455cd0c5f100c30db793bb8878e0982312de493c5f9c3065f9cfa5dd5814b789a2594424955
|
7
|
+
data.tar.gz: 67242eb0cddc9323f27ae1652fd9d401d5677eeffd496c7b2e12bc808c2fd83c912784706a7f0729c63987ee7adc509e7e668898d0380d0054a1591d98a0448a
|
data/CHANGELOG.md
CHANGED
@@ -34,3 +34,8 @@ This was implemented as many Scripts use the Standard-Output for Outputs even if
|
|
34
34
|
* Error-Output can be appended or overridden
|
35
35
|
|
36
36
|
* Default-Script for faster Configuration of a bin/check in rails applications
|
37
|
+
|
38
|
+
## Version 0.2.1
|
39
|
+
|
40
|
+
* fixed typos
|
41
|
+
* refined readme
|
data/README.md
CHANGED
@@ -1,44 +1,23 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/renuo/renuo-bin-check.svg?branch=master)](https://travis-ci.org/renuo/renuo-bin-check) [![Build Status](https://travis-ci.org/renuo/renuo-bin-check.svg?branch=develop)](https://travis-ci.org/renuo/renuo-bin-check) [![Build Status](https://travis-ci.org/renuo/renuo-bin-check.svg?branch=testing)](https://travis-ci.org/renuo/renuo-bin-check) [![Code Climate](https://codeclimate.com/github/renuo/renuo-bin-check/badges/gpa.svg)](https://codeclimate.com/github/renuo/renuo-bin-check) [![Issue Count](https://codeclimate.com/github/renuo/renuo-bin-check/badges/issue_count.svg)](https://codeclimate.com/github/renuo/renuo-bin-check) [![Test Coverage](https://codeclimate.com/github/renuo/renuo-bin-check/badges/coverage.svg)](https://codeclimate.com/github/renuo/renuo-bin-check/coverage)
|
2
|
-
# renuo-bin-check
|
3
|
-
|
4
|
-
## Setup
|
5
|
-
|
6
|
-
```
|
7
|
-
git clone git@github.com:renuo/renuo-bin-check.git
|
8
|
-
cd renuo-bin-check
|
9
|
-
bin/setup
|
10
|
-
```
|
11
|
-
|
12
|
-
## Run Tests
|
13
2
|
|
14
|
-
|
15
|
-
|
16
|
-
```
|
17
|
-
bin/check
|
18
|
-
```
|
19
|
-
|
20
|
-
Run automated tests only with: `rspec`
|
21
|
-
|
22
|
-
Run Lining only: `rubocop`
|
3
|
+
# renuo-bin-check
|
23
4
|
|
24
|
-
|
5
|
+
With this gem you can automatically check your code quality (e.g. before every commit).
|
6
|
+
You can configure it to run [*rubocop*][1], [*reek*](2), [*rspec*](3) and even custom scripts.
|
7
|
+
For faster runtime it makes use of caching and parallel execution.
|
25
8
|
|
26
9
|
## How To Use renuo-bin-check
|
27
10
|
|
28
|
-
Install renuo-bin-check locally: see Setup
|
29
|
-
|
30
11
|
Add renuo-bin-check to your Gemfile:
|
31
12
|
|
32
13
|
```rb
|
33
|
-
gem 'renuo-bin-check'
|
14
|
+
gem 'renuo-bin-check'
|
34
15
|
```
|
35
16
|
|
36
|
-
Create a file at any place you want. Usually it would be called bin/check though.
|
37
|
-
|
17
|
+
Create a file at any place you want. Usually it would be called `bin/check though.
|
38
18
|
You can now configure your scripts like that:
|
39
19
|
|
40
20
|
```rb
|
41
|
-
# Initialize bin-check
|
42
21
|
require 'renuo-bin-check'
|
43
22
|
|
44
23
|
bin_check = RenuoBinCheck::Initializer.new
|
@@ -51,11 +30,25 @@ bin_check.check do |config|
|
|
51
30
|
config.reversed_exit <true or false>
|
52
31
|
end
|
53
32
|
|
54
|
-
#run
|
33
|
+
#run all scripts configured above
|
55
34
|
bin_check.run
|
56
35
|
```
|
57
36
|
|
58
|
-
|
37
|
+
## Setup
|
38
|
+
|
39
|
+
git clone git@github.com:renuo/renuo-bin-check.git
|
40
|
+
cd renuo-bin-check
|
41
|
+
bin/setup
|
42
|
+
|
43
|
+
|
44
|
+
## Run Tests
|
45
|
+
|
46
|
+
The following script will run *rspec*, *rubocop*, *reek*, scanner for debugging outputs and a scanner for TODOs
|
47
|
+
|
48
|
+
bin/check
|
49
|
+
|
50
|
+
|
51
|
+
### Options for Configuration
|
59
52
|
|
60
53
|
#### command
|
61
54
|
|
@@ -129,14 +122,22 @@ If you would like to contribute, you're very welcome to.
|
|
129
122
|
|
130
123
|
Please follow these instructions:
|
131
124
|
|
132
|
-
|
133
|
-
|
134
|
-
https://github.com/renuo/renuo-bin-check/blob/develop/CODE_OF_CONDUCT.md
|
125
|
+
* [Contributing][4]
|
126
|
+
* [Code of Conduct][5]
|
135
127
|
|
136
128
|
## License
|
137
129
|
|
138
|
-
Copyright (c) 2016 Renuo GmbH
|
130
|
+
Copyright (c) 2016 [Renuo GmbH]
|
131
|
+
|
132
|
+
[MIT License][6]
|
133
|
+
|
134
|
+
|
135
|
+
[1]: https://github.com/bbatsov/rubocop
|
136
|
+
[2]: https://github.com/troessner/reek
|
137
|
+
[3]: https://github.com/rspec/rspec
|
139
138
|
|
140
|
-
|
139
|
+
[4]: https://github.com/renuo/renuo-bin-check/blob/develop/CONTRIBUTING.md
|
140
|
+
[5]: https://github.com/renuo/renuo-bin-check/blob/develop/CODE_OF_CONDUCT.md
|
141
|
+
[6]: https://github.com/renuo/renuo-bin-check/blob/develop/LICENSE
|
141
142
|
|
142
|
-
|
143
|
+
[Renuo GmbH]: https://www.renuo.ch
|
data/renuo-bin-check.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['zora.fuchs@renuo.ch']
|
11
11
|
|
12
12
|
spec.summary = 'renuo-bin-check automates running programms to check code quality of a ruby application.'
|
13
|
-
spec.description = 'With this gem you can automatically check your code quality (e.g. before every commit). You can configure it to run rubocop, reek, rspec and even custom scripts. For faster runtime it makes use of
|
13
|
+
spec.description = 'With this gem you can automatically check your code quality (e.g. before every commit). You can configure it to run rubocop, reek, rspec and even custom scripts. For faster runtime it makes use of caching and parallel execution.'
|
14
14
|
spec.homepage = 'https://github.com/renuo/renuo-bin-check'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renuo-bin-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zora Fuchs
|
@@ -180,7 +180,7 @@ dependencies:
|
|
180
180
|
version: '0.11'
|
181
181
|
description: With this gem you can automatically check your code quality (e.g. before
|
182
182
|
every commit). You can configure it to run rubocop, reek, rspec and even custom
|
183
|
-
scripts. For faster runtime it makes use of
|
183
|
+
scripts. For faster runtime it makes use of caching and parallel execution.
|
184
184
|
email:
|
185
185
|
- zora.fuchs@renuo.ch
|
186
186
|
executables: []
|