relation_scope 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
- 0.1.0
1
+ 1.0.0
2
2
  This plugin just for rails version 2.3.x with named scope module.
3
- Include name scope methods: where, joins, includes, select, order, limit, offset, group, having
3
+ Include name scoped methods: where, joins, includes, select, order, limit, offset, group, having
4
+
5
+ 1.0.1
6
+ rename named scope method #select to #selects, do not conflict Array#select method
data/README.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  == RelationScope
2
2
 
3
3
  This plugin just for rails version 2.3.x with named scope module.
4
- Include name scope methods: where, joins, includes, select, order, limit, offset, group, having
4
+ Include name scope methods: where, joins, includes, selects, order, limit, offset, group, having
5
5
 
6
6
 
7
7
  == Usage
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -9,7 +9,7 @@ module RelationScope
9
9
  }
10
10
  named_scope :joins, lambda { |joins| { :joins => joins } }
11
11
  named_scope :includes, lambda { |includes| { :include => includes } }
12
- named_scope :select, lambda { |select| { :select => select } }
12
+ named_scope :selects, lambda { |select| { :select => select } }
13
13
  named_scope :order, lambda { |order| { :order => order } }
14
14
  named_scope :limit, lambda { |limit| { :limit => limit } }
15
15
  named_scope :offset, lambda { |offset| { :offset => offset } }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: relation_scope
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - LiangWenKe
@@ -24,7 +24,7 @@ extra_rdoc_files: []
24
24
 
25
25
  files:
26
26
  - lib/relation_scope.rb
27
- - lib/tasks/relation_scope_tasks.rake
27
+ - lib/tasks/relation_scope.rake
28
28
  - CHANGELOG
29
29
  - MIT-LICENSE
30
30
  - Rakefile