ydocx 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 1.1.7 / 10.05.2012
2
+
3
+ * Improved title detecting. skipped blank line.
4
+
1
5
  === 1.1.6 / 08.05.2012
2
6
 
3
7
  * Improved directory making in fachinfo format
data/README.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  == ydocx - © ywesee GmbH
2
2
 
3
3
  * https://github.com/zdavatz/ydocx
4
- * Parsing docx files with Ruby and output them as HTML.
4
+ * Parsing docx files with Ruby and output them as HTML and XML.
5
5
 
6
6
  == Supports
7
7
 
@@ -10,6 +10,11 @@
10
10
  * Lowercase letters, numbers
11
11
  * Umlaute
12
12
  * bold, italic, underline
13
+ * Images
14
+ ** wmf requires imagemagick and is only partially supported due to imagemagick
15
+ ** png files are copied 1:1
16
+
17
+ * works on Windows as well.
13
18
 
14
19
  == Usage
15
20
 
@@ -4,5 +4,5 @@
4
4
  require 'ydocx/document'
5
5
 
6
6
  module YDocx
7
- VERSION = '1.1.6'
7
+ VERSION = '1.1.7'
8
8
  end
@@ -61,7 +61,7 @@ module YDocx
61
61
  return nil
62
62
  end
63
63
  end
64
- if node.parent.previous.nil? and @indecies.empty?
64
+ if @indecies.empty? and !text.empty? and node.parent.previous.nil?
65
65
  # The first line as package name
66
66
  @indecies << {:text => 'Titel', :id => 'titel'}
67
67
  return markup(:h2, text, {:id => 'titel'})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydocx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-08 00:00:00.000000000 Z
12
+ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
16
- requirement: &13913800 !ruby/object:Gem::Requirement
16
+ requirement: &21948440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.10'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *13913800
24
+ version_requirements: *21948440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &13913380 !ruby/object:Gem::Requirement
27
+ requirement: &21948020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '2.13'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *13913380
35
+ version_requirements: *21948020
36
36
  description: ''
37
37
  email:
38
38
  - yasaka@ywesee.com, zdavatz@ywesee.com