jekyll-localization 0.0.7 → 0.0.8

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.8 [2010-11-24]
4
+
5
+ * Overwrites Page#process to get compatibility with jekyll 0.8.0.
6
+
3
7
  == 0.0.7 [2010-10-14]
4
8
 
5
9
  * Added filter "local_posts" to get posts in the language of the current page
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to jekyll-localization version 0.0.7
5
+ This documentation refers to jekyll-localization version 0.0.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -147,6 +147,16 @@ module Jekyll
147
147
  File.open(path, 'w') { |f| f.write(output) }
148
148
  end
149
149
 
150
+ alias_method :_localization_original_process, :process
151
+
152
+ # Overwrites the original method to filter the language extension from
153
+ # basename
154
+ def process(name)
155
+ self.ext = File.extname(name)
156
+ self.basename = name[0 .. -self.ext.length-1].
157
+ sub(/#{Localization::LANG_EXT_RE}\z/, '')
158
+ end
159
+
150
160
  end
151
161
 
152
162
  module Helpers
@@ -6,7 +6,7 @@ module Jekyll
6
6
 
7
7
  MAJOR = 0
8
8
  MINOR = 0
9
- TINY = 7
9
+ TINY = 8
10
10
 
11
11
  class << self
12
12
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-localization
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 7
9
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jens Wille
@@ -15,16 +16,18 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-10-14 00:00:00 +02:00
19
+ date: 2010-11-24 00:00:00 +01:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: jekyll-rendering
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ">="
27
29
  - !ruby/object:Gem::Version
30
+ hash: 3
28
31
  segments:
29
32
  - 0
30
33
  version: "0"
@@ -61,29 +64,33 @@ rdoc_options:
61
64
  - README
62
65
  - --line-numbers
63
66
  - --inline-source
67
+ - --all
64
68
  - --charset
65
69
  - UTF-8
66
- - --all
67
70
  require_paths:
68
71
  - lib
69
72
  required_ruby_version: !ruby/object:Gem::Requirement
73
+ none: false
70
74
  requirements:
71
75
  - - ">="
72
76
  - !ruby/object:Gem::Version
77
+ hash: 3
73
78
  segments:
74
79
  - 0
75
80
  version: "0"
76
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
+ none: false
77
83
  requirements:
78
84
  - - ">="
79
85
  - !ruby/object:Gem::Version
86
+ hash: 3
80
87
  segments:
81
88
  - 0
82
89
  version: "0"
83
90
  requirements: []
84
91
 
85
92
  rubyforge_project:
86
- rubygems_version: 1.3.6
93
+ rubygems_version: 1.3.7
87
94
  signing_key:
88
95
  specification_version: 3
89
96
  summary: Jekyll plugin that adds localization features to the rendering engine.