rangetastic 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +7 -3
- data/Rakefile +1 -1
- data/rangetastic.gemspec +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -5,13 +5,17 @@ Rangetastic allows you to filter results of a named_scope call on any dates usin
|
|
5
5
|
Configuration & Usage
|
6
6
|
=====================
|
7
7
|
|
8
|
-
To acheive this you need to install rangetastic
|
8
|
+
To acheive this you need to install rangetastic, but first install gemcutter and enable it for gems if you haven't already:
|
9
9
|
|
10
|
-
sudo gem install
|
10
|
+
sudo gem install gemcutter
|
11
|
+
|
12
|
+
gem tumble
|
13
|
+
|
14
|
+
sudo gem install rangetastic
|
11
15
|
|
12
16
|
Then inside your environment.rb
|
13
17
|
|
14
|
-
config.gem "
|
18
|
+
config.gem "rangetastic"
|
15
19
|
|
16
20
|
Then in your model pass in the fields you wish to allow to be searchable using the between filter
|
17
21
|
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('rangetastic', '0.3.
|
5
|
+
Echoe.new('rangetastic', '0.3.3') do |p|
|
6
6
|
p.description = "Chain a date range to any named_scope on any date field with specified white listed fields"
|
7
7
|
p.url = "http://github.com/cherring/rangetastic"
|
8
8
|
p.author = "Chris Herring"
|
data/rangetastic.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rangetastic}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Chris Herring"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-10-12}
|
10
10
|
s.description = %q{Chain a date range to any named_scope on any date field with specified white listed fields}
|
11
11
|
s.email = %q{chris.herring.iphone@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["README.markdown", "lib/rangetastic.rb"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangetastic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Herring
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-12 00:00:00 +11:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|