packnga 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
  SHA1:
3
- metadata.gz: 0355fdb54babe9a2352848c2b2eae9683a614aa0
4
- data.tar.gz: f72acd04887a63e9feea74fd6b8b161dc7dd140d
3
+ metadata.gz: 9086acd8c97e52dedd92cb898a4e82f874c2be9d
4
+ data.tar.gz: c0a5edd1ed90d5b820b6d6ff841b96d79f6403d1
5
5
  SHA512:
6
- metadata.gz: c3da5798658e27a7a4da3783dcb2e7f9a543471b537f0da49695dd99eb6c7a6f0b908afea9a26147813be49bad63a2b83afc07244ca21a92e15d91cd50af4e69
7
- data.tar.gz: 06c0e15fcdeff45631a5f44662e7921c0d3502ad3e76af41f1aef47dab13dd963971243f61959be2e02c35a8db74838cd0f83d635b4c02972f43fdad6da5a755
6
+ metadata.gz: e1a255f7c17d4f920cfcb738ae07b37ba232bc90939b10d134d920c4199a97fdd5bf752cc8845d7ac4297adeae8a00961d42392517372d51e48c5fd83837b87f
7
+ data.tar.gz: eae8e3420fd57852ead64b4bf67dcab19ea70d6d19197befb73d8e57524c022b1741602d467705d6c61a7da2bed9c206a10b500e3eae80693a9228adcdb83e75
@@ -40,7 +40,8 @@ h2. Documents
40
40
 
41
41
  h2. Mailing list
42
42
 
43
- * comming soon...
43
+ * English: "groonga-talk":http://lists.sourceforge.net/mailman/listinfo/groonga-talk
44
+ * Japanese: "groonga-dev":http://lists.osdn.me/mailman/listinfo/groonga-dev
44
45
 
45
46
  h2. Thanks
46
47
 
@@ -1,5 +1,11 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#1-0-4). 1.0.4: 2016-12-07
4
+
5
+ h3. Improvements
6
+
7
+ * Supported YARD 0.9. YARD 0.8 or earlier isn't supported.
8
+
3
9
  h2(#1-0-3). 1.0.3: 2016-11-14
4
10
 
5
11
  h3. Fixes
@@ -320,15 +320,15 @@ module Packnga
320
320
 
321
321
  header_template = templates[:header]
322
322
  if header_template
323
- content = content.gsub(/<body(?:.*?)>/) do |body_start|
324
- "#{body_start}\n#{header_template.result(binding)}\n"
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 |body_end|
331
- "\n#{footer_template.result(binding)}\n#{body_end}"
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
 
@@ -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.3"
22
+ VERSION = "1.0.4"
23
23
  end
@@ -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.8.6.1", "< 0.9")
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.3
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-11-14 00:00:00.000000000 Z
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.1
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