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 CHANGED
@@ -1 +1 @@
1
- 0.4.0b
1
+ 0.4.0
@@ -2,7 +2,7 @@ require 'alula/plugin'
2
2
 
3
3
  module Alula
4
4
  class Disqus
5
- def self.asset_path
5
+ def self.path
6
6
  File.join(File.dirname(__FILE__), %w{.. .. .. plugins disqus})
7
7
  end
8
8
 
@@ -2,7 +2,7 @@ require 'alula/plugin'
2
2
 
3
3
  module Alula
4
4
  class Emphasis
5
- def self.asset_path
5
+ def self.path
6
6
  File.join(File.dirname(__FILE__), %w{.. .. .. plugins emphasis})
7
7
  end
8
8
 
@@ -3,7 +3,7 @@ require 'alula/plugin'
3
3
 
4
4
  module Alula
5
5
  class Fancybox < ImageTag
6
- def self.asset_path
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.asset_path
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.0b
5
- prerelease: 5
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-14 00:00:00.000000000 Z
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: 1.3.1
97
+ version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
100
  rubygems_version: 1.8.23