liveblog 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/liveblog.rb +3 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03108fe52fd86cd3cf1d2683aecca0502165b2c8
|
4
|
+
data.tar.gz: 3e78c1142a567adc1eac7fed964e6a17167cb607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb379efe3440773f49423ae9662482bd214a942b3bc7a2e2ac898e9861b917c37d3cce1fb45ecc2612022d4c7bca9a14e4a7ba4afe2c59847c605e14f0ccd166
|
7
|
+
data.tar.gz: 0865ec825c88fc627e6b457711439f2dedff737331d253fc21ee81e4af1d90949817761396fdb96f32048b761749b639368b28d0227aac6ff621eff7182ea2d9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/liveblog.rb
CHANGED
@@ -44,7 +44,7 @@ class LiveBlog
|
|
44
44
|
@d = date
|
45
45
|
dxfile = File.join(path(), 'index.xml')
|
46
46
|
|
47
|
-
initialize_plugins(plugins)
|
47
|
+
@plugins = initialize_plugins(plugins || [])
|
48
48
|
|
49
49
|
if File.exists? dxfile then
|
50
50
|
|
@@ -115,7 +115,7 @@ class LiveBlog
|
|
115
115
|
|
116
116
|
def initialize_plugins(plugins)
|
117
117
|
#
|
118
|
-
|
118
|
+
plugins.inject([]) do |r, plugin|
|
119
119
|
|
120
120
|
name, settings = plugin
|
121
121
|
return r if settings[:active] == false and !settings[:active]
|
@@ -126,6 +126,7 @@ class LiveBlog
|
|
126
126
|
.new(settings: settings, variables: {filepath: @dir})
|
127
127
|
|
128
128
|
end
|
129
|
+
|
129
130
|
end
|
130
131
|
|
131
132
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|