watson-ruby 1.4.2 → 1.4.3

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
  SHA1:
3
- metadata.gz: b7bda617cab8b88201fc641200b445d7e2bb00ca
4
- data.tar.gz: 0495fbacaf6082fbfae13bca095049f120913667
3
+ metadata.gz: c13ba5881255f027628ecb4d0c2b89c001e4940e
4
+ data.tar.gz: 406069b4a52de7d481b5907a59bb35c8dd6abe6a
5
5
  SHA512:
6
- metadata.gz: 6beb97591a44614b91c4b3a9b326889da79894c809abf65d0ecbafe7c41eaa9ca5b475b55cb6f38da8c1efcd98a4386e9e846b9e2b886b0b7537947f4872ee0b
7
- data.tar.gz: 1bdc123198f253ed08333773b2f38fd2e2bed481004f58fc395cb1e060a9cc9eba7d6dcf6683f1ad083bb1504393cba9b8718be36c28bbc90409b7e66bed849c
6
+ metadata.gz: 74bcaa0ac025a657062122bc02df3146cc3189b6ae579eb6ca4f52f3a5a4782076be2c30d206c308f288b2986671db0c81cd89c97b7364da761d9e20faf94af2
7
+ data.tar.gz: 6098f8440287d51898970381aa1583e8186ae88fed76fd6fa0568c589d146279b835c1f6708ec427b186b999fe066c7248cb33c37c3e8ba65c7cd2606306e9f5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- watson-ruby (1.4.2)
4
+ watson-ruby (1.4.3)
5
5
  json
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -25,6 +25,14 @@ bundle install
25
25
  bundle exec rake
26
26
  ```
27
27
 
28
+
29
+ ## Recent Updates
30
+ - [vim-unite-watson.vim](https://github.com/alpaca-tc/vim-unite-watson.vim) integrates watson right into vim!
31
+ - watson now supports multiple export modes
32
+ - JSON output allows you to integrate watson parse data into your own apps
33
+ - Silent output allows you to use watson without a printout; tie it to git hooks for streamlined issue posting
34
+
35
+
28
36
  ## Usage
29
37
  For a quick idea of how to use watson, check out the [app demo](http://goosecode.com/watson)! ([mirror](http://nhmood.github.io/watson-ruby))
30
38
  See below for a description of what all the command line arguments do.
@@ -103,7 +111,8 @@ If passed with `json`, the output will be in the form of JSON, and will be store
103
111
 
104
112
  - This particular option is useful if attempting to intergrate watson into other tools / platforms.
105
113
 
106
- If passed with `unite`, the output will be compatible with the vim unite plugin (more details soon)
114
+ If passed with `unite`, the output will be compatible with the unite.vim plugin
115
+ (see the **Unite** section below or visit [alpaca-tc/vim-unite-watson](https://github.com/alpaca-tc/vim-unite-watson.vim)
107
116
 
108
117
  If passed with `silent`, watson will have no output.
109
118
 
@@ -179,6 +188,20 @@ Currently, OAuth has yet to be implemented for Bitbucket so the Bitbucket userna
179
188
 
180
189
  The remote related .watsonrc options shouldn't need to be edited manually, as they are automatically populated when the -r, --remote setup is called.
181
190
 
191
+ ## unite.vim
192
+ ### [vim-unite-watson.vim](https://github.com/alpaca-tc/vim-unite-watson.vim) by [alpaca-tc](http://github.com/alpaca-tc)
193
+ **alpaca-tc** was kind enough to create a [unite.vim](https://github.com/Shougo/unite.vim) plugin to integrate with watson!
194
+ **unite.vim** allows you to create user interfaces within vim and lets you search and display any kind of information.
195
+ The **unite-vim-watson.vim** plugin allows you to:
196
+
197
+ - Generate a list of issues directly inside vim
198
+ - Search and select files displayed in the watson output
199
+ - Jump directly to the line where the issue is located (!!)
200
+
201
+ If you use vim I ***definitely*** recommend using **vim-unite-watson.vim**, it works wonders for productivity!
202
+
203
+ ### See it in action [here (GIF demo)](https://github.com/alpaca-tc/vim-unite-watson.vim)
204
+
182
205
  ## Special Thanks
183
206
  Special thanks to [@samirahmed](http://github.com/samirahmed) for his super Ruby help and encouraging the Ruby port!
184
207
  Special thanks to [@eugenekolo](http://twitter.com/eugenekolo) [[email](eugenek@bu.edu)] for his super Perl help!
@@ -177,14 +177,17 @@ module Watson
177
177
  Running watson with no arguments will parse with settings in RC file
178
178
  If no RC file exists, default RC file will be created
179
179
 
180
- -c, --context-depth number of lines of context to provide with posted issue
180
+ -c, --context-depth lines of context to provide with posted issue
181
181
  -d, --dirs list of directories to search in
182
182
  -f, --files list of files to search in
183
- --format set output format for watson [print, json, unite, silent]
183
+ --format set output format for watson
184
+ [print, json, unite, silent]
184
185
  -h, --help print help
185
186
  -i, --ignore list of files, directories, or types to ignore
186
187
  -p, --parse-depth depth to recursively parse directories
187
188
  -r, --remote list / create tokens for Bitbucket/GitHub
189
+ -s, --show filter results (files listed) based on issue status
190
+ [all, clean, dirty]
188
191
  -t, --tags list of tags to search for
189
192
  -u, --update update remote repos with current issues
190
193
  -v, --version print watson version and info
@@ -194,7 +197,7 @@ module Watson
194
197
  To use *.filetype identifier, encapsulate in \"\" to avoid shell substitutions
195
198
 
196
199
  Report bugs to: watson\@goosecode.com
197
- watson home page: <http://goosecode.com/projects/watson>
200
+ watson home page: <http://goosecode.com/watson>
198
201
  [goosecode] labs | 2012-2013#{RESET}
199
202
  HELP
200
203
 
data/lib/watson/parser.rb CHANGED
@@ -262,7 +262,8 @@ module Watson
262
262
  # Make sure that the tag that was found is something we accept
263
263
  # If not, skip it but tell user about an unrecognized tag
264
264
  unless @config.tag_list.include?(_tag)
265
- Printer.print_status '!', RED
265
+ formatter = Printer.new(@config).build_formatter
266
+ formatter.print_status "+", GREEN
266
267
  print "Unknown tag [#{ _tag }] found, ignoring\n"
267
268
  print " You might want to include it in your RC or with the -t/--tags flag\n"
268
269
  next
@@ -1,3 +1,3 @@
1
1
  module Watson
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watson-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - nhmood