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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dfb6b74967e6212fc9e8474f483db8da090603d3b69ff77c3bdf0693ba01c77
4
- data.tar.gz: e33b778ece67830c43c6ef717692e0987071e77c750cae360df7c354ae016b75
3
+ metadata.gz: 2ded36cfd802fe47978c4168e0cd566ffcdbe8ae52b340603e5add64462924c9
4
+ data.tar.gz: 83c1fdf79034407a8d39a2737b3f0dededbedb2abde038749c8654de9bd9ac90
5
5
  SHA512:
6
- metadata.gz: 438cd7ca72a2c3491d37aaab15540f176858b3d63742d2a0803baaaf7b8a038ebdefdff54d228e96a5d6e3c48595ab5a388cc6668733048d1ea8b73e5823a7a3
7
- data.tar.gz: 95cd3836e734ee3121d00720fd71fbcade3f1920a41c8fb596e2a08aad74b32b495d7807ad8d6d99df0cf7f32e575dec67426ae565fe1a08c103ea6d092c9133
6
+ metadata.gz: c278a5ca40d38ce088bb38c7e35e849fb15da82c5f371cedf71190873f0c2b1d5012f035181263da96773773278f3ef72b2742e9f047c4e74442509aa2fc7c47
7
+ data.tar.gz: 00f51c927d68edf25a434561b12d5fd51ec2a35edd878ce5753537094015b0d665370289919d7ae93cf85effc4a75ba16d4f76d54722071c1fd1fe5d9c1c5a9c
data/bin/blog CHANGED
@@ -23,7 +23,6 @@ end
23
23
  def mainloop
24
24
  print fx("blog> ", Red, :bold)
25
25
  cmd = STDSCR.gets(history: @cmdhist, tab: @tabcom)
26
- puts cmd.inspect
27
26
  cmd_quit(nil) if cmd.nil? # ^D
28
27
  cmd.chomp!
29
28
  return if cmd.empty? # CR does nothing
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
@@ -16,7 +16,7 @@ class RuneBlog::Publishing
16
16
  :path, :proto)
17
17
  @user, @server, @docroot, @path, @proto = *array
18
18
  else
19
- @user, @server, @docroot, @path, @proto = *obj
19
+ @user, @server, @docroot, @path, @proto = *params
20
20
  end
21
21
  end
22
22
 
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
- write_config(@blog.view.publisher, @blog.view.dir + "/publish") # change this?
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!
@@ -1,6 +1,6 @@
1
1
 
2
2
  class RuneBlog
3
- VERSION = "0.1.55"
3
+ VERSION = "0.1.56"
4
4
 
5
5
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
6
6
  end
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.55
4
+ version: 0.1.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton