rakali 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61880376d29fc0fdb0368399bc35d6dcd5fe2c29
4
- data.tar.gz: fcbdb2a0aedfaf6b35bdaa198c104a509208533f
3
+ metadata.gz: cecffbfec2462ddcd3859923599fa16680ea7331
4
+ data.tar.gz: c09b0a2add3793a8f02b3ec88a7413613c9bbdf6
5
5
  SHA512:
6
- metadata.gz: 4d5350972bd0a27a3fb2665a27f8da0aba715a4b6f411fb41f43d02132194f188689d61778bbc6326f29e03d7e2e017c6ecb2dd1e55405f4e5f542cf3103fe62
7
- data.tar.gz: 0b1e9ff6bcd298c6a0d593cda0433afa717c157e7308b020192ca6b51dffcae2119ec95904a381bdef706eaf8ce4e42c21d98aedbd952ea07a2ea73e1d35c802
6
+ metadata.gz: 1768d9530d2a2de035237548852399c4b4bc1c1ceb12d0f01ec94ab43ec08096449306199f5ecd2d794053d07c790ac31bdf5f2e45769b4dc07d2930efed0b88
7
+ data.tar.gz: bee23522cb306f598561cfd96ffb5a5c14027d3d42c0483df75d29d93210498069fa76a37c2c6fa6e56f916034cd368d4ce8960ae27c361f363bde0cbcb24307
@@ -8,12 +8,7 @@ module Rakali
8
8
  'from' => { 'format' => 'md' },
9
9
  'to' => { 'folder' => nil, 'format' => 'html' },
10
10
  'schema' => 'schemata/default.json',
11
- 'strict' => false,
12
- 'templates' => 'rakali/templates',
13
- 'csl' => 'rakali/csl',
14
- 'bibliography' => 'rakali/bibliography',
15
- 'filters' => 'rakali/filters',
16
- 'writers' => 'rakali/writers'
11
+ 'strict' => false
17
12
  }
18
13
 
19
14
  attr_accessor :config, :documents, :errors
@@ -26,7 +21,7 @@ module Rakali
26
21
  @config = Utils.deep_merge_hashes(DEFAULTS, config)
27
22
 
28
23
  # print configuration
29
- Rakali.logger.info "Starting:", "Reading configuration... \n#{to_yaml}"
24
+ Rakali.logger.info "Configuration:", to_yaml
30
25
 
31
26
  from_folder = @config.fetch('from').fetch('folder')
32
27
  from_format = @config.fetch('from').fetch('format')
@@ -57,7 +52,8 @@ module Rakali
57
52
  end
58
53
 
59
54
  def to_yaml
60
- config.to_yaml
55
+ yaml = config.to_yaml.gsub(/---\n/, '').split("\n")
56
+ yaml.join("\n ")
61
57
  end
62
58
  end
63
59
  end
@@ -77,7 +77,7 @@ module Rakali
77
77
  #
78
78
  # Returns the formatted message
79
79
  def message(topic, message)
80
- formatted_topic(topic) + message.to_s.gsub(/---\n/, '')
80
+ formatted_topic(topic) + message.to_s
81
81
  end
82
82
 
83
83
  # Public: Format the topic
@@ -1,3 +1,3 @@
1
1
  module Rakali
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakali
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner