guard-standardrb 0.1.0.beta4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +17 -3
- data/lib/guard/standardrb/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12579cf3a887dedc2f77576057ad6798c666cc4caf6f27fc29b5d0211cae3b08
|
4
|
+
data.tar.gz: 866e54fe4a37a61bc48b2242aa284504fb7a5e673ca6b5f0d609d21e8cf5502c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94415c6863f8d68d2dd62462d345c457b7252c8a4896c4104eeb745295b163b277772a7d8e2afab48f342ce7b6d53d4292c968096611f628c81bbefbb6116331
|
7
|
+
data.tar.gz: 43aa19629c15c16141930d22aec892315a759cc2a7501225ba54d8a9b0b911ce7621f8a560822ac81cd908d6cc4162e01409da2ceadd040e0b8e0a85b63e2e51
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
guard-standardrb (0.1.0)
|
4
|
+
guard-standardrb (0.1.0.beta4)
|
5
5
|
guard (>= 2.0.0)
|
6
6
|
guard-compat (~> 1.0)
|
7
7
|
standardrb
|
@@ -35,7 +35,7 @@ GEM
|
|
35
35
|
nenv (~> 0.1)
|
36
36
|
shellany (~> 0.0)
|
37
37
|
parallel (1.19.1)
|
38
|
-
parser (2.7.1.
|
38
|
+
parser (2.7.1.1)
|
39
39
|
ast (~> 2.4.0)
|
40
40
|
pry (0.13.1)
|
41
41
|
coderay (~> 1.1)
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
rubocop (>= 0.71.0)
|
72
72
|
ruby-progressbar (1.10.1)
|
73
73
|
shellany (0.0.1)
|
74
|
-
standard (0.2.
|
74
|
+
standard (0.2.4)
|
75
75
|
rubocop (~> 0.80.1)
|
76
76
|
rubocop-performance (~> 1.5.2)
|
77
77
|
standardrb (1.0.0)
|
data/README.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# Guard::Standardrb
|
2
2
|
|
3
|
-
Welcome to
|
3
|
+
Welcome to the new guard plugin `guard-standardrb`!
|
4
|
+
This guard is bases on the gem `standardrb`, you can find more information about it https://github.com/testdouble/standard
|
4
5
|
|
5
|
-
|
6
|
+
StandardRB is essentially a wrapper on top of RuboCop, but enforce code convention without much configuration possible.
|
7
|
+
This plugin will run with your guard while you modify your code and output any code conventions erros
|
8
|
+
|
9
|
+
More Information about StandardRb:
|
10
|
+
The beauty of Ruby Standard Style is that it's simple. No one wants to maintain multiple hundred-line style configuration files for every module/project they work on. Enough of this madness!
|
11
|
+
|
12
|
+
This gem saves you (and others!) time in three ways:
|
13
|
+
|
14
|
+
No configuration. The easiest way to enforce consistent style in your project. Just drop it in.
|
15
|
+
Automatically format code. Just run standardrb --fix and say goodbye to messy or inconsistent code.
|
16
|
+
Catch style issues & programmer errors early. Save precious code review time by eliminating back-and-forth between reviewer & contributor.
|
17
|
+
Adopting Standard style means ranking the importance of code clarity and community conventions higher than personal style. This might not make sense for 100% of projects and development cultures, however open source can be a hostile place for newbies. Setting up clear, automated contributor expectations makes a project healthier.
|
6
18
|
|
7
19
|
## Installation
|
8
20
|
|
@@ -26,7 +38,9 @@ To add this guard plugin to your repo, run:
|
|
26
38
|
|
27
39
|
## Usage
|
28
40
|
|
29
|
-
|
41
|
+
Once you installed the gem on your repo and initialized it to be added to your GuardFile,
|
42
|
+
just run `bundle exec guard` and you should see a line `Standardrb initialized`.
|
43
|
+
This means that the guard will run on all files that will be modified by that point in time and output the erros.
|
30
44
|
|
31
45
|
## Development
|
32
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-standardrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jody Vandenschrick
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -93,9 +93,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- - "
|
96
|
+
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
98
|
+
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubygems_version: 3.1.2
|
101
101
|
signing_key:
|