livetext 0.8.37 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dsl/liveblog.rb +4 -4
- data/lib/livetext.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8d660a657d0a0ee795dabf81acb947628d7c46
|
4
|
+
data.tar.gz: 8a9c237d7dc20169a8067d63d8e56b365ff9906d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c3f47760c635f382785be9f7c1d3bbe06482b43ca6209475da59de5104b1a0f60f9b42d9f6f3d4dc74e013e05286c4ca313f86137fef83b806bfdb5dd6aed0
|
7
|
+
data.tar.gz: 182e0d518ac43a354e6195eb7f8ae9719516a8e3714e0fe1cff7ac3c3e66a47097f9a5778eaf00ceac0a7961abb22af85ae54efb3f85658f90d287561e91b779
|
data/dsl/liveblog.rb
CHANGED
@@ -23,7 +23,7 @@ class ::Livetext::Functions # do this differently??
|
|
23
23
|
text, name = param.split("|")
|
24
24
|
|
25
25
|
# FIXME how should this work?
|
26
|
-
view =
|
26
|
+
view = ThisBlog.view
|
27
27
|
url = find_asset(name)
|
28
28
|
"<a href='#{url}'>#{text}</a>"
|
29
29
|
end
|
@@ -35,7 +35,7 @@ begin
|
|
35
35
|
ThisBlog
|
36
36
|
rescue
|
37
37
|
ThisBlog = RuneBlog.new
|
38
|
-
|
38
|
+
# ThisConfig = ThisBlog.open_blog
|
39
39
|
end
|
40
40
|
|
41
41
|
### find_asset
|
@@ -65,9 +65,9 @@ end
|
|
65
65
|
|
66
66
|
#############
|
67
67
|
|
68
|
-
def init_liveblog
|
68
|
+
def init_liveblog # FIXME - a lot of this logic sucks
|
69
69
|
@blog = ThisBlog
|
70
|
-
@config =
|
70
|
+
@config = ThisBlog
|
71
71
|
@root = @config.root
|
72
72
|
@teaser = ""
|
73
73
|
@body = ""
|
data/lib/livetext.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Livetext
|
2
|
-
VERSION = "0.8.
|
2
|
+
VERSION = "0.8.38"
|
3
3
|
end
|
4
4
|
|
5
5
|
$Livetext = Livetext
|
@@ -41,11 +41,11 @@ class Livetext
|
|
41
41
|
:enum_for, :pretty_inspect, :==, :equal?, :!, :!=, :instance_eval,
|
42
42
|
:instance_exec, :__send__, :__id__, :__binding__]
|
43
43
|
|
44
|
-
def initialize(parent, output)
|
44
|
+
def initialize(parent, output = nil)
|
45
45
|
@parent = parent
|
46
46
|
@_nopass = false
|
47
47
|
@_nopara = false
|
48
|
-
@output = output
|
48
|
+
@output = output || File.open("/dev/null", "w")
|
49
49
|
@sources = []
|
50
50
|
end
|
51
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: livetext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A smart text processor extensible in Ruby
|
14
14
|
email: rubyhacker@gmail.com
|