ruby-watchr 0.4.0 → 0.4.1
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.
- data/Gemfile +2 -3
 - data/Gemfile.lock +32 -22
 - data/lib/watchr/analysers/flog.rb +1 -1
 - data/lib/watchr/metrics/flay/diff_factory.rb +1 -4
 - data/lib/watchr/version.rb +1 -1
 - data/spec/watchr/analysers/flog_spec.rb +2 -2
 - data/watchr.gemspec +0 -1
 - metadata +71 -75
 
    
        data/Gemfile
    CHANGED
    
    | 
         @@ -3,10 +3,9 @@ source "http://rubygems.org" 
     | 
|
| 
       3 
3 
     | 
    
         
             
            # Specify your gem's dependencies in watchr.gemspec
         
     | 
| 
       4 
4 
     | 
    
         
             
            gemspec
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            gem 'reek'
         
     | 
| 
      
 6 
     | 
    
         
            +
            gem "reek", :git => 'git@github.com:petrjanda/reek.git', :branch => :rubinius_support
         
     | 
| 
       7 
7 
     | 
    
         
             
            gem 'flog'
         
     | 
| 
       8 
     | 
    
         
            -
            gem ' 
     | 
| 
       9 
     | 
    
         
            -
            gem 'ruby2ruby'
         
     | 
| 
      
 8 
     | 
    
         
            +
            gem 'ruby_parser', '2.0'
         
     | 
| 
       10 
9 
     | 
    
         | 
| 
       11 
10 
     | 
    
         
             
            gem 'rspec'
         
     | 
| 
       12 
11 
     | 
    
         
             
            gem 'shoulda-matchers'
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,3 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            GIT
         
     | 
| 
      
 2 
     | 
    
         
            +
              remote: git@github.com:petrjanda/reek.git
         
     | 
| 
      
 3 
     | 
    
         
            +
              revision: a52c448ea2d88ec931c3402f540d33a42ec92abe
         
     | 
| 
      
 4 
     | 
    
         
            +
              branch: rubinius_support
         
     | 
| 
      
 5 
     | 
    
         
            +
              specs:
         
     | 
| 
      
 6 
     | 
    
         
            +
                reek (1.2.12)
         
     | 
| 
      
 7 
     | 
    
         
            +
                  ripper_ruby_parser (~> 0.0.7)
         
     | 
| 
      
 8 
     | 
    
         
            +
                  ruby2ruby (~> 1.2.5)
         
     | 
| 
      
 9 
     | 
    
         
            +
                  ruby_parser (~> 2.0)
         
     | 
| 
      
 10 
     | 
    
         
            +
                  sexp_processor (~> 3.0)
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
       1 
12 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
13 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
14 
     | 
    
         
             
              specs:
         
     | 
| 
         @@ -5,34 +16,33 @@ PATH 
     | 
|
| 
       5 
16 
     | 
    
         
             
                  flay
         
     | 
| 
       6 
17 
     | 
    
         
             
                  flog
         
     | 
| 
       7 
18 
     | 
    
         
             
                  reek
         
     | 
| 
       8 
     | 
    
         
            -
                  ruby2ruby
         
     | 
| 
       9 
19 
     | 
    
         | 
| 
       10 
20 
     | 
    
         
             
            GEM
         
     | 
| 
       11 
21 
     | 
    
         
             
              remote: http://rubygems.org/
         
     | 
| 
       12 
22 
     | 
    
         
             
              specs:
         
     | 
