alula-plugins 0.4.0b → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/alula/plugins/disqus.rb +1 -1
- data/lib/alula/plugins/emphasis.rb +1 -1
- data/lib/alula/plugins/fancybox.rb +4 -1
- data/lib/alula/plugins/sublimevideo.rb +4 -1
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.0
|
data/lib/alula/plugins/disqus.rb
CHANGED
@@ -3,7 +3,7 @@ require 'alula/plugin'
|
|
3
3
|
|
4
4
|
module Alula
|
5
5
|
class Fancybox < ImageTag
|
6
|
-
def self.
|
6
|
+
def self.path
|
7
7
|
File.join(File.dirname(__FILE__), %w{.. .. .. plugins fancybox})
|
8
8
|
end
|
9
9
|
|
@@ -32,6 +32,9 @@ module Alula
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def content
|
35
|
+
# FeedBuilder support, skip sublime extensions for feeds
|
36
|
+
return super if self.context.item.metadata.renderer.class.to_s == "Alula::Generator::FeedBuilder"
|
37
|
+
|
35
38
|
image = attachment_url(@source, :image)
|
36
39
|
thumbnail = attachment_url(@source, :thumbnail)
|
37
40
|
hires = hires_url(@source, :image)
|
@@ -3,7 +3,7 @@ require 'alula/plugin'
|
|
3
3
|
|
4
4
|
module Alula
|
5
5
|
class Sublimevideo < VideoTag
|
6
|
-
def self.
|
6
|
+
def self.path
|
7
7
|
File.join(File.dirname(__FILE__), %w{.. .. .. plugins sublimevideo})
|
8
8
|
end
|
9
9
|
|
@@ -21,6 +21,9 @@ module Alula
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def content
|
24
|
+
# FeedBuilder support, skip sublime extensions for feeds
|
25
|
+
return super if self.context.item.metadata.renderer.class.to_s == "Alula::Generator::FeedBuilder"
|
26
|
+
|
24
27
|
sublime_videotag(@source)
|
25
28
|
end
|
26
29
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alula-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mikko Kokkonen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: alula
|
@@ -92,9 +92,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
93
|
none: false
|
94
94
|
requirements:
|
95
|
-
- - ! '
|
95
|
+
- - ! '>='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
100
|
rubygems_version: 1.8.23
|