br_invoices_pdf 0.2.9 → 0.2.10

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: 7472449dbfd49809ef1ede1ce584175c68356f75
4
- data.tar.gz: 563d9368864093d278149f2ea8724ed0c648afd9
3
+ metadata.gz: 2d9f00c08f1277de93fc7968dc7a4273e9e4a38b
4
+ data.tar.gz: a1883c76099afc62dffd9a637b8f217a855e6f6b
5
5
  SHA512:
6
- metadata.gz: 3c7711036160acf3dcbe5448a4f1a295cbfac28a92f23bd9b524275549e1a61319eee848a6e8413afb7e130e9642dff3220ca445d7f21b56d147cec85a0d0f13
7
- data.tar.gz: 1f1a5f8bf450c4543e9c0d62d9021d078b2dee7a54348107231a17e1b7eaa3f1c0347e0c2f0c445b3653f772f66e91482d46c7f6331a83fcce87e36735e2bf25
6
+ metadata.gz: 1eefe09a457b9b4639f94a23c7aa43125bbfbc4bec82c4cd62a788c8baf7ea44a1ea98f8622ac963ddeda518a4c4b09031a4ad94d6f94ca8fd8fb62c73b4d362
7
+ data.tar.gz: 9278bfe5c374e4293f336dbaf830ab0602016db713dd1ee3040b761475a91a5b133524178373cfb05ebe4915767c21f0c98e17bfa84ca4234e2c4e93660ddb0e
data/.rubocop.yml CHANGED
@@ -31,4 +31,8 @@ Metrics/BlockLength:
31
31
 
32
32
  Style/PercentLiteralDelimiters:
33
33
  PreferredDelimiters:
34
- '%i': '()'
34
+ '%i': '()'
35
+
36
+ # TODO: Check when this bug is solved: https://github.com/bbatsov/rubocop/issues/5223
37
+ Style/FormatStringToken:
38
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## CHANGELOG
4
4
 
5
+ ### 0.2.10 [2017-12-12]
6
+ - [Corrigindo] Versão da gem Ox
7
+
5
8
  ### 0.2.9 [2017-11-24]
6
9
  - [Corrigindo] Format do CPF
7
10
 
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
3
  lib = File.expand_path('../lib', __FILE__)
@@ -24,19 +23,20 @@ Gem::Specification.new do |spec|
24
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
24
  spec.require_paths = ['lib']
26
25
 
27
- spec.add_dependency 'prawn', '~> 2.2.2'
28
- spec.add_dependency 'prawn-table', '~> 0.2.1'
29
- spec.add_dependency 'ox', '~> 2.5.0'
30
26
  spec.add_dependency 'barby', '~> 0.5.1'
31
27
  spec.add_dependency 'chunky_png', '~> 1.3.8'
28
+ spec.add_dependency 'ox', '~> 2.8.2'
29
+ spec.add_dependency 'prawn', '~> 2.2.2'
30
+ spec.add_dependency 'prawn-table', '~> 0.2.1'
32
31
  spec.add_dependency 'rqrcode', '~> 0.10.1'
33
32
 
34
33
  spec.add_development_dependency 'bundler', '~> 1.13'
34
+ spec.add_development_dependency 'byebug'
35
+ spec.add_development_dependency 'coveralls'
35
36
  spec.add_development_dependency 'rake', '~> 12.0'
37
+ spec.add_development_dependency 'reek'
36
38
  spec.add_development_dependency 'rspec', '~> 3.0'
37
- spec.add_development_dependency 'simplecov', '~> 0.14'
38
- spec.add_development_dependency 'coveralls'
39
39
  spec.add_development_dependency 'rubocop'
40
- spec.add_development_dependency 'reek'
41
- spec.add_development_dependency 'byebug'
40
+ spec.add_development_dependency 'simplecov', '~> 0.14'
42
41
  end
42
+ # rubocop:enable Metrics/BlockLength
@@ -63,6 +63,7 @@ module BrInvoicesPdf
63
63
  sat_params[:document_qr_code_signature]
64
64
  end
65
65
  private_class_method :generate_qr_code_string
66
+ # rubocop:enable Metrics/AbcSize
66
67
 
67
68
  def generate_barcodes(pdf, pdf_options)
68
69
  options = barcode_options(pdf, pdf_options[:page_width], pdf_options[:barcodes_size])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrInvoicesPdf
4
- VERSION = '0.2.9'
4
+ VERSION = '0.2.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_invoices_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Ribeiro
@@ -9,78 +9,78 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-11-24 00:00:00.000000000 Z
12
+ date: 2017-12-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: prawn
15
+ name: barby
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.2.2
20
+ version: 0.5.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: 2.2.2
27
+ version: 0.5.1
28
28
  - !ruby/object:Gem::Dependency
29
- name: prawn-table
29
+ name: chunky_png
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.2.1
34
+ version: 1.3.8
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: 0.2.1
41
+ version: 1.3.8
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: ox
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 2.5.0
48
+ version: 2.8.2
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 2.5.0
55
+ version: 2.8.2
56
56
  - !ruby/object:Gem::Dependency
57
- name: barby
57
+ name: prawn
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 0.5.1
62
+ version: 2.2.2
63
63
  type: :runtime
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.5.1
69
+ version: 2.2.2
70
70
  - !ruby/object:Gem::Dependency
71
- name: chunky_png
71
+ name: prawn-table
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 1.3.8
76
+ version: 0.2.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 1.3.8
83
+ version: 0.2.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rqrcode
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -110,49 +110,49 @@ dependencies:
110
110
  - !ruby/object:Gem::Version
111
111
  version: '1.13'
112
112
  - !ruby/object:Gem::Dependency
113
- name: rake
113
+ name: byebug
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: '12.0'
118
+ version: '0'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: '12.0'
125
+ version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
- name: rspec
127
+ name: coveralls
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: '3.0'
132
+ version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: '3.0'
139
+ version: '0'
140
140
  - !ruby/object:Gem::Dependency
141
- name: simplecov
141
+ name: rake
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.14'
146
+ version: '12.0'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0.14'
153
+ version: '12.0'
154
154
  - !ruby/object:Gem::Dependency
155
- name: coveralls
155
+ name: reek
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - ">="
@@ -166,21 +166,21 @@ dependencies:
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
- name: rubocop
169
+ name: rspec
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
172
+ - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '0'
174
+ version: '3.0'
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ">="
179
+ - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '0'
181
+ version: '3.0'
182
182
  - !ruby/object:Gem::Dependency
183
- name: reek
183
+ name: rubocop
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - ">="
@@ -194,19 +194,19 @@ dependencies:
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  - !ruby/object:Gem::Dependency
197
- name: byebug
197
+ name: simplecov
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ">="
200
+ - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: '0'
202
+ version: '0.14'
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">="
207
+ - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: '0.14'
210
210
  description:
211
211
  email:
212
212
  - thiago@pdvend.com.br