doc2text 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b9b5aeaa63d276696f0f4f716242b181d8d3aef2e47861053c03f9623cdf498
4
- data.tar.gz: a9ac2a3e0314334dda782f8ce8ef0d5a0691015ae70da0cc7a7fd79b2d6d7cd2
3
+ metadata.gz: 663416db967e6c9132ab88b2d6e0c4d4d33ea36b33b3500326d0305b8bd79c94
4
+ data.tar.gz: 5616b74043b0ae414dbd7bad6443c909604133027fffb755076d1e858a02dd3b
5
5
  SHA512:
6
- metadata.gz: 88fcdc3ade712a061c62641dd7713274c676f41d37c7020348ad401e0e7af3a86b07a3726a057870396ee68a290867fccf635d3191c8376b45850507e2f566e9
7
- data.tar.gz: a96c1f4cbfbb42079f5e5d6eea757531d7d7e852e01724c40cc58f94ee5ebd27e700bdffc221cc7c7202a3686a6f3c40d8a5e153f07dcdca7aa4fd542b13eac9
6
+ metadata.gz: 8e385c4c43971dc0983f1e45dc3d1359b285d59a3ec324f3335b6672eaea410bd06445b4e8b6c72d82b98ee1c4ab028a427b3e4a6d9966f8576bd2d3c01c765a
7
+ data.tar.gz: 8e09d6756667deca7b86798a65b8dac073f77c23ae2d75d532381b2d73332575c8f54b20372462214aa499a9cc1481892a3b3318a466a545e7f939f192570be0
@@ -21,7 +21,7 @@ module Doc2Text
21
21
 
22
22
  def end_element_namespace(name, prefix = nil, uri = nil)
23
23
  if @current_node.parent and @current_node.parent.office_text?
24
- @output << @current_node.expand
24
+ @output.write @current_node.expand
25
25
  @current_node.delete
26
26
  end
27
27
  @current_node = @current_node.parent
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc2text
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valentin Aitken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-14 00:00:00.000000000 Z
11
+ date: 2019-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -52,7 +52,8 @@ dependencies:
52
52
  version: 1.2.2
53
53
  description: Parses odt to markdown
54
54
  email: valentin@nalisbg.com
55
- executables: []
55
+ executables:
56
+ - doc2text
56
57
  extensions: []
57
58
  extra_rdoc_files: []
58
59
  files: