jekyll-task-i18n 1.0.3 → 1.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585b7ce7e204ee64a7112c99d6d068f3be8f84861952662a4d852284854510a3
4
- data.tar.gz: cfcfd8c80633017306653540e1103c745b263025f2abcc4128557205801685fe
3
+ metadata.gz: 8c3feb5503aca93b8fe22a0032c612d7b031cabc9c7732634dc9b7019526f625
4
+ data.tar.gz: b011601d206d1298d1017d63c5be82dd0d9b67aae4abeab7a17594ffa2ac314d
5
5
  SHA512:
6
- metadata.gz: 8de29dcf9f73b51b44c607b48b9fce13d39b8127d73b64b87bcf27d78ac0f0e3f290760156b5fe143b140b8cc8da767dcb3e29e30b9d550df1669b662f7ae221
7
- data.tar.gz: d243fdd45958bd2aad7d16355a9fc8948cf16111d151dfb0423ae1c6c701436f9ddf8c5870c63731040e68dc329e65891114241d1cb9205846a92cdb436140b8
6
+ metadata.gz: 3468e2b3a4acdb38fcd88d3d694d3cfa09496e35739f6c6a432eed2df10f24f3b4239ee1bb3f90e5108cc66c8328784d768bc3b514b61d8503c7c16b3f67c5ad
7
+ data.tar.gz: 7cb8e15519a4995aa28419acfc289cfa58c582782b06f17d889f4138604a0bc180c9f88b68c505e00d41ef159ded473ce678b3af5393f8d012205744f572aa62
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014 The ruby-gettext project
1
+ # Copyright (C) 2014-2018 The ruby-gettext project
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or modify
4
4
  # it under the terms of the GNU Lesser General Public License as
@@ -45,7 +45,7 @@ Gem::Specification.new do |spec|
45
45
  spec.licenses = ["LGPLv2"]
46
46
  spec.require_paths = ["lib"]
47
47
 
48
- spec.add_runtime_dependency("gettext", ">= 3.1.1")
48
+ spec.add_runtime_dependency("gettext", ">= 3.2.8")
49
49
  spec.add_runtime_dependency("yard")
50
50
 
51
51
  spec.add_development_dependency("rake")
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014 The ruby-gettext project
1
+ # Copyright (C) 2014-2018 The ruby-gettext project
2
2
  # Copyright (C) 2013-2014 Droonga Project
3
3
  #
4
4
  # This library is free software; you can redistribute it and/or
@@ -105,7 +105,9 @@ module Jekyll
105
105
  end
106
106
  unless path.edit_po_file.exist?
107
107
  if path.po_file.exist?
108
- cp(path.po_file.to_s, path.edit_po_file.to_s)
108
+ msgcat("--output", path.edit_po_file.to_s,
109
+ "--update-po-revision-date",
110
+ path.po_file.to_s)
109
111
  else
110
112
  msginit("--input", path.pot_file.to_s,
111
113
  "--output", path.edit_po_file.to_s,
@@ -125,6 +127,9 @@ module Jekyll
125
127
  "--no-obsolete-entries",
126
128
  path.po_file.to_s,
127
129
  path.edit_po_file.to_s)
130
+ msgcat("--output", path.edit_po_file.to_s,
131
+ "--update-po-revision-date",
132
+ path.edit_po_file.to_s)
128
133
  end
129
134
  if path.all_po_file.exist?
130
135
  msgmerge("--output", path.edit_po_file.to_s,
@@ -133,6 +138,9 @@ module Jekyll
133
138
  "--no-obsolete-entries",
134
139
  path.all_po_file.to_s,
135
140
  path.edit_po_file.to_s)
141
+ msgcat("--output", path.edit_po_file.to_s,
142
+ "--update-po-revision-date",
143
+ path.edit_po_file.to_s)
136
144
  end
137
145
  end
138
146
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014-2015 The ruby-gettext project
1
+ # Copyright (C) 2014-2018 The ruby-gettext project
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or modify
4
4
  # it under the terms of the GNU Lesser General Public License as
@@ -17,7 +17,7 @@
17
17
  module Jekyll
18
18
  module Task
19
19
  class I18n
20
- VERSION = "1.0.3"
20
+ VERSION = "1.0.4"
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-task-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: 3.2.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.1.1
26
+ version: 3.2.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: yard
29
29
  requirement: !ruby/object:Gem::Requirement