runeblog 0.1.17 → 0.1.19

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: a8f1101f28eb0da5d22f2e1585b49a0a7443041ffaa22848fe32e9f2f6213d3f
4
- data.tar.gz: 808bbc71b7abc1e8bc6cce5470c8912568a7d8fb166a285ea783f8db5a710999
3
+ metadata.gz: 5cfda98e39e2073d4ac837038637b3a5954e7ce08592409ce82e61637bf5b49e
4
+ data.tar.gz: '01950aabe9559d19eb43c79f91190218d7a1da0577d9c7776f948b0704ee51fe'
5
5
  SHA512:
6
- metadata.gz: e9ffb37ff118a8336a2568030aacc8873226879d461002457d28ee322f405601ba7a2a51dd76c17c725a5ee2cc4d4ff13833e593db6f2cbdd2b7cc5fea97a28a
7
- data.tar.gz: e3f626c123be7ba870e6ade22d19fe3cbaff016ca21206d84b72658f6e64e8eb9eebbb9e2fe7b521690cade73d37edea9a7cf61a9e49bdbf24ace94b1c6bbb62
6
+ metadata.gz: 0c0e90bc188f88f99a2f7a1bd384906b6b05f95c1cfa4d59a2fc555425bea785a039b2baffea7c3747053f28c366a37438fa72f9cb76c7d9e0cc5cd43d004031
7
+ data.tar.gz: 5cbce7b5be8a6d95b923f5b60cb677a6bdeab76386b3068e241e59e94e875156ee93029e65205e5739874fbc1ac103722479fb7e6b14721521f5d20754b469af
data/lib/runeblog.rb CHANGED
@@ -1,13 +1,13 @@
1
1
  require 'find'
2
2
  require 'livetext'
3
+
4
+ require 'version'
3
5
  require 'global'
4
6
  require 'helpers-blog'
5
7
  require 'default'
6
8
  require 'view'
7
9
  require 'publish'
8
10
  require 'post'
9
- require 'version'
10
-
11
11
 
12
12
  ###
13
13
 
@@ -37,22 +37,22 @@ class RuneBlog
37
37
  include Helpers
38
38
 
39
39
  def self.create_new_blog(dir = ".blog/data")
40
- puts "--- create_new_blog"
40
+ # puts "--- create_new_blog"
41
41
  raise ArgumentError unless dir.is_a?(String) && ! dir.empty?
42
42
  root_dir = Dir.pwd + "/" + dir
43
- puts "--- create: dir = #{dir} pwd = #{Dir.pwd} DotDir = #{DotDir} root_dir = #{root_dir}"
43
+ # puts "--- create: dir = #{dir} pwd = #{Dir.pwd} DotDir = #{DotDir} root_dir = #{root_dir}"
44
44
  raise BlogAlreadyExists if Dir.exist?(root_dir)
45
- puts "--- new dotfile"
45
+ # puts "--- new dotfile"
46
46
  new_dotfile(root: dir, current_view: "test_view")
47
- puts "--- create #{dir}"
47
+ # puts "--- create #{dir}"
48
48
  create_dir(dir)
49
49
  Dir.chdir(dir) do
50
- puts "--- in chdir: pwd = #{Dir.pwd}"
50
+ # puts "--- in chdir: pwd = #{Dir.pwd}"
51
51
  create_dir("views")
52
52
  create_dir("assets")
53
53
  create_dir("src")
54
54
  new_sequence
55
- puts "==== CREATED BLOG ==="
55
+ # puts "==== CREATED BLOG ==="
56
56
  end
57
57
  blog = self.new
58
58
  blog.create_view("test_view")
@@ -67,7 +67,7 @@ puts "==== CREATED BLOG ==="
67
67
  self.class.blog = self # Weird. Like a singleton - dumbass circular dependency?
68
68
  @root, @view_name, @editor =
69
69
  read_config(ConfigFile, :root, :current_view, :editor)
70
- puts "=== init root = #@root"
70
+ # puts "=== init root = #@root"
71
71
  @views = get_views
72
72
  @view = str2view(@view_name)
73
73
  @sequence = get_sequence
@@ -1,6 +1,6 @@
1
1
 
2
2
  class RuneBlog
3
- VERSION = "0.1.17"
3
+ VERSION = "0.1.19"
4
4
 
5
5
  Path = File.expand_path(File.join(File.dirname(__FILE__)))
6
6
  end
data/runeblog.gemspec CHANGED
@@ -3,7 +3,7 @@ require 'find'
3
3
 
4
4
  $LOAD_PATH << "lib"
5
5
 
6
- require "version"
6
+ require "runeblog_version"
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  system("rm -f *.gem")
data/test/general.rb CHANGED
@@ -21,7 +21,7 @@ class TestREPL < Minitest::Test
21
21
  def setup
22
22
  # To be strictly correct in testing (though slower),
23
23
  # run make_blog here.
24
- system("tar zcvf last-test.tgz .blog/ && rm -rf .blog")
24
+ # system("tar zcvf last-test.tgz .blog/ && rm -rf .blog")
25
25
  system("ruby test/make_blog.rb") if ARGV.first == "new"
26
26
  @blog = RuneBlog.new
27
27
  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.17
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
@@ -69,7 +69,7 @@ files:
69
69
  - lib/publish.rb
70
70
  - lib/repl.rb
71
71
  - lib/runeblog.rb
72
- - lib/version.rb
72
+ - lib/runeblog_version.rb
73
73
  - lib/view.rb
74
74
  - test/general.rb
75
75
  - test/make_blog.rb