alfonsox 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ca11c18b4eb8c01ef6470328f9f4707283501fff3f7c7ebeddc46cb3b8eba75
4
- data.tar.gz: 1fce3b0a3819a688a467d70722186de55735acd3d427c3cba1dae1c1f6d798f6
3
+ metadata.gz: 55888345dcf01140ee8a7603eaaeb1c0976cc8066a5cbd61015324f486686914
4
+ data.tar.gz: 78640ce9cc851ce6b3e0b154f2840b5c6aa5678518f2ac6ce55e1fe160a2394e
5
5
  SHA512:
6
- metadata.gz: d4c63a337913d15722c4c3edadd94a970fe6c93dd919953b5fa5a5ded821f03cf2f4cd9995a76b1b85fdbd4bd207c95ca2f1467b72dd748d44efabd180dee05c
7
- data.tar.gz: 753362cf0d9ffca8386b52c5928accaccf1302e93876e80a4c0b253d5e68990499724674e04c93634e05a88292e6a5cabef980ffdf60c6167b081630acdea80f
6
+ metadata.gz: 63de29a23988e785e53ff235ed99bda02cdd1b35408f7939c969febc538b4dc70a607fdae95cfba3258980156e690f4491c235dffc81c0245d1e6bb421ec6095
7
+ data.tar.gz: 02e19169097964499735b933e8dd41fe9417e435387574db6bea4968cb2ebe2a7a44ae3ca19c3d67484f27a60144c26fc131e2938fae384c0323738aa1b844a1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- alfonsox (0.2.5)
4
+ alfonsox (0.2.6)
5
5
  hunspell (~> 1.1, >= 1.1.0)
6
6
  nokogiri (~> 1.8, >= 1.8.5)
7
7
 
data/README.md CHANGED
@@ -106,10 +106,45 @@ Dictionaries:
106
106
  type: 'rubymine'
107
107
  ```
108
108
 
109
- #### Comnand line tool
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
@@ -64,7 +64,7 @@ module AlfonsoX
64
64
 
65
65
  # Informs that something went wrong
66
66
  def print_error_status
67
- STDERR.puts '✗ Errors in in code spellchecking'
67
+ STDERR.puts '✗ Errors in code spellchecking'
68
68
  end
69
69
  end
70
70
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AlfonsoX
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alfonsox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego J. Romero López