runeblog 0.1.57 → 0.1.58

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25ab912bbfad61d824612c26a6276f41fcbb0ef2d3ac189e5ec361de80aa6de9
4
- data.tar.gz: f459c0a6a2ff40e3e57db5a236cc91044d094e3d8d5a6e18ebb5a12edc503f7a
3
+ metadata.gz: 4f376297ea03864aff5f5702d7c05e256029e18c9d808f6cfdd13edd2c8526a6
4
+ data.tar.gz: eca093ea7e23fc72c669fda9d0c9dc705fa9640628f17911d40105e8ed62319c
5
5
  SHA512:
6
- metadata.gz: c14c72020011927c953b5df97207e80a489fd21fdc0ec45a159109dfbbde3ac7da8cfd2b00764493f041d5c39b11f70bb5949b7c0f06b325a5b259817a069dc0
7
- data.tar.gz: f50990d4641a0e47fa9685e09fc3ab0cf9da805842c6ba9ffb9f71e1097bcb1617d34c1e0c7a963670f6ad3b38ab39b762a7a3bb8980b57a8f0ef2183cd65a1a
6
+ metadata.gz: 65a5b558786216cbcac20af1fcc98c95898497636ad346b2c415899eed232848534ca6a86be626dc9d9a0d3493392cbba395968f9642c94b1b57f93296bf93db
7
+ data.tar.gz: 21765b0dd0e25577bc16fb1a420721f1323eade54367c8f868a5f50c4d87b338c087a1e4737b0adfb8c4a2e5506430c41ec09b838e2da2421254bd7a9c6fab18
data/lib/liveblog.rb CHANGED
@@ -36,17 +36,17 @@ def categories # does nothing right now
36
36
  end
37
37
 
38
38
 
39
+ # Move elsewhere later
40
+
39
41
  def h1; _puts "<h1>#{@_data}</h1>"; end
40
42
  def h2; _puts "<h2>#{@_data}</h2>"; end
41
-
42
- def h3
43
- _puts "<h3>#{@_data}</h3>"
44
- end
45
-
43
+ def h3; _puts "<h3>#{@_data}</h3>"; end
46
44
  def h4; _puts "<h4>#{@_data}</h4>"; end
47
45
  def h5; _puts "<h5>#{@_data}</h5>"; end
48
46
  def h6; _puts "<h6>#{@_data}</h6>"; end
49
47
 
48
+ def hr; _puts "<hr>"; end
49
+
50
50
 
51
51
  ### inset
52
52
 
@@ -92,7 +92,6 @@ end
92
92
 
93
93
  def init_liveblog # FIXME - a lot of this logic sucks
94
94
  @blog, num = Livetext.parameters
95
- puts "passed in: #{@blog.view}"
96
95
  @meta = OpenStruct.new
97
96
  @meta.num = num
98
97
  @root = @blog.root rescue nil
data/lib/runeblog.rb CHANGED
@@ -144,8 +144,8 @@ class RuneBlog
144
144
  Livetext.parameters = [RuneBlog.blog, 0]
145
145
  live = Livetext.new
146
146
  meta = live.transform(x::NewBlogHeader)
147
- # dump(x::BlogHeader, "templates/blog_header.html")
148
- # dump(x::BlogTrailer, "templates/blog_trailer.html")
147
+ dump(x::BlogHeader, "templates/blog_header.html")
148
+ dump(x::BlogTrailer, "templates/blog_trailer.html")
149
149
  dump("Initial creation", "last_published")
150
150
  Dir.chdir(up)
151
151
  @views << view
@@ -1,6 +1,6 @@
1
1
 
2
2
  class RuneBlog
3
- VERSION = "0.1.57"
3
+ VERSION = "0.1.58"
4
4
 
5
5
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
6
6
  end
data/runeblog.gemspec CHANGED
@@ -7,7 +7,6 @@ require "runeblog_version"
7
7
 
8
8
  Gem.post_install do |spec|
9
9
  Dir.chdir(RuneBlog::Path)
10
- p Dir.pwd
11
10
  system("livetext -i liveblog.rb")
12
11
  end
13
12
 
@@ -21,8 +20,8 @@ spec = Gem::Specification.new do |s|
21
20
  s.authors = ["Hal Fulton"]
22
21
  s.email = 'rubyhacker@gmail.com'
23
22
  s.executables << "blog"
24
- s.add_runtime_dependency 'livetext', '~> 0.8', '>= 0.8.64'
25
- s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.14'
23
+ s.add_runtime_dependency 'livetext', '~> 0.8', '>= 0.8.66'
24
+ s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.16'
26
25
 
27
26
  # Files...
28
27
  main = Find.find("bin").to_a +
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runeblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.57
4
+ version: 0.1.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.8'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.8.64
22
+ version: 0.8.66
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '0.8'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.8.64
32
+ version: 0.8.66
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubytext
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '0.1'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.1.14
42
+ version: 0.1.16
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '0.1'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.1.14
52
+ version: 0.1.16
53
53
  description: A blog system based on Ruby and Livetext
54
54
  email: rubyhacker@gmail.com
55
55
  executables: