rubydeps 0.9.2.pre → 0.9.2
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/README.md +10 -10
- data/VERSION +1 -1
- data/rubydeps.gemspec +1 -1
- metadata +5 -5
    
        data/README.md
    CHANGED
    
    | @@ -4,13 +4,13 @@ rubydeps | |
| 4 4 |  | 
| 5 5 | 
             
            A tool to create class dependency graphs from test suites.
         | 
| 6 6 |  | 
| 7 | 
            -
            I think this is more useful than static analysis of the code base because of the high dynamic aspects of the language 
         | 
| 7 | 
            +
            I think this is more useful than static analysis of the code base because of the high dynamic aspects of the language. 
         | 
| 8 8 |  | 
| 9 9 |  | 
| 10 10 | 
             
            Sample output
         | 
| 11 11 | 
             
            -------------
         | 
| 12 12 |  | 
| 13 | 
            -
            This is the result of running rubydeps on the [Rake](https://github.com/jimweirich/rake) tests | 
| 13 | 
            +
            This is the result of running rubydeps on the [Rake](https://github.com/jimweirich/rake) tests after setting up its test helper with `Rubydeps.start`:
         | 
| 14 14 |  | 
| 15 15 | 
             
            ```bash
         | 
| 16 16 | 
             
            rubydeps --class_name_filter='^Rake'
         | 
| @@ -32,23 +32,23 @@ Rubydeps will run your test suite to record the call graph of your project and u | |
| 32 32 |  | 
| 33 33 | 
             
                    Rubydeps.start
         | 
| 34 34 |  | 
| 35 | 
            -
             | 
| 35 | 
            +
                Notice that this will slow down your tests so consider adding a conditional bound to some ENV variable or just remove the line when you are done.
         | 
| 36 36 |  | 
| 37 | 
            -
            3. Run your tests, a file named rubydeps.dump will be created in the project root.
         | 
| 37 | 
            +
            3. Run your tests, a file named `rubydeps.dump` will be created in the project root.
         | 
| 38 38 |  | 
| 39 | 
            -
            4. The next step is reading the dump file to generate the graphviz dot graph `rubydeps.dot` with any filter you specify.
         | 
| 39 | 
            +
            4. The next step is reading the dump file to generate the [Graphviz](http://www.graphviz.org) dot graph `rubydeps.dot` with any filter you specify.
         | 
| 40 40 |  | 
| 41 41 | 
             
                ```bash
         | 
| 42 42 | 
             
                rubydeps --path_filter='app/models'
         | 
| 43 43 | 
             
                ```
         | 
| 44 44 |  | 
| 45 | 
            -
            5. Now you are in [Graphviz](http://www.graphviz.org) realm. You can convert the dot file to any image format with your prefered orientations and layouts with the dot utility that comes with the graphviz installation e.g.:
         | 
| 45 | 
            +
            5. Now you are in [Graphviz](http://www.graphviz.org) realm. You can convert the dot file to any image format with your prefered orientations and layouts with the dot utility that comes with the [Graphviz](http://www.graphviz.org) installation e.g.:
         | 
| 46 46 |  | 
| 47 47 | 
             
                ```bash
         | 
| 48 48 | 
             
                dot -Tsvg rubydeps.dot > rubydeps.svg
         | 
| 49 49 | 
             
                ```
         | 
| 50 50 |  | 
| 51 | 
            -
             | 
| 51 | 
            +
                Keep in mind that sometimes you may have missing dependencies as we graph the dependencies exercised by your tests so you can use it as a quick bird's eye view of your project test coverage.
         | 
| 52 52 |  | 
| 53 53 | 
             
            ### Command line options
         | 
| 54 54 |  | 
| @@ -82,7 +82,7 @@ Installation | |
| 82 82 | 
             
            ------------
         | 
| 83 83 |  | 
| 84 84 | 
             
            ```bash
         | 
| 85 | 
            -
            gem install rubydeps | 
| 85 | 
            +
            gem install rubydeps
         | 
| 86 86 | 
             
            ```
         | 
| 87 87 |  | 
| 88 88 | 
             
            Rubydeps now only supports ruby 1.9.x. If you need 1.8.x support then:
         | 
| @@ -97,8 +97,8 @@ Dependencies | |
| 97 97 | 
             
            ------------
         | 
| 98 98 |  | 
| 99 99 | 
             
            * graphviz
         | 
| 100 | 
            -
            * ruby-graphviz
         | 
| 101 | 
            -
            * rcov (only for version 0.2.0)
         | 
| 100 | 
            +
            * ruby-graphviz gem
         | 
| 101 | 
            +
            * rcov gem (only for version 0.2.0)
         | 
| 102 102 |  | 
| 103 103 | 
             
            Note on Patches/Pull Requests
         | 
| 104 104 | 
             
            -----------------------------
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.9.2 | 
| 1 | 
            +
            0.9.2
         | 
    
        data/rubydeps.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,8 +1,8 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: rubydeps
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              prerelease:  | 
| 5 | 
            -
              version: 0.9.2 | 
| 4 | 
            +
              prerelease: 
         | 
| 5 | 
            +
              version: 0.9.2
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors: 
         | 
| 8 8 | 
             
            - Daniel Cadenas
         | 
| @@ -10,7 +10,7 @@ autorequire: | |
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 12 |  | 
| 13 | 
            -
            date: 2012-03- | 
| 13 | 
            +
            date: 2012-03-13 00:00:00 Z
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 16 16 | 
             
              name: rake-compiler
         | 
| @@ -122,9 +122,9 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 122 122 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 123 123 | 
             
              none: false
         | 
| 124 124 | 
             
              requirements: 
         | 
| 125 | 
            -
              - - " | 
| 125 | 
            +
              - - ">="
         | 
| 126 126 | 
             
                - !ruby/object:Gem::Version 
         | 
| 127 | 
            -
                  version:  | 
| 127 | 
            +
                  version: "0"
         | 
| 128 128 | 
             
            requirements: []
         | 
| 129 129 |  | 
| 130 130 | 
             
            rubyforge_project: 
         |