test-unit-activesupport 1.0.6 → 1.0.7
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/README.md +2 -4
 - data/doc/text/news.md +15 -0
 - data/lib/test/unit/active_support.rb +4 -0
 - data/lib/test/unit/active_support/version.rb +1 -1
 - metadata +3 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: bdb05ea66376ab05edd5395677e80eb93ab89524
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a51ff514a188676a42fbdc532b541ae0e46964d5
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 391e6a663e1f42c1bb8f9fe4fb21ac85e319a17be3e27e9d3912694fbc3c1e250e01944cabb83e210c512ffb7dcb8f3ddb4746a4ec440ba828308691386f445b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 5618e4c62493e962f74d4a4b6ace199d931608f19b4742d8899284f4b079d576b6ed5c635c6b77d600c1fd350783c9d37a99638574737e30eedba4ba86a2841f
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -12,16 +12,14 @@ test-unit-activesupport is an ActiveSupport adapter for test-unit 3. You can use 
     | 
|
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            Require `test/unit/active_support`:
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
            ```ruby
         
     | 
| 
       16 
16 
     | 
    
         
             
            require "test/unit/active_support"
         
     | 
| 
       17 
17 
     | 
    
         
             
            require "active_support"
         
     | 
| 
       18 
18 
     | 
    
         
             
            ```
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
            Now you can use full test-unit 3.x features with ActiveSupport.
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            ```
         
     | 
| 
       23 
     | 
    
         
            -
            require "test/unit/active_support"
         
     | 
| 
       24 
     | 
    
         
            -
            require "active_support"
         
     | 
| 
      
 22 
     | 
    
         
            +
            ```ruby
         
     | 
| 
       25 
23 
     | 
    
         | 
| 
       26 
24 
     | 
    
         
             
            class YourTest < ActiveSupport::TestCase
         
     | 
| 
       27 
25 
     | 
    
         
             
              # ...
         
     | 
    
        data/doc/text/news.md
    CHANGED
    
    | 
         @@ -1,5 +1,20 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # News
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## 1.0.7 - 2016-12-15 {#1-0-7}
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ### Improvements
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
              * Supported `ActiveSupport::Testing::FileFixtures`.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ### Fixes
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
              * Removed duplicated description in README.
         
     | 
| 
      
 12 
     | 
    
         
            +
                [GitHub#11][Patch by James Pinto]
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ### Thanks
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
              * James Pinto
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
       3 
18 
     | 
    
         
             
            ## 1.0.6 - 2016-05-20 {#1-0-6}
         
     | 
| 
       4 
19 
     | 
    
         | 
| 
       5 
20 
     | 
    
         
             
            Rails 5.0 RC1 support release.
         
     | 
| 
         @@ -17,7 +17,10 @@ 
     | 
|
| 
       17 
17 
     | 
    
         
             
            # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
            require "test-unit"
         
     | 
| 
      
 20 
     | 
    
         
            +
            require "active_support"
         
     | 
| 
      
 21 
     | 
    
         
            +
            require 'active_support/core_ext/class/attribute'
         
     | 
| 
       20 
22 
     | 
    
         
             
            require "active_support/testing/assertions"
         
     | 
| 
      
 23 
     | 
    
         
            +
            require 'active_support/testing/file_fixtures'
         
     | 
| 
       21 
24 
     | 
    
         | 
| 
       22 
25 
     | 
    
         
             
            as_test_case_name = "active_support/test_case.rb"
         
     | 
| 
       23 
26 
     | 
    
         
             
            unless $LOADED_FEATURES.any? {|feature| feature.end_with?(as_test_case_name)}
         
     | 
| 
         @@ -39,6 +42,7 @@ module ActiveSupport 
     | 
|
| 
       39 
42 
     | 
    
         | 
| 
       40 
43 
     | 
    
         
             
              class TestCase < ::Test::Unit::TestCase
         
     | 
| 
       41 
44 
     | 
    
         
             
                include ActiveSupport::Testing::Assertions
         
     | 
| 
      
 45 
     | 
    
         
            +
                include ActiveSupport::Testing::FileFixtures
         
     | 
| 
       42 
46 
     | 
    
         | 
| 
       43 
47 
     | 
    
         
             
                # shoulda needs ActiveSupport::TestCase::Assertion, which is not
         
     | 
| 
       44 
48 
     | 
    
         
             
                # set in test-unit 3
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: test-unit-activesupport
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.7
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Kouhei Sutou
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-12-15 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: activesupport
         
     | 
| 
         @@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       144 
144 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       145 
145 
     | 
    
         
             
            requirements: []
         
     | 
| 
       146 
146 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       147 
     | 
    
         
            -
            rubygems_version: 2.5. 
     | 
| 
      
 147 
     | 
    
         
            +
            rubygems_version: 2.5.2
         
     | 
| 
       148 
148 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       149 
149 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       150 
150 
     | 
    
         
             
            summary: test-unit-activesupport is an ActiveSupport adapter for test-unit 3. You
         
     | 
| 
         @@ -152,4 +152,3 @@ summary: test-unit-activesupport is an ActiveSupport adapter for test-unit 3. Yo 
     | 
|
| 
       152 
152 
     | 
    
         
             
            test_files:
         
     | 
| 
       153 
153 
     | 
    
         
             
            - test/test_assertions.rb
         
     | 
| 
       154 
154 
     | 
    
         
             
            - test/run-test.rb
         
     | 
| 
       155 
     | 
    
         
            -
            has_rdoc: 
         
     |