niessner-not_method 0.0.2 → 0.0.3
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 +15 -0
 - data/Rakefile +1 -1
 - metadata +2 -1
 
    
        data/README
    ADDED
    
    | 
         @@ -0,0 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            About
         
     | 
| 
      
 2 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 3 
     | 
    
         
            +
            Adds the not method to object. So that you can do
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            [1, 2, 3].not.include?(4) => true
         
     | 
| 
      
 6 
     | 
    
         
            +
            [1, 2, 3].not.include?(1) => false
         
     | 
| 
      
 7 
     | 
    
         
            +
            [1, 2, 3].not.nil? => true
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            The implementation was ripped straight from Jay Fields' blog?
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            Installation
         
     | 
| 
      
 12 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 13 
     | 
    
         
            +
            1) Add:
         
     | 
| 
      
 14 
     | 
    
         
            +
                config.gem "niessner-not_method"
         
     | 
| 
      
 15 
     | 
    
         
            +
               to your environment.rb inside the Initializer.run block
         
     | 
    
        data/Rakefile
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: niessner-not_method
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors: 
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Michael Niessner
         
     | 
| 
         @@ -23,6 +23,7 @@ extra_rdoc_files: [] 
     | 
|
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
            files: 
         
     | 
| 
       25 
25 
     | 
    
         
             
            - Rakefile
         
     | 
| 
      
 26 
     | 
    
         
            +
            - README
         
     | 
| 
       26 
27 
     | 
    
         
             
            - lib/niessner-not_method.rb
         
     | 
| 
       27 
28 
     | 
    
         
             
            - lib/not_method.rb
         
     | 
| 
       28 
29 
     | 
    
         
             
            has_rdoc: false
         
     |