searchlogic 2.1.1 → 2.1.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/CHANGELOG.rdoc +4 -0
- data/VERSION.yml +1 -1
- data/lib/searchlogic/search.rb +1 -0
- data/searchlogic.gemspec +2 -2
- data/spec/search_spec.rb +5 -0
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
    
        data/CHANGELOG.rdoc
    CHANGED
    
    
    
        data/VERSION.yml
    CHANGED
    
    
    
        data/lib/searchlogic/search.rb
    CHANGED
    
    
    
        data/searchlogic.gemspec
    CHANGED
    
    | @@ -2,11 +2,11 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            Gem::Specification.new do |s|
         | 
| 4 4 | 
             
              s.name = %q{searchlogic}
         | 
| 5 | 
            -
              s.version = "2.1. | 
| 5 | 
            +
              s.version = "2.1.2"
         | 
| 6 6 |  | 
| 7 7 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 8 8 | 
             
              s.authors = ["Ben Johnson of Binary Logic"]
         | 
| 9 | 
            -
              s.date = %q{2009- | 
| 9 | 
            +
              s.date = %q{2009-07-04}
         | 
| 10 10 | 
             
              s.email = %q{bjohnson@binarylogic.com}
         | 
| 11 11 | 
             
              s.extra_rdoc_files = [
         | 
| 12 12 | 
             
                "LICENSE",
         | 
    
        data/spec/search_spec.rb
    CHANGED
    
    | @@ -136,6 +136,11 @@ describe "Search" do | |
| 136 136 | 
             
                  lambda { search.unknown = true }.should raise_error(Searchlogic::Search::UnknownConditionError)
         | 
| 137 137 | 
             
                end
         | 
| 138 138 |  | 
| 139 | 
            +
                it "should not use the ruby implementation of the id method" do
         | 
| 140 | 
            +
                  search = User.search
         | 
| 141 | 
            +
                  search.id.should be_nil
         | 
| 142 | 
            +
                end
         | 
| 143 | 
            +
                
         | 
| 139 144 | 
             
                context "type casting" do
         | 
| 140 145 | 
             
                  it "should be a Boolean given true" do
         | 
| 141 146 | 
             
                    search = User.search
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: searchlogic
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 2.1. | 
| 4 | 
            +
              version: 2.1.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Ben Johnson of Binary Logic
         | 
| @@ -9,7 +9,7 @@ autorequire: | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2009- | 
| 12 | 
            +
            date: 2009-07-04 00:00:00 -05:00
         | 
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         |