alfonsox 0.2.5 → 0.2.6
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +36 -1
- data/lib/alfonsox/cli.rb +1 -1
- data/lib/alfonsox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55888345dcf01140ee8a7603eaaeb1c0976cc8066a5cbd61015324f486686914
|
|
4
|
+
data.tar.gz: 78640ce9cc851ce6b3e0b154f2840b5c6aa5678518f2ac6ce55e1fe160a2394e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63de29a23988e785e53ff235ed99bda02cdd1b35408f7939c969febc538b4dc70a607fdae95cfba3258980156e690f4491c235dffc81c0245d1e6bb421ec6095
|
|
7
|
+
data.tar.gz: 02e19169097964499735b933e8dd41fe9417e435387574db6bea4968cb2ebe2a7a44ae3ca19c3d67484f27a60144c26fc131e2938fae384c0323738aa1b844a1
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -106,10 +106,45 @@ Dictionaries:
|
|
|
106
106
|
type: 'rubymine'
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
####
|
|
109
|
+
#### Command line tool
|
|
110
110
|
|
|
111
111
|
Just call **bundle exec alfonsox** and it should work fine, informing of any orthographic error in your code files.
|
|
112
112
|
|
|
113
|
+
##### Output
|
|
114
|
+
|
|
115
|
+
###### Successful Output
|
|
116
|
+
|
|
117
|
+
Note the output is written in standard output (STDOUT).
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
$ bundle exec alfonsox
|
|
121
|
+
✔ Code is spell-checked correctly
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Note the exit code is 0
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
$ echo $?
|
|
128
|
+
0
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
###### Non-successful Output
|
|
132
|
+
|
|
133
|
+
Note the output is written in error standard output (STDERR).
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
$ bundle exec alfonsox
|
|
137
|
+
/Users/diegoj/proyectos/blobik/app/models/post.rb:2 incorrektword
|
|
138
|
+
✗ Errors in code spellchecking
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Note the exit code is 1
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
$ echo $?
|
|
145
|
+
1
|
|
146
|
+
```
|
|
147
|
+
|
|
113
148
|
### Overcommit integration
|
|
114
149
|
|
|
115
150
|
[Overcommit](https://github.com/sds/overcommit)
|
data/lib/alfonsox/cli.rb
CHANGED
data/lib/alfonsox/version.rb
CHANGED