chupa-text-decomposer-abiword 1.0.0 → 1.0.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: 85e517bb253e9bab59c0d50c6f03070de384ec80c565d14440f9b5f3c3c932e7
4
- data.tar.gz: 3e985c5cc8064397b328e7b08fbb58aafa60c306762ee0d224f4d574f1f2119d
3
+ metadata.gz: 859ada0af7c396a080ec92336d58203ddcc87bbf1f82c3beb4f47db31eebed5b
4
+ data.tar.gz: c3929b1cc964a3b97a8c7ce690ead7482c342a0296a210a013262aaf93955509
5
5
  SHA512:
6
- metadata.gz: 953de8b404ed9fe0770319e270ac20a619a06300cf2f4563b535af141549597b207e2e647ab7361df8862a1e68b756534bdef1196ecc4541c840d99fff6aec54
7
- data.tar.gz: 7a9af63ee45c59440ca527377aec7067d5085a4d8326cba89606d3cb33c4aa14a359ca744fec2fa73e5e50ff92cf389356124e9b2b03e8acbd677305a4afb3de
6
+ metadata.gz: f45d5a84b38180298864f8ec4829b2b21688205d8dfcf151390e426c9625bc0e453c182fac1b45553a798eec9c6bfb6a0a784c6b9fbcf18f558bee958396d8de
7
+ data.tar.gz: a131e344ec4d9e2f79ef08a00673fd564ddbe986e39611beedb14e0e666cb401102338d0c12264302138bea6e29a760a674398e53977969c0f094dcac268d815
@@ -22,7 +22,7 @@ end
22
22
 
23
23
  Gem::Specification.new do |spec|
24
24
  spec.name = "chupa-text-decomposer-abiword"
25
- spec.version = "1.0.0"
25
+ spec.version = "1.0.1"
26
26
  spec.homepage = "https://github.com/ranguba/chupa-text-decomposer-abiword"
27
27
  spec.authors = ["Sutou Kouhei"]
28
28
  spec.email = ["kou@clear-code.com"]
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.0.1: 2019-06-13
4
+
5
+ ### Improvements
6
+
7
+ * Increases score.
8
+
3
9
  ## 1.0.0: 2019-06-13
4
10
 
5
11
  The first release!!!
@@ -57,6 +57,14 @@ module ChupaText
57
57
  MIME_TYPES.include?(data.mime_type)
58
58
  end
59
59
 
60
+ def target_score(data)
61
+ if target?(data)
62
+ 10
63
+ else
64
+ nil
65
+ end
66
+ end
67
+
60
68
  def decompose(data)
61
69
  pdf_data = convert_to_pdf(data)
62
70
  return if pdf_data.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chupa-text-decomposer-abiword
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei