searchlogic 2.4.24 → 2.4.25
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 +1 -1
- data/lib/searchlogic/search.rb +1 -1
- data/searchlogic.gemspec +2 -2
- data/spec/searchlogic/search_spec.rb +6 -0
- data/spec/spec_helper.rb +2 -2
- metadata +4 -4
data/VERSION.yml
CHANGED
data/lib/searchlogic/search.rb
CHANGED
data/searchlogic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{searchlogic}
|
8
|
-
s.version = "2.4.
|
8
|
+
s.version = "2.4.25"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Johnson of Binary Logic"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-03}
|
13
13
|
s.description = %q{Searchlogic makes using ActiveRecord named scopes easier and less repetitive.}
|
14
14
|
s.email = %q{bjohnson@binarylogic.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -427,6 +427,12 @@ describe Searchlogic::Search do
|
|
427
427
|
s.created_at_lte
|
428
428
|
s.respond_to?(:created_at_lte).should == true
|
429
429
|
end
|
430
|
+
|
431
|
+
it "should respond to created_at" do
|
432
|
+
s = User.search
|
433
|
+
s.created_at_lte
|
434
|
+
s.respond_to?(:created_at).should == true
|
435
|
+
end
|
430
436
|
end
|
431
437
|
|
432
438
|
context "delegation" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require 'spec'
|
2
2
|
require 'rubygems'
|
3
|
-
require 'ruby-debug'
|
3
|
+
#require 'ruby-debug'
|
4
4
|
require 'active_record'
|
5
5
|
|
6
6
|
ENV['TZ'] = 'UTC'
|
7
|
-
Time.zone = 'Eastern Time (US & Canada)'
|
7
|
+
#Time.zone = 'Eastern Time (US & Canada)'
|
8
8
|
|
9
9
|
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
|
10
10
|
ActiveRecord::Base.configurations = true
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: searchlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 2.4.
|
9
|
+
- 25
|
10
|
+
version: 2.4.25
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Johnson of Binary Logic
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-03 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|