rspec-tracer 0.1.0 → 0.2.0
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.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +8 -0
 - data/README.md +6 -5
 - data/lib/rspec_tracer/runner.rb +3 -2
 - data/lib/rspec_tracer/version.rb +1 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 1c4494ed77ebba015c8f3a1bbc95fdfbd815314b5b455a471eb6f20df6dec0d7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: '08e318aec77f76ebf8edbff8e4fc415f7410e5adf42876d2741c8533c7b5ec0d'
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e8ebb4c1534a5a64b8699c35aaa6c99d449e69e4c79fa80212d953ae659a0f2e16f483280b5685c42cfb9f535bfdbc7f7af439d8e2722a482dae38e2205847d8
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 021ed3f090dddd3b0c8bc0768feca11eec52a45c7b280d7e48e085ee1f049660cfbba38c759128d7a46f78732d4534bd36d684feb390aaa014bf78a20e3cb36b
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -23,7 +23,7 @@ we can also analyze the coupling between different components and much more. 
     | 
|
| 
       23 
23 
     | 
    
         
             
            ## Note
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
25 
     | 
    
         
             
            **RSpec Tracer is currently available for use in the local development
         
     | 
| 
       26 
     | 
    
         
            -
            environment only.**
         
     | 
| 
      
 26 
     | 
    
         
            +
            environment only.** Support for CI is work in progress.
         
     | 
| 
       27 
27 
     | 
    
         | 
| 
       28 
28 
     | 
    
         
             
            ## Installation
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
         @@ -41,8 +41,9 @@ And, add the followings to your `.gitignore`: 
     | 
|
| 
       41 
41 
     | 
    
         | 
| 
       42 
42 
     | 
    
         
             
            ### Compatibility
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
            RSpec Tracer requires **Ruby 2.5+** and **rspec-core >= 3.6.0**.  
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
      
 44 
     | 
    
         
            +
            RSpec Tracer requires **Ruby 2.5+** and **rspec-core >= 3.6.0**. To use with **Rails 5+**,
         
     | 
| 
      
 45 
     | 
    
         
            +
            make sure to use **rspec-rails >= 4.0.0**. If you are using SimpleCov, it is
         
     | 
| 
      
 46 
     | 
    
         
            +
            recommended to use **simplecov >= 0.12.0**.
         
     | 
| 
       46 
47 
     | 
    
         | 
| 
       47 
48 
     | 
    
         
             
            ## Getting Started
         
     | 
| 
       48 
49 
     | 
    
         | 
| 
         @@ -58,7 +59,7 @@ SimpleCov, it is recommended to use **simplecov >= 0.12.0**. 
     | 
|
| 
       58 
59 
     | 
    
         
             
                    SimpleCov.start
         
     | 
| 
       59 
60 
     | 
    
         | 
| 
       60 
61 
     | 
    
         
             
                    # Load RSpec Tracer
         
     | 
| 
       61 
     | 
    
         
            -
                    require ' 
     | 
| 
      
 62 
     | 
    
         
            +
                    require 'rspec_tracer'
         
     | 
| 
       62 
63 
     | 
    
         
             
                    RSpecTracer.start
         
     | 
| 
       63 
64 
     | 
    
         
             
                    ```
         
     | 
| 
       64 
65 
     | 
    
         | 
| 
         @@ -74,7 +75,7 @@ SimpleCov, it is recommended to use **simplecov >= 0.12.0**. 
     | 
|
| 
       74 
75 
     | 
    
         | 
| 
       75 
76 
     | 
    
         
             
                    ```ruby
         
     | 
| 
       76 
77 
     | 
    
         
             
                    # Load RSpec Tracer
         
     | 
| 
       77 
     | 
    
         
            -
                    require ' 
     | 
| 
      
 78 
     | 
    
         
            +
                    require 'rspec_tracer'
         
     | 
| 
       78 
79 
     | 
    
         
             
                    RSpecTracer.start
         
     | 
| 
       79 
80 
     | 
    
         
             
                    ```
         
     | 
| 
       80 
81 
     | 
    
         | 
    
        data/lib/rspec_tracer/runner.rb
    CHANGED
    
    | 
         @@ -208,10 +208,11 @@ module RSpecTracer 
     | 
|
| 
       208 
208 
     | 
    
         
             
                  rspec_root = RSpec::Core::RubyProject.root
         
     | 
| 
       209 
209 
     | 
    
         
             
                  rspec_path = RSpec.configuration.default_path
         
     | 
| 
       210 
210 
     | 
    
         | 
| 
       211 
     | 
    
         
            -
                  RSpec.configuration.requires. 
     | 
| 
      
 211 
     | 
    
         
            +
                  RSpec.configuration.requires.each_with_object([]) do |file_name, required_files|
         
     | 
| 
       212 
212 
     | 
    
         
             
                    file_name = "#{file_name}.rb" if File.extname(file_name).empty?
         
     | 
| 
      
 213 
     | 
    
         
            +
                    file_path = File.join(rspec_root, rspec_path, file_name)
         
     | 
| 
       213 
214 
     | 
    
         | 
| 
       214 
     | 
    
         
            -
                    File. 
     | 
| 
      
 215 
     | 
    
         
            +
                    required_files << file_path if File.file?(file_path)
         
     | 
| 
       215 
216 
     | 
    
         
             
                  end
         
     | 
| 
       216 
217 
     | 
    
         
             
                end
         
     | 
| 
       217 
218 
     | 
    
         | 
    
        data/lib/rspec_tracer/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rspec-tracer
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Abhimanyu Singh
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2021-08- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-08-28 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: docile
         
     | 
| 
         @@ -97,7 +97,7 @@ licenses: 
     | 
|
| 
       97 
97 
     | 
    
         
             
            - MIT
         
     | 
| 
       98 
98 
     | 
    
         
             
            metadata:
         
     | 
| 
       99 
99 
     | 
    
         
             
              homepage_uri: https://github.com/avmnu-sng/rspec-tracer
         
     | 
| 
       100 
     | 
    
         
            -
              source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0. 
     | 
| 
      
 100 
     | 
    
         
            +
              source_code_uri: https://github.com/avmnu-sng/rspec-tracer/tree/v0.2.0
         
     | 
| 
       101 
101 
     | 
    
         
             
              changelog_uri: https://github.com/avmnu-sng/rspec-tracer/blob/main/CHANGELOG.md
         
     | 
| 
       102 
102 
     | 
    
         
             
              bug_tracker_uri: https://github.com/avmnu-sng/rspec-tracer/issues
         
     | 
| 
       103 
103 
     | 
    
         
             
            post_install_message:
         
     |