wheels 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.34
1
+ 0.0.35
@@ -11,13 +11,14 @@ class BlogsController < InheritedResources::Base
11
11
  end
12
12
 
13
13
  def collection
14
- @blogs ||= end_of_association_chain.
14
+ @blogs ||= Blog.where(:user_id=>@user.id).
15
15
  paginate(:page => params[:page], :order => 'created_at DESC' )
16
16
  end
17
17
 
18
- def begin_of_association_chain
19
- @tags = Blog.where(:user_id=>@user.id).tag_counts.sort{|t, u| t.count <=> u.count}
20
- return @user
21
- end
18
+ protected
19
+ def begin_of_association_chain
20
+ @tags = Blog.where(:user_id=>@user.id).tag_counts.sort{|t, u| t.count <=> u.count}
21
+ return @user
22
+ end
22
23
  end
23
24
 
data/wheels.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wheels}
8
- s.version = "0.0.34"
8
+ s.version = "0.0.35"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wheels
3
3
  version: !ruby/object:Gem::Version
4
- hash: 91
4
+ hash: 89
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 34
10
- version: 0.0.34
9
+ - 35
10
+ version: 0.0.35
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler Gannon