muck-profiles 0.1.14 → 0.1.15

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/.gitignore CHANGED
@@ -1,5 +1,29 @@
1
+ **/*.pid
2
+ log/*.log
3
+ log/*.pid
4
+ tmp
5
+ .DS_Store
6
+ public/cache/**/*
7
+ public/system/**/*
8
+ doc/**/*
9
+ db/*.sqlite3
10
+ .project
11
+ .loadpath
12
+ nbproject/
13
+ .idea
14
+ testjour.log
15
+ *.so
16
+ *.o
17
+ Makefile
18
+ mkmf.log
19
+ *.bundle
20
+ conftest
21
+ content/
22
+ .idea
1
23
  *.sw?
2
24
  .DS_Store
3
25
  coverage
4
26
  rdoc
5
27
  pkg
28
+ pkg/*
29
+ log/*
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.14
1
+ 0.1.15
@@ -4,6 +4,7 @@ class Muck::ProfilesController < ApplicationController
4
4
  before_filter :setup_user, :only => [:show, :edit]
5
5
 
6
6
  def index
7
+ @per_page = 400
7
8
  @users = User.by_newest.paginate(:page => @page, :per_page => @per_page, :include => 'profile')
8
9
  respond_to do |format|
9
10
  format.html { render :template => 'profiles/index' }
@@ -0,0 +1,4 @@
1
+ <div class="user-profile-icon">
2
+ <%= icon user, :icon %>
3
+ <%= link_to user.display_name, profile_path(user) %>
4
+ </div
@@ -1 +1,2 @@
1
- <%= render :partial => 'profiles/profile', :collection => @users, :as => :user %>
1
+ <%= render :partial => 'profiles/profile_icon', :collection => @users, :as => :user %>
2
+
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-profiles}
8
- s.version = "0.1.14"
8
+ s.version = "0.1.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball"]
12
- s.date = %q{2009-10-29}
12
+ s.date = %q{2009-11-10}
13
13
  s.description = %q{Profile engine for the muck system.}
14
14
  s.email = %q{justinball@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
27
27
  "app/views/admin/profiles/edit.html.erb",
28
28
  "app/views/profiles/_form.html.erb",
29
29
  "app/views/profiles/_profile.html.erb",
30
+ "app/views/profiles/_profile_icon.html.erb",
30
31
  "app/views/profiles/edit.html.erb",
31
32
  "app/views/profiles/index.html.erb",
32
33
  "app/views/profiles/show.html.erb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-profiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-29 00:00:00 -06:00
12
+ date: 2009-11-10 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -52,6 +52,7 @@ files:
52
52
  - app/views/admin/profiles/edit.html.erb
53
53
  - app/views/profiles/_form.html.erb
54
54
  - app/views/profiles/_profile.html.erb
55
+ - app/views/profiles/_profile_icon.html.erb
55
56
  - app/views/profiles/edit.html.erb
56
57
  - app/views/profiles/index.html.erb
57
58
  - app/views/profiles/show.html.erb