| 
       13 
     | 
    
         
            -
                ParseTree (3.0. 
     | 
| 
       14 
     | 
    
         
            -
                  RubyInline ( 
     | 
| 
       15 
     | 
    
         
            -
                  sexp_processor ( 
     | 
| 
       16 
     | 
    
         
            -
                RubyInline (3. 
     | 
| 
      
 23 
     | 
    
         
            +
                ParseTree (3.0.9)
         
     | 
| 
      
 24 
     | 
    
         
            +
                  RubyInline (~> 3.9.0)
         
     | 
| 
      
 25 
     | 
    
         
            +
                  sexp_processor (~> 3.2.0)
         
     | 
| 
      
 26 
     | 
    
         
            +
                RubyInline (3.9.0)
         
     | 
| 
       17 
27 
     | 
    
         
             
                  ZenTest (~> 4.3)
         
     | 
| 
       18 
28 
     | 
    
         
             
                ZenTest (4.8.2)
         
     | 
| 
       19 
29 
     | 
    
         
             
                activesupport (3.2.9)
         
     | 
| 
       20 
30 
     | 
    
         
             
                  i18n (~> 0.6)
         
     | 
| 
       21 
31 
     | 
    
         
             
                  multi_json (~> 1.0)
         
     | 
| 
       22 
32 
     | 
    
         
             
                diff-lcs (1.1.3)
         
     | 
| 
       23 
     | 
    
         
            -
                flay ( 
     | 
| 
       24 
     | 
    
         
            -
                  ruby_parser (~>  
     | 
| 
       25 
     | 
    
         
            -
                  sexp_processor (~>  
     | 
| 
       26 
     | 
    
         
            -
                flog ( 
     | 
| 
       27 
     | 
    
         
            -
                  ruby_parser (~>  
     | 
| 
       28 
     | 
    
         
            -
                  sexp_processor (~>  
     | 
| 
      
 33 
     | 
    
         
            +
                flay (1.4.3)
         
     | 
| 
      
 34 
     | 
    
         
            +
                  ruby_parser (~> 2.0)
         
     | 
| 
      
 35 
     | 
    
         
            +
                  sexp_processor (~> 3.0)
         
     | 
| 
      
 36 
     | 
    
         
            +
                flog (2.5.3)
         
     | 
| 
      
 37 
     | 
    
         
            +
                  ruby_parser (~> 2.0)
         
     | 
| 
      
 38 
     | 
    
         
            +
                  sexp_processor (~> 3.0)
         
     | 
| 
       29 
39 
     | 
    
         
             
                i18n (0.6.1)
         
     | 
| 
       30 
40 
     | 
    
         
             
                metaclass (0.0.1)
         
     | 
| 
       31 
41 
     | 
    
         
             
                mocha (0.13.0)
         
     | 
| 
       32 
42 
     | 
    
         
             
                  metaclass (~> 0.0.1)
         
     | 
| 
       33 
43 
     | 
    
         
             
                multi_json (1.3.7)
         
     | 
| 
       34 
     | 
    
         
            -
                 
     | 
| 
       35 
     | 
    
         
            -
                   
     | 
| 
      
 44 
     | 
    
         
            +
                ripper_ruby_parser (0.0.8)
         
     | 
| 
      
 45 
     | 
    
         
            +
                  sexp_processor (~> 3.0)
         
     | 
| 
       36 
46 
     | 
    
         
             
                rspec (2.12.0)
         
     | 
| 
       37 
47 
     | 
    
         
             
                  rspec-core (~> 2.12.0)
         
     | 
| 
       38 
48 
     | 
    
         
             
                  rspec-expectations (~> 2.12.0)
         
     | 
| 
         @@ -41,12 +51,13 @@ GEM 
     | 
|
| 
       41 
51 
     | 
    
         
             
                rspec-expectations (2.12.0)
         
     | 
| 
       42 
52 
     | 
    
         
             
                  diff-lcs (~> 1.1.3)
         
     | 
| 
       43 
53 
     | 
    
         
             
                rspec-mocks (2.12.0)
         
     | 
| 
       44 
     | 
    
         
            -
                ruby2ruby (2. 
     | 
| 
       45 
     | 
    
         
            -
                  ruby_parser (~>  
     | 
| 
       46 
     | 
    
         
            -
                  sexp_processor (~>  
     | 
| 
       47 
     | 
    
         
            -
                ruby_parser ( 
     | 
| 
       48 
     | 
    
         
            -
                   
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
      
 54 
     | 
    
         
            +
                ruby2ruby (1.2.5)
         
     | 
| 
      
 55 
     | 
    
         
            +
                  ruby_parser (~> 2.0)
         
     | 
| 
      
 56 
     | 
    
         
            +
                  sexp_processor (~> 3.0)
         
     | 
| 
      
 57 
     | 
    
         
            +
                ruby_parser (2.0.0)
         
     | 
| 
      
 58 
     | 
    
         
            +
                  ParseTree
         
     | 
| 
      
 59 
     | 
    
         
            +
                  sexp_processor (>= 3.0.0)
         
     | 
| 
      
 60 
     | 
    
         
            +
                sexp_processor (3.2.0)
         
     | 
| 
       50 
61 
     | 
    
         
             
                shoulda-matchers (1.4.1)
         
     | 
| 
       51 
62 
     | 
    
         
             
                  activesupport (>= 3.0.0)
         
     | 
| 
       52 
63 
     | 
    
         | 
| 
         @@ -54,11 +65,10 @@ PLATFORMS 
     | 
|
| 
       54 
65 
     | 
    
         
             
              ruby
         
     | 
| 
       55 
66 
     | 
    
         | 
| 
       56 
67 
     | 
    
         
             
            DEPENDENCIES
         
     | 
| 
       57 
     | 
    
         
            -
              flay
         
     | 
| 
       58 
68 
     | 
    
         
             
              flog
         
     | 
| 
       59 
69 
     | 
    
         
             
              mocha
         
     | 
| 
       60 
     | 
    
         
            -
              reek
         
     | 
| 
      
 70 
     | 
    
         
            +
              reek!
         
     | 
| 
       61 
71 
     | 
    
         
             
              rspec
         
     | 
| 
       62 
72 
     | 
    
         
             
              ruby-watchr!
         
     | 
| 
       63 
     | 
    
         
            -
               
     | 
| 
      
 73 
     | 
    
         
            +
              ruby_parser (= 2.0)
         
     | 
| 
       64 
74 
     | 
    
         
             
              shoulda-matchers
         
     | 
| 
         @@ -5,12 +5,9 @@ module Watchr 
     | 
|
| 
       5 
5 
     | 
    
         
             
                    diff = Diff.new(same, nodes, bonus, mass)
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
                    nodes.each do |x|
         
     | 
| 
       8 
     | 
    
         
            -
                      diff.add_location(Location.new(x.file, x.line))
         
     | 
| 
      
 8 
     | 
    
         
            +
                      diff.add_location(Location.new(x.file, x.line - 1))
         
     | 
| 
       9 
9 
     | 
    
         
             
                    end
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
                    #r2r = Ruby2Ruby.new
         
     | 
| 
       12 
     | 
    
         
            -
                    #diff.code = n_way_diff(*nodes.map { |s| r2r.process(s.deep_clone) })
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
11 
     | 
    
         
             
                    diff
         
     | 
| 
       15 
12 
     | 
    
         
             
                  end
         
     | 
| 
       16 
13 
     | 
    
         
             
                end
         
     | 
    
        data/lib/watchr/version.rb
    CHANGED
    
    
| 
         @@ -60,7 +60,7 @@ describe Watchr::Analysers::Flog do 
     | 
|
| 
       60 
60 
     | 
    
         
             
                  Watchr::SmellBuilder.expects(:new).with(
         
     | 
| 
       61 
61 
     | 
    
         
             
                    :complex_method,
         
     | 
| 
       62 
62 
     | 
    
         
             
                    complex_method.name,
         
     | 
| 
       63 
     | 
    
         
            -
                    "complexity = #{complex_method.total_score}" 
     | 
| 
      
 63 
     | 
    
         
            +
                    "complexity = #{complex_method.total_score}"
         
     | 
| 
       64 
64 
     | 
    
         
             
                  ).returns(builder)
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
                  analyse.expects(:add_smell).returns(smell)
         
     | 
| 
         @@ -84,7 +84,7 @@ describe Watchr::Analysers::Flog do 
     | 
|
| 
       84 
84 
     | 
    
         
             
                  Watchr::SmellBuilder.expects(:new).with(
         
     | 
| 
       85 
85 
     | 
    
         
             
                    :very_complex_object,
         
     | 
| 
       86 
86 
     | 
    
         
             
                    clazz.name,
         
     | 
| 
       87 
     | 
    
         
            -
                    "complexity = #{clazz.total_score}" 
     | 
| 
      
 87 
     | 
    
         
            +
                    "complexity = #{clazz.total_score}"
         
     | 
| 
       88 
88 
     | 
    
         
             
                  ).returns(builder)
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
                  analyse.expects(:add_smell).returns(smell)
         
     | 
    
        data/watchr.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,87 +1,74 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: ruby-watchr
         
     | 
| 
       3 
     | 
    
         
            -
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
               
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 596984887313028563
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
      
 6 
     | 
    
         
            +
              segments: 
         
     | 
| 
      
 7 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 4
         
     | 
| 
      
 9 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.4.1
         
     | 
| 
       6 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
     | 
    
         
            -
            authors:
         
     | 
| 
      
 12 
     | 
    
         
            +
            authors: 
         
     | 
| 
       8 
13 
     | 
    
         
             
            - Petr Janda
         
     | 
| 
       9 
14 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2012-11-17 00:00:00 Z
         
     | 
| 
      
 19 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 20 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       15 
21 
     | 
    
         
             
              name: flog
         
     | 
| 
       16 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       17 
     | 
    
         
            -
                none: false
         
     | 
| 
       18 
     | 
    
         
            -
                requirements:
         
     | 
| 
       19 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       20 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       21 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
       22 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       23 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
     | 
    
         
            -
               
     | 
| 
       25 
     | 
    
         
            -
                none: false
         
     | 
| 
       26 
     | 
    
         
            -
                requirements:
         
     | 
| 
       27 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       28 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
       30 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       31 
     | 
    
         
            -
              name: flay
         
     | 
| 
       32 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 23 
     | 
    
         
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       33 
24 
     | 
    
         
             
                none: false
         
     | 
| 
       34 
     | 
    
         
            -
                requirements:
         
     | 
| 
       35 
     | 
    
         
            -
                - -  
     | 
| 
       36 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       37 
     | 
    
         
            -
                     
     | 
| 
      
 25 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 26 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 27 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 28 
     | 
    
         
            +
                    hash: 2002549777813010636
         
     | 
| 
      
 29 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 30 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 31 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
       38 
32 
     | 
    
         
             
              type: :runtime
         
     | 
| 
      
 33 
     | 
    
         
            +
              version_requirements: *id001
         
     | 
| 
      
 34 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 35 
     | 
    
         
            +
              name: flay
         
     | 
| 
       39 
36 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       40 
     | 
    
         
            -
               
     | 
| 
      
 37 
     | 
    
         
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       41 
38 
     | 
    
         
             
                none: false
         
     | 
| 
       42 
     | 
    
         
            -
                requirements:
         
     | 
| 
       43 
     | 
    
         
            -
                - -  
     | 
| 
       44 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       45 
     | 
    
         
            -
                     
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
                none: false
         
     | 
| 
       50 
     | 
    
         
            -
                requirements:
         
     | 
| 
       51 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       52 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       53 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
      
 39 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 40 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 41 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 42 
     | 
    
         
            +
                    hash: 2002549777813010636
         
     | 
| 
      
 43 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 44 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 45 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
       54 
46 
     | 
    
         
             
              type: :runtime
         
     | 
| 
      
 47 
     | 
    
         
            +
              version_requirements: *id002
         
     | 
| 
      
 48 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 49 
     | 
    
         
            +
              name: reek
         
     | 
| 
       55 
50 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       56 
     | 
    
         
            -
               
     | 
| 
       57 
     | 
    
         
            -
                none: false
         
     | 
| 
       58 
     | 
    
         
            -
                requirements:
         
     | 
| 
       59 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       60 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
       62 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       63 
     | 
    
         
            -
              name: ruby2ruby
         
     | 
| 
       64 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 51 
     | 
    
         
            +
              requirement: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
       65 
52 
     | 
    
         
             
                none: false
         
     | 
| 
       66 
     | 
    
         
            -
                requirements:
         
     | 
| 
       67 
     | 
    
         
            -
                - -  
     | 
| 
       68 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       69 
     | 
    
         
            -
                     
     | 
| 
      
 53 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 54 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 55 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 56 
     | 
    
         
            +
                    hash: 2002549777813010636
         
     | 
| 
      
 57 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 58 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 59 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
       70 
60 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       71 
     | 
    
         
            -
               
     | 
| 
       72 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       73 
     | 
    
         
            -
                none: false
         
     | 
| 
       74 
     | 
    
         
            -
                requirements:
         
     | 
| 
       75 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       76 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       77 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
      
 61 
     | 
    
         
            +
              version_requirements: *id003
         
     | 
| 
       78 
62 
     | 
    
         
             
            description: Utility to gather summary of code smells according to multiple analysers.
         
     | 
| 
       79 
     | 
    
         
            -
            email:
         
     | 
| 
      
 63 
     | 
    
         
            +
            email: 
         
     | 
| 
       80 
64 
     | 
    
         
             
            - petrjanda@me.com
         
     | 
| 
       81 
65 
     | 
    
         
             
            executables: []
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
       82 
67 
     | 
    
         
             
            extensions: []
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
       83 
69 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
            files: 
         
     | 
| 
       85 
72 
     | 
    
         
             
            - .gitignore
         
     | 
| 
       86 
73 
     | 
    
         
             
            - .rspec
         
     | 
| 
       87 
74 
     | 
    
         
             
            - .rvmrc
         
     | 
| 
         @@ -123,31 +110,40 @@ files: 
     | 
|
| 
       123 
110 
     | 
    
         
             
            - spec/watchr/smell_spec.rb
         
     | 
| 
       124 
111 
     | 
    
         
             
            - spec/watchr/smells_collector_spec.rb
         
     | 
| 
       125 
112 
     | 
    
         
             
            - watchr.gemspec
         
     | 
| 
       126 
     | 
    
         
            -
            homepage:  
     | 
| 
      
 113 
     | 
    
         
            +
            homepage: ""
         
     | 
| 
       127 
114 
     | 
    
         
             
            licenses: []
         
     | 
| 
      
 115 
     | 
    
         
            +
             
     | 
| 
       128 
116 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       129 
117 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
      
 119 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
       131 
120 
     | 
    
         
             
            - lib
         
     | 
| 
       132 
     | 
    
         
            -
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 121 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       133 
122 
     | 
    
         
             
              none: false
         
     | 
| 
       134 
     | 
    
         
            -
              requirements:
         
     | 
| 
       135 
     | 
    
         
            -
              - -  
     | 
| 
       136 
     | 
    
         
            -
                - !ruby/object:Gem::Version
         
     | 
| 
       137 
     | 
    
         
            -
                   
     | 
| 
       138 
     | 
    
         
            -
             
     | 
| 
      
 123 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 124 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 125 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 126 
     | 
    
         
            +
                  hash: 2002549777813010636
         
     | 
| 
      
 127 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 128 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 129 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 130 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       139 
131 
     | 
    
         
             
              none: false
         
     | 
| 
       140 
     | 
    
         
            -
              requirements:
         
     | 
| 
       141 
     | 
    
         
            -
              - -  
     | 
| 
       142 
     | 
    
         
            -
                - !ruby/object:Gem::Version
         
     | 
| 
       143 
     | 
    
         
            -
                   
     | 
| 
      
 132 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 133 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 134 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 135 
     | 
    
         
            +
                  hash: 2002549777813010636
         
     | 
| 
      
 136 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 137 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 138 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
       144 
139 
     | 
    
         
             
            requirements: []
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
       145 
141 
     | 
    
         
             
            rubyforge_project: watchr
         
     | 
| 
       146 
142 
     | 
    
         
             
            rubygems_version: 1.8.24
         
     | 
| 
       147 
143 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       148 
144 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       149 
145 
     | 
    
         
             
            summary: Ruby static code analysis
         
     | 
| 
       150 
     | 
    
         
            -
            test_files:
         
     | 
| 
      
 146 
     | 
    
         
            +
            test_files: 
         
     | 
| 
       151 
147 
     | 
    
         
             
            - spec/fixtures/class.rb
         
     | 
| 
       152 
148 
     | 
    
         
             
            - spec/fixtures/module.rb
         
     | 
| 
       153 
149 
     | 
    
         
             
            - spec/spec_helper.rb
         
     |