carrier 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -120,6 +120,7 @@ a, a:link, a:visited {text-decoration:none;}
120
120
  -moz-border-radius: 6px;
121
121
  -webkit-border-radius: 6px;
122
122
  background-color:#ddd;
123
+ border:1px solid #ddd;
123
124
  margin-bottom:4px;
124
125
  color:#000;
125
126
  }
@@ -260,6 +261,10 @@ label {
260
261
  border-top:1px solid #ccc;
261
262
  }
262
263
 
264
+ /* collapse */
263
265
 
264
-
265
-
266
+ .ma_collapse .message_ma_user,
267
+ .ma_collapse .message_ma_content {display:inline-block; vertical-align:top;}
268
+ .ma_collapse .message_ma_user:after {content:' >'; display:inline-block; font-size:10px; margin:0 10px;}
269
+ p {margin:0;}
270
+ .ma_open p, .ma_open .message_ma_content {margin:10px 0;}
File without changes
File without changes
@@ -1,13 +1,13 @@
1
1
  <%= link_to carrier.expanded_message_path(message), :remote => true, :class => "message_collapse", :id => "message-#{message.id}" do %>
2
- <div class="message_ma_wrapper">
2
+ <div class="message_ma_wrapper ma_collapse">
3
3
  <div class="message_ma_date"><%= raw message.date_formatted %></div>
4
4
  <div class="message_ma_user"><%= message.sender_name %></div>
5
- <div>
5
+ <div class="message_ma_content">
6
6
  <% if unread_messages.include? message %>
7
7
  <b class='red'>unread</b>
8
8
  <% end %>
9
9
 
10
- <%= simple_format truncate(message.content, :length => 88) %>
10
+ <%= truncate(message.content, :length => 88) %>
11
11
  </div>
12
12
  </div>
13
13
  <% end %>
@@ -2,6 +2,6 @@
2
2
  <div class="message_ma_wrapper ma_open">
3
3
  <div class="message_ma_date"><%= raw message.date_formatted %></div>
4
4
  <div class="message_ma_user"><%= message.sender_name %></div>
5
- <div><%= message.content %></div>
5
+ <div class="message_ma_content"><%= simple_format message.content %></div>
6
6
  </div>
7
7
  <% end %>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "carrier"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["stanislaw"]
12
- s.date = "2012-05-24"
12
+ s.date = "2012-05-25"
13
13
  s.description = "Raw github-like messaging system to reuse across Rails apps. Acts as Rails 3.1 mountable engine. Fast and robust."
14
14
  s.email = "s.pankevich@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -1,3 +1,3 @@
1
1
  module Carrier
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -2,8 +2,10 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Dummy</title>
5
- <%= stylesheet_link_tag "application" %>
5
+ <%= stylesheet_link_tag "application" %>
6
+ <%= yield :stylesheets %>
6
7
  <%= javascript_include_tag "application" %>
8
+ <%= yield :javascripts %>
7
9
  <%= csrf_meta_tags %>
8
10
  </head>
9
11
  <body>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-24 00:00:00.000000000 Z
12
+ date: 2012-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: require_all
@@ -395,7 +395,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
395
395
  version: '0'
396
396
  segments:
397
397
  - 0
398
- hash: -583455053
398
+ hash: 705404595
399
399
  required_rubygems_version: !ruby/object:Gem::Requirement
400
400
  none: false
401
401
  requirements: