cambium 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 151475ac069e0a44ad489ab9340b9041d3c3ba20
|
4
|
+
data.tar.gz: 2fd26503a744a7dd999eed2a40a72617b5f46323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed0446889aa382fcd3eb124c23622bb6757e0e7e0ef1693edc51ba10dae9797050f91152bd2abc49095bdab0bf2641380ccf147857ecb2ded8c9c8db2d4d8d2
|
7
|
+
data.tar.gz: f53a44e5a2cd9cd47ca57c69a0186208a8397e7e5404c69f3af6d4be533bf9feab67e1d20d58a0ef57aadf6201776fc9ecada8a65240dbefefbaa7a51fc44f4a
|
@@ -7,13 +7,17 @@
|
|
7
7
|
<%= "#{time_ago_in_words(version.created_at)} ago" %>
|
8
8
|
</p>
|
9
9
|
<p class="action">
|
10
|
-
<%= content_tag(:strong, user.name) %>
|
10
|
+
<%= content_tag(:strong, user.name.present? ? user.name : user.email) %>
|
11
11
|
<%= "#{version.event}d" %>
|
12
12
|
<%= version.item_type.downcase %>
|
13
|
-
|
14
|
-
:strong,
|
15
|
-
|
16
|
-
|
13
|
+
<% if cambium_edit_route(version.item).nil? %>
|
14
|
+
<%= content_tag(:strong, version.item.to_s) %>
|
15
|
+
<% else %>
|
16
|
+
<%= content_tag(
|
17
|
+
:strong,
|
18
|
+
link_to(version.item.to_s, cambium_edit_route(version.item))
|
19
|
+
) %>
|
20
|
+
<% end %>
|
17
21
|
</p>
|
18
22
|
</div>
|
19
23
|
</article>
|
data/lib/cambium/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cambium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean C Davis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|