runeblog 0.1.55 → 0.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/blog +0 -1
- data/lib/helpers-repl.rb +0 -1
- data/lib/publish.rb +1 -1
- data/lib/repl.rb +7 -1
- data/lib/runeblog.rb +2 -2
- data/lib/runeblog_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ded36cfd802fe47978c4168e0cd566ffcdbe8ae52b340603e5add64462924c9
|
4
|
+
data.tar.gz: 83c1fdf79034407a8d39a2737b3f0dededbedb2abde038749c8654de9bd9ac90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c278a5ca40d38ce088bb38c7e35e849fb15da82c5f371cedf71190873f0c2b1d5012f035181263da96773773278f3ef72b2742e9f047c4e74442509aa2fc7c47
|
7
|
+
data.tar.gz: 00f51c927d68edf25a434561b12d5fd51ec2a35edd878ce5753537094015b0d665370289919d7ae93cf85effc4a75ba16d4f76d54722071c1fd1fe5d9c1c5a9c
|
data/bin/blog
CHANGED
data/lib/helpers-repl.rb
CHANGED
@@ -73,7 +73,6 @@ module RuneBlog::REPL
|
|
73
73
|
"p" => :cmd_new_post,
|
74
74
|
"cv $name" => :cmd_change_view,
|
75
75
|
"cv" => :cmd_change_view, # 0-arity must come second
|
76
|
-
"config" => :cmd_config,
|
77
76
|
"lsp" => :cmd_list_posts,
|
78
77
|
"lsd" => :cmd_list_drafts,
|
79
78
|
"list assets" => :cmd_list_assets,
|
data/lib/publish.rb
CHANGED
data/lib/repl.rb
CHANGED
@@ -173,9 +173,15 @@ module RuneBlog::REPL
|
|
173
173
|
def cmd_new_view(arg, testing = false)
|
174
174
|
reset_output
|
175
175
|
@blog.create_view(arg)
|
176
|
+
@blog.change_view(arg)
|
176
177
|
resp = yesno("Add publishing info now? ")
|
177
178
|
@blog.view.publisher = ask_publishing_info
|
178
|
-
|
179
|
+
out = @blog.view.dir + "/publish"
|
180
|
+
print "pub = "
|
181
|
+
p @blog.view.publisher
|
182
|
+
print "out = "
|
183
|
+
p out
|
184
|
+
write_config(@blog.view.publisher, out)
|
179
185
|
@out
|
180
186
|
end
|
181
187
|
|
data/lib/runeblog.rb
CHANGED
@@ -300,8 +300,8 @@ class RuneBlog
|
|
300
300
|
debug "Called rebuild_post(#{file.inspect})"
|
301
301
|
raise ArgumentError unless file.is_a?(String)
|
302
302
|
meta = process_post(file)
|
303
|
-
p meta
|
304
|
-
sleep 4
|
303
|
+
# p meta
|
304
|
+
# sleep 4
|
305
305
|
@views_dirty ||= []
|
306
306
|
@views_dirty << meta.views
|
307
307
|
@views_dirty.flatten!
|
data/lib/runeblog_version.rb
CHANGED