leandocument 0.0.6 → 0.0.7

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.
data/README.md CHANGED
@@ -21,6 +21,11 @@ and
21
21
 
22
22
  ## ChangeLog
23
23
 
24
+ ### 0.0.7
25
+
26
+ - Bug fix
27
+ - Support on Heroku
28
+
24
29
  ### 0.0.6
25
30
 
26
31
  - Skip render if target file not found.
@@ -21,11 +21,11 @@ module Leandocument
21
21
  # ==== Return
22
22
  # New Leandocument Document class.
23
23
  def initialize(options = {})
24
- self.lang = options[:lang] || setting_value("default_locale")
25
24
  self.base_path = options[:base_path] || Dir.pwd
25
+ self.settings = options[:settings] || load_config
26
+ self.lang = options[:lang] || setting_value("settings", "default_locale")
26
27
  self.web_path = "#{options[:web_path]}/"
27
28
  self.indent = options[:indent] || 1
28
- self.settings = options[:settings] || load_config
29
29
  self.extension = get_extension
30
30
  self.filename = options[:filename] || file_name
31
31
  self.childs = []
@@ -1,3 +1,3 @@
1
1
  module Leandocument
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leandocument
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Atsushi Nakatsugawa