octopress-multilingual 1.1.0 → 1.1.1

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: 981b8a85ae89b0b5e014752f4a7aa40f91e7fb57
4
- data.tar.gz: f072ab8273a2e0768b726c6fd842d67bd3df279d
3
+ metadata.gz: 1e686430fdd82cfe9d2a087a3e2ca8ddb46cbf00
4
+ data.tar.gz: 310ab73b3121f5bb638208cd62ef8245ec0b9d6f
5
5
  SHA512:
6
- metadata.gz: ca81dc779eca08eee26031d3a211916c13f8c0a4b5b7702abfc190c01215c9804b6e53e3fdb4ae70cd343bbd57d3ef89bae1c85f8465389517c69da112314404
7
- data.tar.gz: 372f2fff3287ce3498303f0cc9af335d1638d43ea0c593cab5665e07a4b2fe44701284d671fb93c5ae3b42c41c0fa6e1e87849969629005da42834970f7015a9
6
+ metadata.gz: 1f40e26fe6d5f38ba627486aeaf644d5adb2e106b0dc33457eb07ab089b9e5d594f5c1e521ab9b2b189774ac963e1fb970afca6090d918d7b188fea05169d476
7
+ data.tar.gz: 000fe172c2185a760a440acdc2166c4970374c6edb6a3455b83823cadc88058d3feb78d5f797e03184116e1afab9d8f8a5edf5d9232077046b9cef16fce4503b
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.1.1 (2015-02-18)
4
+ - Minor: Now site languages array always lists primary language first.
5
+
3
6
  ### 1.1.0 (2015-02-16)
4
7
  - New: Tags and Categories are now also filtered by language.
5
8
 
@@ -67,7 +67,7 @@ module Octopress
67
67
  def languages
68
68
  @languages ||= begin
69
69
  languages = site.posts.dup.concat(site.pages).select(&:lang).group_by(&:lang).keys
70
- (languages << main_language).uniq
70
+ (languages.unshift(main_language)).uniq
71
71
  end
72
72
  end
73
73
 
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Multilingual
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
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.1.0
4
+ version: 1.1.1
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-16 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octopress-hooks