yomu2 0.3.0 → 0.3.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: 6b01b6c47c318f92b499b25df734fad15f37a79b
4
- data.tar.gz: 71430d5a68f0db97d3a80242d9a86f67aa6116da
3
+ metadata.gz: fec26e349d6a5a1b2374608ef8fda493e2afe958
4
+ data.tar.gz: 9d23b401c2d58fd4f6ab8310b28aea3c85333da0
5
5
  SHA512:
6
- metadata.gz: 0d29eeb6f7026c32e9bb7bf9c0d6a8f56eeede3af8eb6a4126b61753e343f97d37cd7b7bccd4a46e1ca9fe38c7569f840a9ea6a51c5f34d36641fc3fd232834c
7
- data.tar.gz: af9252b76bd976c3e643fda9345f0232eca67a8e7924a6ece11f34fe0f2589236003deadf3f616eaa24d8ee9717e533e2b6b58d6055a5bc198c06589cc1cb729
6
+ metadata.gz: c87a2e1865146a3045da906372f1f70713c2ac65984fc8f0dab706b168d928e87005c60b04e1906b3a10463eab5e33e13ddd104e4616029fb80689ba9347cd91
7
+ data.tar.gz: 58e7c73ba1bf3e297cddf08c2973024888a33aa5a27c0c7e9342e7013d4e9233dd8163a5da4d064f467d2dc1a5cbe95923e2870ce69a6d41e3683fb6cbff61b3
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
3
+ - 2.3
4
+ - 2.4
5
+ - 2.5
@@ -3,7 +3,7 @@ require 'yomu/version'
3
3
  require 'net/http'
4
4
  require 'mime/types'
5
5
  require 'json'
6
-
6
+ require 'time'
7
7
  require 'socket'
8
8
  require 'stringio'
9
9
 
@@ -1,3 +1,3 @@
1
1
  class Yomu
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.2'
3
3
  end
@@ -97,7 +97,7 @@ describe Yomu do
97
97
 
98
98
  describe '.creation_date' do
99
99
  let(:yomu) { Yomu.new 'spec/samples/sample.pages' }
100
- it 'should retur Time' do
100
+ it 'should return Time' do
101
101
  expect( yomu.creation_date ).to be_a Time
102
102
  end
103
103
  end
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'yomu/version'
5
4
 
@@ -8,20 +7,20 @@ Gem::Specification.new do |spec|
8
7
  spec.version = Yomu::VERSION
9
8
  spec.authors = ['Erol Fornoles', 'Diego Silva']
10
9
  spec.email = ['erol.fornoles@gmail.com', 'diego@alpha-exchange.com']
11
- spec.description = %q{Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)}
12
- spec.summary = %q{Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)}
13
- spec.homepage = 'http://erol.github.com/yomu'
10
+ spec.description = 'Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)'
11
+ spec.summary = 'Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)'
12
+ spec.homepage = 'https://github.com/AlphaExchange/yomu2'
14
13
  spec.license = 'MIT'
15
14
 
16
- spec.files = `git ls-files`.split($/)
15
+ spec.files = `git ls-files -z`.split("\x0")
17
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
18
  spec.require_paths = ['lib']
20
19
 
21
- spec.add_runtime_dependency 'mime-types', '~> 1.23'
22
- spec.add_runtime_dependency 'json', '~> 1.8'
20
+ spec.add_runtime_dependency 'json', '~> 2.1'
21
+ spec.add_runtime_dependency 'mime-types', '~> 3.1'
23
22
 
24
23
  spec.add_development_dependency 'bundler', '~> 1.3'
25
- spec.add_development_dependency 'rake'
24
+ spec.add_development_dependency 'rake', '~> 12.3'
26
25
  spec.add_development_dependency 'rspec', '~> 3.4'
27
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yomu2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erol Fornoles
@@ -9,36 +9,36 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-09 00:00:00.000000000 Z
12
+ date: 2018-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: mime-types
15
+ name: json
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.23'
20
+ version: '2.1'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.23'
27
+ version: '2.1'
28
28
  - !ruby/object:Gem::Dependency
29
- name: json
29
+ name: mime-types
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.8'
34
+ version: '3.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.8'
41
+ version: '3.1'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: bundler
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -57,16 +57,16 @@ dependencies:
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: '12.3'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: '12.3'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ files:
108
108
  - spec/samples/sample.pages
109
109
  - spec/yomu_spec.rb
110
110
  - yomu2.gemspec
111
- homepage: http://erol.github.com/yomu
111
+ homepage: https://github.com/AlphaExchange/yomu2
112
112
  licenses:
113
113
  - MIT
114
114
  metadata: {}
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.5.1
131
+ rubygems_version: 2.5.2
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Read text and metadata from files and documents (.doc, .docx, .pages, .odt,