simply_useful 0.2.0 → 0.2.1
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.yml
    CHANGED
    
    
    
        data/lib/simply_useful.rb
    CHANGED
    
    
    
        data/simply_useful.gemspec
    CHANGED
    
    | 
         @@ -5,7 +5,7 @@ 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.name = "simply_useful"
         
     | 
| 
       8 
     | 
    
         
            -
              s.version = "0.2. 
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "0.2.1"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       11 
11 
     | 
    
         
             
              s.authors = ["Maciej Bilas"]
         
     | 
| 
         @@ -38,6 +38,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       38 
38 
     | 
    
         
             
                "spec/core_ext/property_delegation_spec.rb",
         
     | 
| 
       39 
39 
     | 
    
         
             
                "spec/has_attributes_spec.rb",
         
     | 
| 
       40 
40 
     | 
    
         
             
                "spec/java_native2ascii_spec.rb",
         
     | 
| 
      
 41 
     | 
    
         
            +
                "spec/simply_useful_all_spec.rb",
         
     | 
| 
       41 
42 
     | 
    
         
             
                "spec/simply_useful_spec.rb",
         
     | 
| 
       42 
43 
     | 
    
         
             
                "spec/spec.opts",
         
     | 
| 
       43 
44 
     | 
    
         
             
                "spec/spec_helper.rb"
         
     | 
| 
         @@ -0,0 +1,17 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require File.dirname(__FILE__) + '/spec_helper'
         
     | 
| 
      
 2 
     | 
    
         
            +
            require 'simply_useful/all'
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            describe SimplyUseful::All do
         
     | 
| 
      
 5 
     | 
    
         
            +
              it "should load" do
         
     | 
| 
      
 6 
     | 
    
         
            +
                # if it gets here then it means no errors were raised during loading of the module (probably, right?)
         
     | 
| 
      
 7 
     | 
    
         
            +
              end
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              describe "included modules" do
         
     | 
| 
      
 10 
     | 
    
         
            +
                
         
     | 
| 
      
 11 
     | 
    
         
            +
                it "should define Hash.deep_symbolize_keys!" do
         
     | 
| 
      
 12 
     | 
    
         
            +
                  lambda { {"a" => "b"}.deep_symbolize_keys! }.should_not raise_error
         
     | 
| 
      
 13 
     | 
    
         
            +
                end
         
     | 
| 
      
 14 
     | 
    
         
            +
                
         
     | 
| 
      
 15 
     | 
    
         
            +
              end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            end
         
     | 
    
        data/spec/simply_useful_spec.rb
    CHANGED
    
    | 
         @@ -1,18 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require File.dirname(__FILE__) + '/spec_helper'
         
     | 
| 
       2 
     | 
    
         
            -
            require ' 
     | 
| 
      
 2 
     | 
    
         
            +
            require 'simply_useful_spec'
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            describe SimplyUseful do
         
     | 
| 
       5 
     | 
    
         
            -
              it "should load" do
         
     | 
| 
       6 
     | 
    
         
            -
                 
     | 
| 
      
 5 
     | 
    
         
            +
              it "should not load any extensions" do
         
     | 
| 
      
 6 
     | 
    
         
            +
                lambda {
         
     | 
| 
      
 7 
     | 
    
         
            +
                  SimplyUseful::Format
         
     | 
| 
      
 8 
     | 
    
         
            +
                }.should raise_error(NameError)
         
     | 
| 
       7 
9 
     | 
    
         
             
              end
         
     | 
| 
       8 
10 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
                
         
     | 
| 
       11 
     | 
    
         
            -
                it "should define Hash.deep_symbolize_keys!" do
         
     | 
| 
       12 
     | 
    
         
            -
                  lambda { {"a" => "b"}.deep_symbolize_keys! }.should_not raise_error
         
     | 
| 
       13 
     | 
    
         
            -
                end
         
     | 
| 
       14 
     | 
    
         
            -
                
         
     | 
| 
       15 
     | 
    
         
            -
              end
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
              
         
     | 
| 
       18 
     | 
    
         
            -
            end
         
     | 
| 
      
 11 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: simply_useful
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.1
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -136,6 +136,7 @@ files: 
     | 
|
| 
       136 
136 
     | 
    
         
             
            - spec/core_ext/property_delegation_spec.rb
         
     | 
| 
       137 
137 
     | 
    
         
             
            - spec/has_attributes_spec.rb
         
     | 
| 
       138 
138 
     | 
    
         
             
            - spec/java_native2ascii_spec.rb
         
     | 
| 
      
 139 
     | 
    
         
            +
            - spec/simply_useful_all_spec.rb
         
     | 
| 
       139 
140 
     | 
    
         
             
            - spec/simply_useful_spec.rb
         
     | 
| 
       140 
141 
     | 
    
         
             
            - spec/spec.opts
         
     | 
| 
       141 
142 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
         @@ -154,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       154 
155 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       155 
156 
     | 
    
         
             
                  segments:
         
     | 
| 
       156 
157 
     | 
    
         
             
                  - 0
         
     | 
| 
       157 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 158 
     | 
    
         
            +
                  hash: 4481099966841840911
         
     | 
| 
       158 
159 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       159 
160 
     | 
    
         
             
              none: false
         
     | 
| 
       160 
161 
     | 
    
         
             
              requirements:
         
     |