refinerycms-image_rotators 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,11 @@
|
|
29
29
|
<pre style="overflow-x: auto;"><code>
|
30
30
|
<div class="image-rotator" style="height:<%= @image_rotator.height %>;width:<%= @image_rotator.width %>;">
|
31
31
|
<% @image_rotator.images.each do |image| %>
|
32
|
-
|
32
|
+
<% if image.url.present? %>
|
33
|
+
<a href="<%= image.url %>"><img src="<%= image.image.url %>" alt="<%= image.image.title %>" title="<%= image.caption %>" /></a>
|
34
|
+
<% else %>
|
35
|
+
<img src="<%= image.image.url %>" alt="<%= image.image.title %>" title="<%= image.caption %>" />
|
36
|
+
<% end %>
|
33
37
|
<% end %>
|
34
38
|
</div>
|
35
39
|
</code></pre>
|
data/lib/image_rotators.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-image_rotators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 11
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 5
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jacob Swanner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-06-29 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
requirements: []
|
106
106
|
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.
|
108
|
+
rubygems_version: 1.6.2
|
109
109
|
signing_key:
|
110
110
|
specification_version: 3
|
111
111
|
summary: Ruby on Rails image rotator engine for RefineryCMS.
|