packnga 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.textile +2 -1
- data/doc/text/news.textile +6 -0
- data/lib/packnga/reference-task.rb +4 -4
- data/lib/packnga/version.rb +2 -2
- data/packnga.gemspec +1 -1
- metadata +5 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9086acd8c97e52dedd92cb898a4e82f874c2be9d
|
4
|
+
data.tar.gz: c0a5edd1ed90d5b820b6d6ff841b96d79f6403d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1a255f7c17d4f920cfcb738ae07b37ba232bc90939b10d134d920c4199a97fdd5bf752cc8845d7ac4297adeae8a00961d42392517372d51e48c5fd83837b87f
|
7
|
+
data.tar.gz: eae8e3420fd57852ead64b4bf67dcab19ea70d6d19197befb73d8e57524c022b1741602d467705d6c61a7da2bed9c206a10b500e3eae80693a9228adcdb83e75
|
data/README.textile
CHANGED
data/doc/text/news.textile
CHANGED
@@ -320,15 +320,15 @@ module Packnga
|
|
320
320
|
|
321
321
|
header_template = templates[:header]
|
322
322
|
if header_template
|
323
|
-
content = content.gsub(/<
|
324
|
-
"#{
|
323
|
+
content = content.gsub(/<div id="main".*?>/) do |main_div_start|
|
324
|
+
"#{main_div_start}\n#{header_template.result(binding)}\n"
|
325
325
|
end
|
326
326
|
end
|
327
327
|
|
328
328
|
footer_template = templates[:footer]
|
329
329
|
if footer_template
|
330
|
-
content = content.gsub(/<\/body/) do |
|
331
|
-
"\n#{footer_template.result(binding)}\n#{
|
330
|
+
content = content.gsub(/<\/div>\s*<\/body/m) do |main_div_end|
|
331
|
+
"\n#{footer_template.result(binding)}\n#{main_div_end}"
|
332
332
|
end
|
333
333
|
end
|
334
334
|
|
data/lib/packnga/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# Copyright (C) 2011 Haruka Yoshihara <yoshihara@clear-code.com>
|
4
4
|
# Copyright (C) 2011-2016 Kouhei Sutou <kou@clear-code.com>
|
5
|
-
# Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
5
|
+
# Copyright (C) 2014-2016 Masafumi Yokoyama <myokoym@gmail.com>
|
6
6
|
#
|
7
7
|
# This library is free software; you can redistribute it and/or
|
8
8
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -19,5 +19,5 @@
|
|
19
19
|
|
20
20
|
module Packnga
|
21
21
|
# Packnga version.
|
22
|
-
VERSION = "1.0.
|
22
|
+
VERSION = "1.0.4"
|
23
23
|
end
|
data/packnga.gemspec
CHANGED
@@ -64,7 +64,7 @@ Gem::Specification.new do |spec|
|
|
64
64
|
spec.require_paths = ["lib"]
|
65
65
|
|
66
66
|
spec.add_runtime_dependency("rake")
|
67
|
-
spec.add_runtime_dependency("yard", ">= 0.
|
67
|
+
spec.add_runtime_dependency("yard", ">= 0.9")
|
68
68
|
spec.add_runtime_dependency("gettext", ">= 3.1.3")
|
69
69
|
spec.add_development_dependency("test-unit")
|
70
70
|
spec.add_development_dependency("test-unit-notify")
|
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.4
|
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: 2016-
|
12
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -30,9 +30,6 @@ dependencies:
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 0.8.6.1
|
35
|
-
- - "<"
|
36
33
|
- !ruby/object:Gem::Version
|
37
34
|
version: '0.9'
|
38
35
|
type: :runtime
|
@@ -40,9 +37,6 @@ dependencies:
|
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
39
|
- - ">="
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 0.8.6.1
|
45
|
-
- - "<"
|
46
40
|
- !ruby/object:Gem::Version
|
47
41
|
version: '0.9'
|
48
42
|
- !ruby/object:Gem::Dependency
|
@@ -179,12 +173,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
173
|
version: '0'
|
180
174
|
requirements: []
|
181
175
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.5.
|
176
|
+
rubygems_version: 2.5.2
|
183
177
|
signing_key:
|
184
178
|
specification_version: 4
|
185
179
|
summary: An utility library to package i18n-ed library.
|
186
180
|
test_files:
|
187
|
-
- test/test-reference-task.rb
|
188
181
|
- test/run-test.rb
|
189
|
-
- test/test-release-task.rb
|
190
182
|
- test/test-document-task.rb
|
183
|
+
- test/test-release-task.rb
|
184
|
+
- test/test-reference-task.rb
|