plaintext 0.1.0 → 0.2.0

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: a474b4e8e63d06f2d83a97a7ff09c3b3375b27ed
4
- data.tar.gz: 2cc7395ee7ab12c5588b9c187823ba7e126d91bd
3
+ metadata.gz: c04f6f06ab6a16b423c2a74ddb38685a49a23372
4
+ data.tar.gz: 8dc49ce59bde01f25983b982323889a512fa900f
5
5
  SHA512:
6
- metadata.gz: 7afd62607f1f46c95278952591f6bda1325ea153b1006dc0092cd0128b615ffa4a11668315084c327541fca5591e5195d30c2635e51ca7a4391c67bd89df8b8d
7
- data.tar.gz: a64aa765178280422de0a05d201ee11b2779649184ff2d72572e223c2e1bf160ce1c0f12b256e59c8ae2b102bcba699e7fd051205326c80d8dfd51b6690aae65
6
+ metadata.gz: 13876311c960330abc0596ccc09a5eb172feca1101fa154386182bb04c7cfe6ca5f2b8fb4a408ffa658fbe0cbc616e29c8770c2a0680ec11064e950a75eae19d
7
+ data.tar.gz: 50f4d40bcb4bfb257b4e280e081cea291a633203746c322c028e6dcacd53b68f0e5c50da6ede80bdeb0ae5a7c300c0ddb38694b4ee97d6ed8343ae81e5c8a69e
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.2.0] - 2018-12-22
10
+ ### Changed
11
+ - relaxed Nokogiri dependency to '~> 1.8' for Redmine 4 (which uses 1.9)
12
+
13
+ ## [0.1.0] - 2018-02-15
14
+ - Initial release
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # plaintext
1
+ # plaintext [![Build Status](https://travis-ci.org/planio-gmbh/plaintext.svg?branch=master)](https://travis-ci.org/planio-gmbh/plaintext)
2
2
 
3
3
  This gem wraps command line tools to extract plain text from typical files such as
4
4
 
@@ -47,10 +47,10 @@ your needs.
47
47
  Then load that configuration file in an initializer. Add the following lines to `config/initializers/plaintext.rb`:
48
48
 
49
49
  ```ruby
50
- file_name = File.join([Rails.root.to_s, 'config', 'plaintext'])
51
- if File.file?(file_name)
52
- config_file = File.read(file_name)
53
- Plaintext::Configuration.load(config_file)
50
+ path = Rails.root.join 'config', 'plaintext.yml'
51
+ if File.file?(path)
52
+ config = File.read(path)
53
+ Plaintext::Configuration.load(config)
54
54
  end
55
55
  ````
56
56
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plaintext
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -12,15 +12,14 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = 'Extract plain text from most common office documents.'
13
13
  spec.description = "Extract text from common office files. Based on the file's content type a command line tool is selected to do the job."
14
14
  spec.homepage = 'https://github.com/planio-gmbh/plaintext'
15
- spec.license = 'GPL-2.0'
16
-
15
+
17
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
17
  spec.bindir = "exe"
19
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
19
  spec.require_paths = ["lib"]
21
20
 
22
21
  spec.add_dependency 'rubyzip', '~> 1.2.1'
23
- spec.add_dependency 'nokogiri', '~> 1.8.1'
22
+ spec.add_dependency 'nokogiri', '~> 1.8'
24
23
  spec.add_dependency 'activesupport', '>2.2.1 '
25
24
 
26
25
  spec.add_development_dependency "bundler", "~> 1.10"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaintext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Krämer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-02-15 00:00:00.000000000 Z
13
+ date: 2018-12-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubyzip
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: 1.8.1
35
+ version: '1.8'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: 1.8.1
42
+ version: '1.8'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: activesupport
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +107,7 @@ files:
107
107
  - ".gitignore"
108
108
  - ".rspec"
109
109
  - ".travis.yml"
110
+ - CHANGELOG
110
111
  - Gemfile
111
112
  - LICENSE
112
113
  - README.md
@@ -136,8 +137,7 @@ files:
136
137
  - plaintext.gemspec
137
138
  - plaintext.yml.example
138
139
  homepage: https://github.com/planio-gmbh/plaintext
139
- licenses:
140
- - GPL-2.0
140
+ licenses: []
141
141
  metadata: {}
142
142
  post_install_message:
143
143
  rdoc_options: []
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements: []
157
157
  rubyforge_project:
158
- rubygems_version: 2.6.13
158
+ rubygems_version: 2.4.5.5
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Extract plain text from most common office documents.