watson-ruby 1.0.1 → 1.0.2

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: d819b93c0dd3327d5c09317d78445b4e5033cec0
4
- data.tar.gz: 70e0a28a0a41c96ba2bdedde91c0fbc874ab5b1a
3
+ metadata.gz: 28e8e2c2c044559ea4323048b26193e7a442441b
4
+ data.tar.gz: 7506151d5e976c6c5bfd043d16e27008dea49d5c
5
5
  SHA512:
6
- metadata.gz: 0f4610ae753aa835e6fcb76d3bada319cc617f84844c545d138d8286bcf1592ce56e247cbc36356ad6a8d8b570d33402ac2f1321f980615a3ede6e32d59ef491
7
- data.tar.gz: 09976dca9648051e4c0a3ca3360abbc2430e1c660dd2e9aacce5653841596a30d1d382178aecdb146d48640f3ec5897b8fc39c9f2f4b50c691a6cbe2b0d27368
6
+ metadata.gz: c06babe56fbd2dc01e0886d556a6c8aa9c3af9aefc3bb0472d64117ccf38f33d808c14c37b849e84c198b20a109adf0b75f8e0e8ee25e4318ecdb18c27343ee3
7
+ data.tar.gz: a1b4c656fe5a0aa690b15887ef346943708a3a732412e3d13d99eb8aa4e9b392d52a359ad880b3dc566de129f57b45b360237d59794d46491843fff0b377d886
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  It is avaliable in two flavors, [watson-ruby](http://github.com/nhmood/watson-ruby) and [watson-perl](http://github.com/watson-perl)
5
5
 
6
6
  ### See watson in action [here](http://goosecode.com/watson) ([mirror](http://nhmood.github.io/watson-ruby))
7
- ### See the RDoc documentation [here](http://goosecode.com/watson/ruby-documentation) ([mirror](http://nhmood.github.io/watson-ruby/documentation))
7
+ ### See the RDoc documentation [here](http://goosecode.com/watson/ruby/doc/) ([mirror](http://nhmood.github.io/watson-ruby/ruby/doc/))
8
8
 
9
9
  ## Installation
10
10
  watson-ruby has been tested with **Ruby v2.0.0p247** and **RubyGems v2.0.3** (on **Arch Linux**)
@@ -14,7 +14,7 @@ watson-ruby requires the ```json``` gem
14
14
  watson-ruby is avaliable as a RubyGems ([link](https://rubygems.org/gems/watson-ruby)).
15
15
  You can either download it directory from ```gem``` using
16
16
  ```
17
- gem install watson
17
+ gem install watson-ruby
18
18
  ```
19
19
 
20
20
  Or you can clone this repo and install with Rake
@@ -116,7 +116,7 @@ The .watsonrc is placed in every directory that watson is run from as opposed to
116
116
  For example, a C/C++ project might want to look in src/ and ignore obj/ whereas a Ruby project might want to look in lib/ and ignore assets/.
117
117
 
118
118
  The .watsonrc file is fairly straightforward...
119
- **[dirs]** - This is a newline separated list of directories to ignore.
119
+ **[dirs]** - This is a newline separated list of directories to look in while parsing.
120
120
 
121
121
  **[tags]** - This is a newline separated list of tags to look for while parsing.
122
122
 
@@ -135,7 +135,7 @@ The remote related .watsonrc options shouldn't need to be edited manually, as th
135
135
  ## Special Thanks
136
136
  Special thanks to [@samirahmed](http://github.com/samirahmed) for his super Ruby help and encouraging the Ruby port!
137
137
  Special thanks to [@eugenekolo](http://twitter.com/eugenekolo) [[email](eugenek@bu.edu)] for his super Perl help!
138
- Special thanks to [@crowell](http://twitter.com/crowell) for testing out watson-ruby!
138
+ Special thanks to [@crowell](http://github.com/crowell) for testing out watson-ruby!
139
139
 
140
140
  ## FAQ
141
141
  - **Why Ruby?**
data/lib/watson/parser.rb CHANGED
@@ -375,7 +375,7 @@ module Watson
375
375
  # C / C++, Java, C#
376
376
  # [todo] - Add /* style comment
377
377
  when ".cpp", ".cc", ".c", ".hpp", ".h",
378
- ".java", ".class", ".cs"
378
+ ".java", ".class", ".cs", ".js", ".php"
379
379
  debug_print "Comment type is: //\n"
380
380
  return "//"
381
381
 
@@ -1,3 +1,3 @@
1
1
  module Watson
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nhmood