visionmedia-rext 0.0.5 → 0.0.6
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/History.rdoc +4 -0
 - data/README.rdoc +1 -0
 - data/lib/rext/string/helpers.rb +12 -0
 - data/lib/rext/version.rb +1 -1
 - data/rext.gemspec +1 -1
 - data/spec/string_spec.rb +6 -0
 - metadata +1 -1
 
    
        data/History.rdoc
    CHANGED
    
    
    
        data/README.rdoc
    CHANGED
    
    
    
        data/lib/rext/string/helpers.rb
    CHANGED
    
    
    
        data/lib/rext/version.rb
    CHANGED
    
    
    
        data/rext.gemspec
    CHANGED
    
    
    
        data/spec/string_spec.rb
    CHANGED
    
    | 
         @@ -105,6 +105,12 @@ describe String do 
     | 
|
| 
       105 
105 
     | 
    
         
             
                  end
         
     | 
| 
       106 
106 
     | 
    
         
             
                end
         
     | 
| 
       107 
107 
     | 
    
         | 
| 
      
 108 
     | 
    
         
            +
                describe "#from" do
         
     | 
| 
      
 109 
     | 
    
         
            +
                  it "should return all characters from n" do
         
     | 
| 
      
 110 
     | 
    
         
            +
                    'cookies'.from(3).should == 'kies'
         
     | 
| 
      
 111 
     | 
    
         
            +
                  end
         
     | 
| 
      
 112 
     | 
    
         
            +
                end
         
     | 
| 
      
 113 
     | 
    
         
            +
                
         
     | 
| 
       108 
114 
     | 
    
         
             
                describe "#camelize" do
         
     | 
| 
       109 
115 
     | 
    
         
             
                  it "should camel-case a string, leaving the first character lower by default" do
         
     | 
| 
       110 
116 
     | 
    
         
             
                    'some_foo_bar'.camelize.should == 'someFooBar'
         
     |