jekyll-locales 0.1.4 → 0.1.5

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: f624b6ce22236cefd09c7a87d223595565a4d54e16eb99af05f8a3e870a514f8
4
- data.tar.gz: 740a7f2e5efe294d6be4d3ae2b5bd01aaa2171d4130497ac46adcde76866095e
3
+ metadata.gz: 5e1e9d8ecdf4cc772d076592e186830a038f6efde890bf3df4fc0fba88ccf840
4
+ data.tar.gz: 7c0f9126b109040cbf0629209103651ee34974dd72f1bd47b9eac995b666c567
5
5
  SHA512:
6
- metadata.gz: 3eca8c0b1d7ab98b58fd46a5f4445f66af25a0390a90d9501325a0b85d6c60244258b9e53f8117681fa97b30ff5acc980242ee00a0c3ab3de096deb1ad593dab
7
- data.tar.gz: 27f25f04d670cba30d79f7706c63b7fe9500affe6fd37098dc2c146bb260726c880891503820e8ddbb4e3cee3a8659136aba3e7af13cf3f06a10b1efdfd0df39
6
+ metadata.gz: db58ab601603d7fb0571e7932f092b62df6949d5956278f35554e72732351f6eeb9a03e80083debb5651faad30f39e8933e43f017ae19fae71196a539b06219b
7
+ data.tar.gz: 265e7024461aa7001bece672057fcb899947b11c07c7a43102b1955fa55e2ddb375405ff01b6e07a98e93bbf445b54cddb3ffc51afad019e98a07e39aca8fffc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-locales (0.1.4)
4
+ jekyll-locales (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -30,11 +30,13 @@ module Jekyll
30
30
  process_single
31
31
  end
32
32
 
33
- return unless locales?
34
-
35
- copy_redirector
36
- default_delete
37
- default_symlink
33
+ if locales?
34
+ copy_redirector
35
+ default_delete
36
+ default_symlink
37
+ else
38
+ self_symlink
39
+ end
38
40
  end
39
41
 
40
42
  private
@@ -120,5 +122,9 @@ module Jekyll
120
122
  def default_symlink
121
123
  FileUtils.ln_s(default_locale, default_destination)
122
124
  end
125
+
126
+ def self_symlink
127
+ FileUtils.ln_s('.', locale_destination)
128
+ end
123
129
  end
124
130
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Locales
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-locales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - f