opinio-bootstrap 0.6.0.2 → 0.6.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,6 +16,12 @@ So you need a valid call to
16
16
 
17
17
  for the avatar image (media object).
18
18
 
19
+ If your user image thumbnail method requires a different call, be sure to generate out the views using
20
+
21
+ rails g opinio:views
22
+
23
+ And edit the comments view file to change this line to match your method. That should be all that is required.
24
+
19
25
  To do: make dynamic the method by which User's image is called; provide a default stock placeholder image for those not utilizing an image mounting system for their User object (e.g. Carrierwave/Paperclip).
20
26
 
21
27
  Make sure Bootstrap is in your Rails *Gemfile*:
@@ -1,7 +1,7 @@
1
1
  <% reply = defined?(reply) ? reply : false %>
2
2
  <div id="comment_<%= comment.id %>" class="media">
3
3
  <a class="pull-left" href="<%= user_path(comment.owner) %>">
4
- <img class="media-object" src="<%= comment.owner.image_url(:thumb).to_s %>" />
4
+ <img class="media-object img-polaroid" src="<%= comment.owner.image_url(:thumb).to_s %>" />
5
5
  <span><%= comment.owner.name.titlecase %></span>
6
6
  </a>
7
7
  <div class="media-body">
@@ -1,5 +1,5 @@
1
1
  module Opinio
2
2
  class Version
3
- VERSION = '0.6.0.2'
3
+ VERSION = '0.6.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opinio-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.2
4
+ version: 0.6.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-10 00:00:00.000000000 Z
13
+ date: 2013-02-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails