ya 0.3.1 → 0.3.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/VERSION +1 -1
 - data/lib/ya/directory.rb +1 -1
 - data/test/test_ya.rb +4 -0
 - data/ya.gemspec +1 -1
 - metadata +1 -1
 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.3. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.3.2
         
     | 
    
        data/lib/ya/directory.rb
    CHANGED
    
    
    
        data/test/test_ya.rb
    CHANGED
    
    | 
         @@ -102,6 +102,10 @@ class TestYa < Test::Unit::TestCase 
     | 
|
| 
       102 
102 
     | 
    
         
             
                    assert_nil @directory.authenticate(nil, nil)
         
     | 
| 
       103 
103 
     | 
    
         
             
                  end
         
     | 
| 
       104 
104 
     | 
    
         | 
| 
      
 105 
     | 
    
         
            +
                  should 'return nil if blank strings are passed for login and password' do
         
     | 
| 
      
 106 
     | 
    
         
            +
                    assert_nil @directory.authenticate('', '')
         
     | 
| 
      
 107 
     | 
    
         
            +
                  end
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
       105 
109 
     | 
    
         
             
                  should 'return false if nil is passed in for password' do
         
     | 
| 
       106 
110 
     | 
    
         
             
                    assert !@directory.authenticate('somebody', nil)
         
     | 
| 
       107 
111 
     | 
    
         
             
                  end
         
     | 
    
        data/ya.gemspec
    CHANGED