packnga 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +1 -1
- data/doc/text/lgpl.txt +10 -12
- data/doc/text/news.textile +6 -0
- data/doc/text/release.textile +1 -0
- data/lib/packnga.rb +1 -1
- data/lib/packnga/document-task.rb +1 -1
- data/lib/packnga/reference-task.rb +12 -2
- data/lib/packnga/release-task.rb +1 -1
- data/lib/packnga/version.rb +3 -3
- data/lib/packnga/yard-task.rb +1 -1
- data/packnga.gemspec +1 -1
- data/test/run-test.rb +1 -1
- data/test/test-document-task.rb +1 -1
- data/test/test-reference-task.rb +1 -1
- data/test/test-release-task.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 848b1be64a579122d8a4eeccd48c61a90e4db116
|
4
|
+
data.tar.gz: ed45b3a765ae346c8fb0f75546c419d0559620d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f880d086539780e2e37b2e3bc6387d52b4577ab24a247b05dbfa52d2e5fc9e905d5bce12f5504538f9937c01d57e643342c80bf6ee27ec200f879ffd83f53c47
|
7
|
+
data.tar.gz: d0094013b6f63b583d0131d86cc39f79bfcafc623712aad58634d08bde367d199a30a2ad9dfa1bd35bd4fcdbaa074818b3c5c6c0c1e1d5b1a1d3a7c0fc17e3f0
|
data/Gemfile
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
source "https://rubygems.org/"
|
19
19
|
|
data/README.textile
CHANGED
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "English"
|
20
20
|
|
data/doc/text/lgpl.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 2.1, February 1999
|
3
3
|
|
4
4
|
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
5
|
-
|
5
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6
6
|
Everyone is permitted to copy and distribute verbatim copies
|
7
7
|
of this license document, but changing it is not allowed.
|
8
8
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
as the successor of the GNU Library Public License, version 2, hence
|
11
11
|
the version number 2.1.]
|
12
12
|
|
13
|
-
|
13
|
+
Preamble
|
14
14
|
|
15
15
|
The licenses for most software are designed to take away your
|
16
16
|
freedom to share and change it. By contrast, the GNU General Public
|
@@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a
|
|
112
112
|
former contains code derived from the library, whereas the latter must
|
113
113
|
be combined with the library in order to run.
|
114
114
|
|
115
|
-
|
115
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
116
116
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
117
117
|
|
118
118
|
0. This License Agreement applies to any software library or other
|
@@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based
|
|
146
146
|
on the Library (independent of the use of the Library in a tool for
|
147
147
|
writing it). Whether that is true depends on what the Library does
|
148
148
|
and what the program that uses the Library does.
|
149
|
-
|
149
|
+
|
150
150
|
1. You may copy and distribute verbatim copies of the Library's
|
151
151
|
complete source code as you receive it, in any medium, provided that
|
152
152
|
you conspicuously and appropriately publish on each copy an
|
@@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status
|
|
432
432
|
of all derivatives of our free software and of promoting the sharing
|
433
433
|
and reuse of software generally.
|
434
434
|
|
435
|
-
|
435
|
+
NO WARRANTY
|
436
436
|
|
437
437
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
438
438
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
@@ -455,7 +455,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
|
455
455
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
456
456
|
DAMAGES.
|
457
457
|
|
458
|
-
|
458
|
+
END OF TERMS AND CONDITIONS
|
459
459
|
|
460
460
|
How to Apply These Terms to Your New Libraries
|
461
461
|
|
@@ -476,7 +476,7 @@ convey the exclusion of warranty; and each file should have at least the
|
|
476
476
|
This library is free software; you can redistribute it and/or
|
477
477
|
modify it under the terms of the GNU Lesser General Public
|
478
478
|
License as published by the Free Software Foundation; either
|
479
|
-
version 2 of the License, or (at your option) any later version.
|
479
|
+
version 2.1 of the License, or (at your option) any later version.
|
480
480
|
|
481
481
|
This library is distributed in the hope that it will be useful,
|
482
482
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
@@ -485,7 +485,7 @@ convey the exclusion of warranty; and each file should have at least the
|
|
485
485
|
|
486
486
|
You should have received a copy of the GNU Lesser General Public
|
487
487
|
License along with this library; if not, write to the Free Software
|
488
|
-
Foundation, Inc.,
|
488
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
489
489
|
|
490
490
|
Also add information on how to contact you by electronic and paper mail.
|
491
491
|
|
@@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names:
|
|
500
500
|
Ty Coon, President of Vice
|
501
501
|
|
502
502
|
That's all there is to it!
|
503
|
-
|
504
|
-
|
data/doc/text/news.textile
CHANGED
data/doc/text/release.textile
CHANGED
data/lib/packnga.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
require "rake"
|
19
19
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "pathname"
|
20
20
|
require "packnga/yard-task"
|
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "erb"
|
20
20
|
require "gettext/tools"
|
@@ -168,7 +168,17 @@ module Packnga
|
|
168
168
|
po_file = "#{@po_dir}/#{language}/#{@spec.name}.po"
|
169
169
|
yard_po_file = "#{@po_dir}/#{language}.po"
|
170
170
|
yard_po_files << yard_po_file
|
171
|
-
|
171
|
+
namespace :po do
|
172
|
+
namespace language do
|
173
|
+
task :prepare do
|
174
|
+
if File.exist?(yard_po_file)
|
175
|
+
mkdir_p(File.dirname(po_file))
|
176
|
+
mv(yard_po_file, po_file)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
file yard_po_file => ["po:#{language}:prepare", po_file] do
|
172
182
|
cp(po_file, yard_po_file)
|
173
183
|
end
|
174
184
|
end
|
data/lib/packnga/release-task.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
module Packnga
|
20
20
|
# This class creates release tasks.
|
data/lib/packnga/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
3
|
# Copyright (C) 2011 Haruka Yoshihara <yoshihara@clear-code.com>
|
4
|
-
# Copyright (C) 2011-
|
4
|
+
# Copyright (C) 2011-2014 Kouhei Sutou <kou@clear-code.com>
|
5
5
|
#
|
6
6
|
# This library is free software; you can redistribute it and/or
|
7
7
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -14,9 +14,9 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
module Packnga
|
20
20
|
# Packnga version.
|
21
|
-
VERSION = "1.0.
|
21
|
+
VERSION = "1.0.1"
|
22
22
|
end
|
data/lib/packnga/yard-task.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "yard"
|
20
20
|
|
data/packnga.gemspec
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
base_dir = File.dirname(__FILE__)
|
19
19
|
$LOAD_PATH.unshift(File.expand_path("lib", base_dir))
|
data/test/run-test.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
$KCODE = "u" if RUBY_VERSION < "1.9"
|
19
19
|
|
data/test/test-document-task.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
class DocumentTaskTest < Test::Unit::TestCase
|
20
20
|
def teardown
|
data/test/test-reference-task.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
#
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
15
15
|
# License along with this library; if not, write to the Free Software
|
16
|
-
# Foundation, Inc.,
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
17
17
|
|
18
18
|
require "test/unit/rr"
|
19
19
|
require "tmpdir"
|
data/test/test-release-task.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#
|
15
15
|
# You should have received a copy of the GNU Lesser General Public
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc.,
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
19
|
require "test/unit/rr"
|
20
20
|
require "tmpdir"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packnga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Haruka Yoshihara
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -177,8 +177,8 @@ signing_key:
|
|
177
177
|
specification_version: 4
|
178
178
|
summary: An utility library to package i18n-ed library.
|
179
179
|
test_files:
|
180
|
-
- test/test-document-task.rb
|
181
|
-
- test/run-test.rb
|
182
180
|
- test/test-reference-task.rb
|
183
181
|
- test/test-release-task.rb
|
182
|
+
- test/test-document-task.rb
|
183
|
+
- test/run-test.rb
|
184
184
|
has_rdoc:
|