br_invoices_pdf 0.2.11 → 0.2.12.alpha.20
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80c8e2ed13a4011e976d90be116b43994fd245d5
|
4
|
+
data.tar.gz: d39f5714eb63d9efd9753ef4768a29bdbb07bc6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d299025a0047a893657b575b41becc462497544b8ccbe55d97b46ad3e7f54234c044409bb3e333c4b05f3913e573b80c79515bf700754909d67e47a964382993
|
7
|
+
data.tar.gz: 129d9d5d53b322f4dfe5c9f83b3a3100868e38af77eead1fa661c637e072675b7b0b82ef66f51d9078c20003aa242e751b21feca049db7102f2bb603d7303ad4
|
data/CHANGELOG.md
CHANGED
data/br_invoices_pdf.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_dependency 'barby', '~> 0.5.1'
|
27
27
|
spec.add_dependency 'chunky_png', '~> 1.3.8'
|
28
|
-
spec.add_dependency 'ox', '~> 2.8.
|
28
|
+
spec.add_dependency 'ox', '~> 2.8.4'
|
29
29
|
spec.add_dependency 'prawn', '~> 2.2.2'
|
30
30
|
spec.add_dependency 'prawn-table', '~> 0.2.1'
|
31
31
|
spec.add_dependency 'rqrcode', '~> 0.10.1'
|
@@ -29,7 +29,7 @@ module BrInvoicesPdf
|
|
29
29
|
|
30
30
|
def product_by(element)
|
31
31
|
FIELDS
|
32
|
-
.map { |(key, field)| [key, node_locate(element, field).force_encoding('UTF-8')] }
|
32
|
+
.map { |(key, field)| [key, node_locate(element, field).force_encoding('WINDOWS-1252').encode('UTF-8')] }
|
33
33
|
.to_h
|
34
34
|
end
|
35
35
|
private_class_method :product_by
|
@@ -27,7 +27,7 @@ module BrInvoicesPdf
|
|
27
27
|
|
28
28
|
def product_by(element)
|
29
29
|
FIELDS
|
30
|
-
.map { |(key, field)| [key, node_locate(element, field).force_encoding('UTF-8')] }
|
30
|
+
.map { |(key, field)| [key, node_locate(element, field).force_encoding('WINDOWS-1252').encode('UTF-8')] }
|
31
31
|
.to_h
|
32
32
|
end
|
33
33
|
private_class_method :product_by
|
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.
|
4
|
+
version: 0.2.12.alpha.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thiago Ribeiro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: barby
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 2.8.
|
48
|
+
version: 2.8.4
|
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.8.
|
55
|
+
version: 2.8.4
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: prawn
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,9 +298,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
298
298
|
version: '0'
|
299
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
300
|
requirements:
|
301
|
-
- - "
|
301
|
+
- - ">"
|
302
302
|
- !ruby/object:Gem::Version
|
303
|
-
version:
|
303
|
+
version: 1.3.1
|
304
304
|
requirements: []
|
305
305
|
rubyforge_project:
|
306
306
|
rubygems_version: 2.6.14
|