yfactorial-utility_scopes 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -1
- data/lib/utility_scopes/ordered.rb +2 -2
- metadata +5 -3
data/README.textile
CHANGED
@@ -18,7 +18,7 @@ h2. Installation
|
|
18
18
|
|
19
19
|
To install the utility_scopes gem run the following:
|
20
20
|
|
21
|
-
sudo gem install yfactorial-utility_scopes
|
21
|
+
sudo gem install yfactorial-utility_scopes --source http://gems.github.com
|
22
22
|
|
23
23
|
And to enable the scopes in your project just require @utility_scopes@:
|
24
24
|
|
@@ -60,7 +60,7 @@ module UtilityScopes
|
|
60
60
|
}
|
61
61
|
})
|
62
62
|
|
63
|
-
|
63
|
+
eigenclass.instance_eval do
|
64
64
|
define_method(:default_ordering) { clause }
|
65
65
|
end
|
66
66
|
end
|
@@ -76,7 +76,7 @@ module UtilityScopes
|
|
76
76
|
|
77
77
|
private
|
78
78
|
|
79
|
-
def
|
79
|
+
def eigenclass; class << self; self end; end
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yfactorial-utility_scopes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Daigle
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-09-16 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -56,6 +57,7 @@ files:
|
|
56
57
|
- spec/fixtures/article.rb
|
57
58
|
has_rdoc: true
|
58
59
|
homepage: http://github.com/yfactorial/utility_scopes
|
60
|
+
licenses:
|
59
61
|
post_install_message:
|
60
62
|
rdoc_options:
|
61
63
|
- --main
|
@@ -79,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
81
|
requirements: []
|
80
82
|
|
81
83
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.3.5
|
83
85
|
signing_key:
|
84
86
|
specification_version: 2
|
85
87
|
summary: A collection of utilitarian named scopes providing common functionality for ActiveRecord models
|