jekyll-localization 0.0.8 → 0.0.9

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/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  = Revision history for jekyll-localization
2
2
 
3
+ == 0.0.9 [2010-12-21]
4
+
5
+ * Set YAML data too when alternative language content will be used.
6
+
3
7
  == 0.0.8 [2010-11-24]
4
8
 
5
9
  * Overwrites Page#process to get compatibility with jekyll 0.8.0.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to jekyll-localization version 0.0.8
5
+ This documentation refers to jekyll-localization version 0.0.9
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -91,6 +91,11 @@ module Jekyll
91
91
  end
92
92
  }
93
93
 
94
+ # Set YAML data too unless it is already set.
95
+ self.data.each { |k, v|
96
+ data[k] = v unless data.has_key?(k)
97
+ }
98
+
94
99
  self.data = data
95
100
  end
96
101
 
@@ -6,7 +6,7 @@ module Jekyll
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 0
9
- TINY = 8
9
+ TINY = 9
10
10
 
11
11
  class << self
12
12
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-localization
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jens Wille
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-24 00:00:00 +01:00
19
+ date: 2010-12-21 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency