arquivo 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -2
- data/Gemfile.lock +12 -12
- data/Rakefile +4 -2
- data/arquivo.gemspec +8 -10
- data/bin/console +4 -3
- data/lib/arquivo.rb +14 -23
- data/lib/arquivo/bigquery.rb +18 -11
- data/lib/arquivo/extrato.rb +1 -17
- data/lib/arquivo/mp3.rb +1 -2
- data/lib/arquivo/noise.rb +4 -8
- data/lib/arquivo/pdf.rb +16 -1
- data/lib/arquivo/sheets.rb +3 -7
- data/lib/arquivo/version.rb +1 -1
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a76870038b98ebfbe1908469787efdc14668f43f9ca378f4006b46f1542bc79
|
4
|
+
data.tar.gz: 67a5eaf4bfd86f4f10efa00e5f63ff02de4f9907d2f1f666b46ea4fb1d4f58b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 914e9b3d7986502ac35b0db15b81f5cc1c0a0fa884531adc74d617f9f2a8af832eb5e218edc38f8cf7ae0b6ffe41b15a0f0b4726744ae43234dedb0a4026a4a3
|
7
|
+
data.tar.gz: f7d6be4dd6d8dd3a31af523b1ed20c3b03ef076954acc88cc222d9da645df8609ab4847768e57642dc634bbab0dde89c1a5780388bac8490c8ddabe8fbc74f5c
|
data/Gemfile
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
4
6
|
|
5
7
|
# Specify your gem's dependencies in arquivo.gemspec
|
6
8
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
arquivo (0.
|
5
|
-
fastimage
|
6
|
-
google-api-client
|
4
|
+
arquivo (0.3.0)
|
5
|
+
fastimage
|
6
|
+
google-api-client
|
7
7
|
google-cloud-bigquery
|
8
8
|
i18n
|
9
|
-
pdf-reader
|
10
|
-
thor
|
11
|
-
yard
|
9
|
+
pdf-reader
|
10
|
+
thor
|
11
|
+
yard
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
faraday (1.0.1)
|
24
24
|
multipart-post (>= 1.2, < 3)
|
25
25
|
fastimage (2.1.7)
|
26
|
-
google-api-client (0.40.
|
26
|
+
google-api-client (0.40.2)
|
27
27
|
addressable (~> 2.5, >= 2.5.1)
|
28
28
|
googleauth (~> 0.9)
|
29
29
|
httpclient (>= 2.8.1, < 3.0)
|
@@ -43,7 +43,7 @@ GEM
|
|
43
43
|
google-cloud-env (1.3.2)
|
44
44
|
faraday (>= 0.17.3, < 2.0)
|
45
45
|
google-cloud-errors (1.0.1)
|
46
|
-
googleauth (0.
|
46
|
+
googleauth (0.13.0)
|
47
47
|
faraday (>= 0.17.3, < 2.0)
|
48
48
|
jwt (>= 1.4, < 3.0)
|
49
49
|
memoist (~> 0.16)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
signet (~> 0.14)
|
53
53
|
hashery (2.1.2)
|
54
54
|
httpclient (2.8.3)
|
55
|
-
i18n (1.8.
|
55
|
+
i18n (1.8.3)
|
56
56
|
concurrent-ruby (~> 1.0)
|
57
57
|
jwt (2.2.1)
|
58
58
|
memoist (0.16.2)
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
faraday (>= 0.17.3, < 2.0)
|
80
80
|
jwt (>= 1.5, < 3.0)
|
81
81
|
multi_json (~> 1.10)
|
82
|
-
thor (0.
|
82
|
+
thor (1.0.1)
|
83
83
|
ttfunk (1.6.2.1)
|
84
84
|
uber (0.1.0)
|
85
85
|
yard (0.9.25)
|
@@ -89,8 +89,8 @@ PLATFORMS
|
|
89
89
|
|
90
90
|
DEPENDENCIES
|
91
91
|
arquivo!
|
92
|
-
bundler
|
92
|
+
bundler
|
93
93
|
rake
|
94
94
|
|
95
95
|
BUNDLED WITH
|
96
|
-
1.
|
96
|
+
2.1.2
|
data/Rakefile
CHANGED
data/arquivo.gemspec
CHANGED
@@ -11,8 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ['hernanirvaz@gmail.com']
|
12
12
|
spec.homepage = 'https://github.com/ph1341c118/arquivo'
|
13
13
|
|
14
|
-
spec.summary = 'Processa documentos do condominio ph1341c118 '
|
15
|
-
'para arquivo.'
|
14
|
+
spec.summary = 'Processa documentos do condominio ph1341c118 para arquivo.'
|
16
15
|
spec.description = spec.summary
|
17
16
|
spec.description += ' Pode tambem segmentar PDFs e MINUTAS. ' \
|
18
17
|
'Tendo os documentos em pastas separadas, pode ainda ' \
|
@@ -26,21 +25,20 @@ Gem::Specification.new do |spec|
|
|
26
25
|
# The `git ls-files -z` loads the files in the
|
27
26
|
# RubyGem that have been added into git.
|
28
27
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
29
|
-
`git ls-files -z`.split("\x0")
|
30
|
-
.reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
31
29
|
end
|
32
30
|
spec.bindir = 'exe'
|
33
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
32
|
spec.require_paths = ['lib']
|
35
33
|
|
36
|
-
spec.add_development_dependency 'bundler'
|
34
|
+
spec.add_development_dependency 'bundler'
|
37
35
|
spec.add_development_dependency 'rake'
|
38
36
|
|
39
|
-
spec.add_dependency 'fastimage'
|
40
|
-
spec.add_dependency 'google-api-client'
|
37
|
+
spec.add_dependency 'fastimage'
|
38
|
+
spec.add_dependency 'google-api-client'
|
41
39
|
spec.add_dependency 'google-cloud-bigquery'
|
42
40
|
spec.add_dependency 'i18n'
|
43
|
-
spec.add_dependency 'pdf-reader'
|
44
|
-
spec.add_dependency 'thor'
|
45
|
-
spec.add_dependency 'yard'
|
41
|
+
spec.add_dependency 'pdf-reader'
|
42
|
+
spec.add_dependency 'thor'
|
43
|
+
spec.add_dependency 'yard'
|
46
44
|
end
|
data/bin/console
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
require
|
4
|
-
require
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'arquivo'
|
5
6
|
|
6
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +11,5 @@ require "arquivo"
|
|
10
11
|
# require "pry"
|
11
12
|
# Pry.start
|
12
13
|
|
13
|
-
require
|
14
|
+
require 'irb'
|
14
15
|
IRB.start(__FILE__)
|
data/lib/arquivo.rb
CHANGED
@@ -19,10 +19,8 @@ module Arquivo
|
|
19
19
|
|
20
20
|
# @abstract CLI tarefas segmentar e arquivar
|
21
21
|
class CLI < Thor
|
22
|
-
desc 'mp3 MINUTA', 'processa MINUTA criando pasta '
|
23
|
-
|
24
|
-
option :tempos, type: :array, default: [],
|
25
|
-
desc: 'lista tempos para segmentar MINUTA, ex: [[h:]m:]s'
|
22
|
+
desc 'mp3 MINUTA', 'processa MINUTA criando pasta com segmentos para arquivo'
|
23
|
+
option :tempos, type: :array, default: [], desc: 'lista tempos para segmentar MINUTA, ex: [[h:]m:]s'
|
26
24
|
# segmenta minuta segundo lista tempos
|
27
25
|
#
|
28
26
|
# @param [String] minuta ficheiro audio a segmentar
|
@@ -36,15 +34,14 @@ module Arquivo
|
|
36
34
|
f.segmenta_minuta(options[:tempos])
|
37
35
|
end
|
38
36
|
|
39
|
-
desc 'pdf EXTRATO', 'processa EXTRATO criando pasta '
|
40
|
-
'com documentos para arquivo'
|
37
|
+
desc 'pdf EXTRATO', 'processa EXTRATO criando pasta com documentos para arquivo'
|
41
38
|
# segmenta extrato limpando publicidade
|
42
39
|
#
|
43
40
|
# @param [String] extrato pdf a segmentar
|
44
41
|
def pdf(extrato)
|
45
42
|
return unless File.exist?(extrato) && File.ftype(extrato) == 'file'
|
46
43
|
|
47
|
-
f = C118pdf.new(extrato,
|
44
|
+
f = C118pdf.new(extrato, {})
|
48
45
|
return unless f.processa_extrato?
|
49
46
|
|
50
47
|
system "mkdir -p #{f.base}"
|
@@ -63,7 +60,7 @@ module Arquivo
|
|
63
60
|
def dsh(dashboard)
|
64
61
|
return unless File.exist?(dashboard) && File.ftype(dashboard) == 'file'
|
65
62
|
|
66
|
-
C118pdf.new(dashboard,
|
63
|
+
C118pdf.new(dashboard, {}).faz_dashboard
|
67
64
|
end
|
68
65
|
|
69
66
|
desc 'big', 'processa dados bigquery c118'
|
@@ -72,22 +69,16 @@ module Arquivo
|
|
72
69
|
C118bigquery.new.processa_big
|
73
70
|
end
|
74
71
|
|
75
|
-
desc 'dir PASTA', 'processa faturas/recibos/extratos/minutas '
|
76
|
-
|
77
|
-
option :fuzz,
|
78
|
-
|
79
|
-
option :quality, type: :numeric, default: 15,
|
80
|
-
desc: 'compress jpg N% -> scanned pdf (less=low quality)'
|
72
|
+
desc 'dir PASTA', 'processa faturas/recibos/extratos/minutas e cria arquivos c118'
|
73
|
+
# opcoes para compressao de imagens em PDFs
|
74
|
+
option :fuzz, type: :numeric, default: 29, desc: 'fuzz trim jpg N-1, escolhe menor -> scanned pdf'
|
75
|
+
option :quality, type: :numeric, default: 15, desc: 'compress jpg N% -> scanned pdf (less=low quality)'
|
81
76
|
|
82
|
-
|
83
|
-
|
84
|
-
option :sound,
|
85
|
-
|
86
|
-
|
87
|
-
option :amount, type: :numeric, default: 0.00001,
|
88
|
-
desc: 'qtd ruido a ser removido'
|
89
|
-
option :rate, type: :numeric, default: 16,
|
90
|
-
desc: 'sample rate - radio-16k, CD-44.1k, PC-48k, pro-96k'
|
77
|
+
# opcoes para compressao de audio
|
78
|
+
option :threshold, type: :numeric, default: 9, desc: 'limiar maximo para silencio, 0% = silencio puro'
|
79
|
+
option :sound, type: :numeric, default: 1, desc: 'segundos de som para terminar silencio'
|
80
|
+
option :amount, type: :numeric, default: 0.00001, desc: 'qtd ruido a ser removido'
|
81
|
+
option :rate, type: :numeric, default: 16, desc: 'sample rate - radio-16k, CD-44.1k, PC-48k, pro-96k'
|
91
82
|
# arquiva pasta de documentos c118
|
92
83
|
#
|
93
84
|
# @param [String] pasta contem os documentos para arquivar
|
data/lib/arquivo/bigquery.rb
CHANGED
@@ -22,26 +22,33 @@ module Arquivo
|
|
22
22
|
def processa_big
|
23
23
|
# folha c118-contas
|
24
24
|
s = '1PbiMrtTtqGztZMhe3AiJbDS6NQE9o3hXebnQEFdt954'
|
25
|
-
a = folhas.get_spreadsheet_values(s, 'cbd!AJ2')
|
26
|
-
|
27
|
-
|
28
|
-
.values.flatten.join(',')
|
29
|
-
puts 'processamento bigquery feito para ano ' + a +
|
30
|
-
": [del_bal,del_hise,ins_bal,ins_hise] #{sql_big(a, i)}"
|
25
|
+
a = folhas.get_spreadsheet_values(s, 'cbd!AJ2').values.flatten[0]
|
26
|
+
i = folhas.get_spreadsheet_values(s, 'bal!R2:R').values.flatten.join(',')
|
27
|
+
puts 'processamento bigquery feito para ano ' + a + ": [del_bal,del_hise,ins_bal,ins_hise] #{sql_big(a, i)}"
|
31
28
|
end
|
32
29
|
|
33
|
-
# executa comandos DML
|
30
|
+
# executa comandos DML para processa no bigquery
|
34
31
|
#
|
35
32
|
# @return [Array<Integer>] numero linhas afetadas pelos DMLs
|
36
33
|
def sql_big(ano, lst)
|
37
34
|
[dml('delete FROM arquivo.bal WHERE ano=' + ano),
|
38
35
|
dml('delete FROM arquivo.hise WHERE ano=' + ano),
|
39
|
-
dml(
|
40
|
-
|
41
|
-
dml('INSERT arquivo.hise(ano,dr,tag,descricao,valor) ' \
|
42
|
-
'select * from arquivo.vhe where ano=' + ano)]
|
36
|
+
dml("INSERT arquivo.bal (#{col_bal}) VALUES" + lst),
|
37
|
+
dml("INSERT arquivo.hise(#{col_hise}) select * from arquivo.vhe where ano=" + ano)]
|
43
38
|
end
|
44
39
|
|
40
|
+
# @return [String] colunas da tabela bal no bigquery
|
41
|
+
def col_bal
|
42
|
+
'data,entidade,documento,descricao,valor,tag,dr,banco,conta,ano,id4,dref,daa,paga,desb'
|
43
|
+
end
|
44
|
+
|
45
|
+
# @return [String] colunas da tabela hise no bigquery
|
46
|
+
def col_hise
|
47
|
+
'ano,dr,tag,descricao,valor'
|
48
|
+
end
|
49
|
+
|
50
|
+
# executa comando DML (Data Manipulation Language) no bigquery
|
51
|
+
#
|
45
52
|
# @return [Integer] numero linhas afetadas pelo DML
|
46
53
|
def dml(sql)
|
47
54
|
job = big.query_job(sql)
|
data/lib/arquivo/extrato.rb
CHANGED
@@ -4,7 +4,7 @@ require 'pdf-reader'
|
|
4
4
|
|
5
5
|
module Arquivo
|
6
6
|
# permite processar documentos PDF
|
7
|
-
class C118pdf
|
7
|
+
class C118pdf
|
8
8
|
# @return [String] nome do documento
|
9
9
|
attr_reader :file
|
10
10
|
# @return [String] extensao do documento
|
@@ -128,21 +128,5 @@ module Arquivo
|
|
128
128
|
puts "#{nome}-extrato"
|
129
129
|
nome_extrato
|
130
130
|
end
|
131
|
-
|
132
|
-
# cria PDF do dashboard
|
133
|
-
def faz_dashboard
|
134
|
-
c = 'gs -sDEVICE=pdfwrite ' \
|
135
|
-
'-dNOPAUSE -dBATCH -dQUIET -dPDFSETTINGS=/printer ' \
|
136
|
-
'-sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -dAutoRotatePages=/All'
|
137
|
-
system "#{c} -sOutputFile=#{base}-a4.pdf \"#{file}\" #{O2}"
|
138
|
-
puts "#{base}-a4"
|
139
|
-
end
|
140
|
-
|
141
|
-
# segmenta PDF pelas suas paginas
|
142
|
-
def split
|
143
|
-
system "pdftk #{file} burst output #{base}/pg%04d-#{base}.pdf;" \
|
144
|
-
"rm -f #{base}/*.txt"
|
145
|
-
puts "#{base}-split"
|
146
|
-
end
|
147
131
|
end
|
148
132
|
end
|
data/lib/arquivo/mp3.rb
CHANGED
@@ -17,8 +17,7 @@ module Arquivo
|
|
17
17
|
# @param [String] mp3 MP3 c118
|
18
18
|
# @param [Hash] opt parametrizar MINUTA
|
19
19
|
# @option opt [Numeric] :amount (0.00001) qtd ruido a ser removido,
|
20
|
-
# @option opt [Numeric] :rate (16) sample rate - radio-16k, CD-44.1k,
|
21
|
-
# PC-48k, pro-96k
|
20
|
+
# @option opt [Numeric] :rate (16) sample rate - radio-16k, CD-44.1k, PC-48k, pro-96k
|
22
21
|
# @return [C118mp3] MP3 c118
|
23
22
|
def initialize(mp3, opt)
|
24
23
|
@file = mp3
|
data/lib/arquivo/noise.rb
CHANGED
@@ -31,16 +31,12 @@ module Arquivo
|
|
31
31
|
|
32
32
|
# @param pasta (see CLI#dir)
|
33
33
|
# @param [Hash] opt parametrizar JPG, MINUTA
|
34
|
-
# @option opt [Numeric] :fuzz (29) trim jpg N-1, escolhe menor ->
|
35
|
-
#
|
36
|
-
# @option opt [Numeric] :
|
37
|
-
# (less=low quality)
|
38
|
-
# @option opt [Numeric] :threshold (9) limiar maximo para silencio,
|
39
|
-
# 0% = silencio puro
|
34
|
+
# @option opt [Numeric] :fuzz (29) trim jpg N-1, escolhe menor -> scanned pdf
|
35
|
+
# @option opt [Numeric] :quality (15) compress jpg N% -> scanned pdf (less=low quality)
|
36
|
+
# @option opt [Numeric] :threshold (9) limiar maximo para silencio, 0% = silencio puro
|
40
37
|
# @option opt [Numeric] :sound (1) segundos de som para terminar silencio
|
41
38
|
# @option opt [Numeric] :amount (0.00001) qtd ruido a ser removido,
|
42
|
-
# @option opt [Numeric] :rate (16) sample rate - radio-16k, CD-44.1k,
|
43
|
-
# PC-48k, pro-96k
|
39
|
+
# @option opt [Numeric] :rate (16) sample rate - radio-16k, CD-44.1k, PC-48k, pro-96k
|
44
40
|
# @return [C118dir] pasta de documentos c118
|
45
41
|
def initialize(dir, opt)
|
46
42
|
c = Dir.glob(File.join(dir, '*'))
|
data/lib/arquivo/pdf.rb
CHANGED
@@ -7,7 +7,7 @@ I18n.config.available_locales = :pt
|
|
7
7
|
|
8
8
|
module Arquivo
|
9
9
|
# permite processar documentos PDF
|
10
|
-
class C118pdf
|
10
|
+
class C118pdf
|
11
11
|
# @!group processamento
|
12
12
|
# processa pdf para arquivo
|
13
13
|
#
|
@@ -143,5 +143,20 @@ module Arquivo
|
|
143
143
|
"pdftk tmp/zip/#{base}.pdf " \
|
144
144
|
"stamp tmp/stamp-#{id}.pdf output #{o} #{O2}"
|
145
145
|
end
|
146
|
+
|
147
|
+
# cria PDF do dashboard
|
148
|
+
def faz_dashboard
|
149
|
+
c = 'gs -sDEVICE=pdfwrite ' \
|
150
|
+
'-dNOPAUSE -dBATCH -dQUIET -dPDFSETTINGS=/printer ' \
|
151
|
+
'-sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -dAutoRotatePages=/All'
|
152
|
+
system "#{c} -sOutputFile=#{base}-a4.pdf \"#{file}\" #{O2}"
|
153
|
+
puts "#{base}-a4"
|
154
|
+
end
|
155
|
+
|
156
|
+
# segmenta PDF pelas suas paginas
|
157
|
+
def split
|
158
|
+
system "pdftk #{file} burst output #{base}/pg%04d-#{base}.pdf;rm -f #{base}/*.txt"
|
159
|
+
puts "#{base}-split"
|
160
|
+
end
|
146
161
|
end
|
147
162
|
end
|
data/lib/arquivo/sheets.rb
CHANGED
@@ -28,19 +28,15 @@ module Arquivo
|
|
28
28
|
z = Google::Auth::UserAuthorizer.new(i, s, f)
|
29
29
|
@folhas = Google::Apis::SheetsV4::SheetsService.new
|
30
30
|
@folhas.client_options.application_name = 'c118-arquivo'
|
31
|
-
@folhas.authorization = z.get_credentials('default') ||
|
32
|
-
new_credentials(z, 'urn:ietf:wg:oauth:2.0:oob')
|
31
|
+
@folhas.authorization = z.get_credentials('default') || new_credentials(z, 'urn:ietf:wg:oauth:2.0:oob')
|
33
32
|
end
|
34
33
|
|
35
34
|
# inicializar OAuth2 authorization abrindo URL e copiando novo codigo
|
36
35
|
#
|
37
36
|
# @return [Google::Auth::UserAuthorizer] OAuth2 credentials
|
38
37
|
def new_credentials(aut, oob)
|
39
|
-
puts 'Open URL and copy code after authorization, in <codigo-aqui>',
|
40
|
-
|
41
|
-
aut.get_and_store_credentials_from_code(user_id: 'default',
|
42
|
-
code: '<codigo-aqui>',
|
43
|
-
base_url: oob)
|
38
|
+
puts 'Open URL and copy code after authorization, in <codigo-aqui>', aut.get_authorization_url(base_url: oob)
|
39
|
+
aut.get_and_store_credentials_from_code(user_id: 'default', code: '<codigo-aqui>', base_url: oob)
|
44
40
|
end
|
45
41
|
end
|
46
42
|
end
|
data/lib/arquivo/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arquivo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hernâni Rodrigues Vaz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,30 +42,30 @@ dependencies:
|
|
42
42
|
name: fastimage
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: google-api-client
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: google-cloud-bigquery
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,44 +98,44 @@ dependencies:
|
|
98
98
|
name: pdf-reader
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: thor
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
117
|
+
version: '0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: yard
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0
|
131
|
+
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0
|
138
|
+
version: '0'
|
139
139
|
description: Processa documentos do condominio ph1341c118 para arquivo. Pode tambem
|
140
140
|
segmentar PDFs e MINUTAS. Tendo os documentos em pastas separadas, pode ainda criar
|
141
141
|
arquivos apropriados.
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
190
|
+
rubygems_version: 3.1.2
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: Processa documentos do condominio ph1341c118 para arquivo.
|