octopress-multilingual 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 4d606f06c9a133bc28afd0816e8140f5c0a305f2
4
- data.tar.gz: b44fe42aa80ac6e08777dffd3b1c6e2771c98ce0
3
+ metadata.gz: f88280a6ba9bc3da6a1d14232454780c116c1101
4
+ data.tar.gz: 9a111ba706ab49eb94ee5fedb61dca7111e086eb
5
5
  SHA512:
6
- metadata.gz: be20ea3349cde7b75f4bb85a5814f20aa470a66969d401074a119993e43d735931ebc1b0a042ad4ea0fd76c51c15baa35c4ca82d585ab30143ce0056f78c553d
7
- data.tar.gz: 2a9af131a1ab6fc0cbede092baf36a2dc5fbb56197d642615353ec2e550a5364fc5c55b56258654640792bb1409c61de5d8e678bafda8c0e9a369d3657282b64
6
+ metadata.gz: 6739a5a56c07b022fae9e1a5a37c3079376f604b1cef538acde7c40bd7fcb1c22b33181e3e053563d6c9cc320f8ef8c37dc6e7a29470d4838d5b90ba76b39a54
7
+ data.tar.gz: 9c5e311e5e2499896d99eb496821d030b09f40f42ad468e2c54e71d6e3b51d9aa90076cc4c3a581ecc83cbde15d25b42f1ef40a664f430149cc261f99be31e06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.2 (2015-02-10)
4
+ - Fix: Page permalinks were getting set to by language names.
5
+
3
6
  ### 1.0.1 (2015-02-06)
4
7
  - Fix: Ensure main language is in languages array.
5
8
 
@@ -59,7 +59,7 @@ module Jekyll
59
59
  end
60
60
 
61
61
  def permalink
62
- if permalink = permalink_orig && lang
62
+ if lang && permalink = permalink_orig
63
63
  data['permalink'].sub!(/:lang/, lang)
64
64
  permalink.sub(/:lang/, lang)
65
65
  else
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Multilingual
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-multilingual
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-07 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-hooks