opener-pos-tagger 2.1.1 → 2.1.2

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
  SHA1:
3
- metadata.gz: 80ec8069d4c1890a8d2b7ecdaa701c19d0734870
4
- data.tar.gz: 532bf8459370aeb8d8156caa4f3a07231a6efb7e
3
+ metadata.gz: db3d7e471312f6f899cca86ecce1d71c4f53c185
4
+ data.tar.gz: 26bcd05ff494b1ea31ed2e6c9178eb0284faac01
5
5
  SHA512:
6
- metadata.gz: e607af97829002ff07f436e300f7aa5facc1ce0675fbe31736ce3d5a322cf5479f96cbf8615be4acd003289558056489d3652e362b0802e6c69af47f8bb717c5
7
- data.tar.gz: cf05156f800dd0a7c10dcf4e03e88b8adf2776d24e15e065b6b5ceab6b1fd4e8217b443a917d91bab6bed15bafabaabb483265fad59417705b2b7e41a9769a8b
6
+ metadata.gz: 6ac22c19c88e911bf47b1e710d05324f9c12d283c15f5a5bed4c04d6d1b2639b595d67b5e698862dbd5886e6ad30c42003a5a7419988f9e9440e4e9820b77859
7
+ data.tar.gz: 1376e0ec57001b311ce658ff1a48d8aff50e98ab4b7bd6757ecbefd6cd69edb1bb37b7816736d04ed66411d71f0f9f476a08a9344817aa16310791ffdee3ce74
@@ -25,7 +25,10 @@ module Opener
25
25
  add_errors_layer
26
26
  end
27
27
  add_error
28
- return document.to_xml(:encoding => "UTF-8")
28
+
29
+ xml = !!document.encoding ? document.to_xml : document.to_xml(:encoding => "UTF-8")
30
+
31
+ return xml
29
32
  end
30
33
 
31
34
  ##
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class POSTagger
3
- VERSION = "2.1.1"
3
+ VERSION = "2.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-pos-tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com