runeblog 0.1.35 → 0.1.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/helpers-repl.rb +3 -0
- data/lib/repl.rb +21 -0
- data/lib/runeblog_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa66020851fb773a6764093fad7e20cd9dbfbe9ec851943a987a0d86181299ad
|
4
|
+
data.tar.gz: ea4616bbd6c9888e4f8e3901b3a6b6b42f26d25758162f0e9db657204e4fe537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01e7204506d8dba5fed0a34fc50e2b35818d17ed51d4161323ba784129ed51ecd7680f60842121ee2be8d3a7767210577d11f67c8a4e32d17ed43cf03abcab63
|
7
|
+
data.tar.gz: bba39977de72401929cd24e83c8dc97919b6da2f290739c399bb116733a1e4b2fb3091ee871d8e1667fb2d7611b25ba04bc9c861f64866379b1ce28259e96a4b
|
data/lib/helpers-repl.rb
CHANGED
data/lib/repl.rb
CHANGED
@@ -301,6 +301,27 @@ module RuneBlog::REPL
|
|
301
301
|
[true, @out]
|
302
302
|
end
|
303
303
|
|
304
|
+
def cmd_list_assets(arg, testing = false)
|
305
|
+
reset_output
|
306
|
+
check_empty(arg)
|
307
|
+
dir = @blog.view.dir + "/assets"
|
308
|
+
assets = Dir[dir + "/*"]
|
309
|
+
if assets.empty?
|
310
|
+
output! "No assets"
|
311
|
+
puts " No assets" unless testing
|
312
|
+
return [false, @out]
|
313
|
+
else
|
314
|
+
puts unless testing
|
315
|
+
assets.each do |name|
|
316
|
+
asset = File.basename(name)
|
317
|
+
outstr asset
|
318
|
+
puts " ", fx(asset, Blue) unless testing
|
319
|
+
end
|
320
|
+
end
|
321
|
+
puts unless testing
|
322
|
+
[true, @out]
|
323
|
+
end
|
324
|
+
|
304
325
|
def cmd_ssh(arg, testing = false)
|
305
326
|
pub = @blog.view.publisher
|
306
327
|
system("ssh #{pub.user}@#{pub.server}")
|
data/lib/runeblog_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runeblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hal Fulton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: livetext
|