invoice_printer_fonts 2.0.0.beta3 → 2.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
  SHA256:
3
- metadata.gz: 2c91c3af1915fc64bfab0f4e664c9ea62be306b7b866d64144265488466ed381
4
- data.tar.gz: d7b2fe13c381aa970641ff8bd7b1fd7eae72c6785ebd71063a2e64cc6429caf9
3
+ metadata.gz: 12b34922c9fac8fac2c1a074da6457260ca1d9861226e0704f0bbfb67064df5e
4
+ data.tar.gz: 0bfe3fde674fb886a02021c848f024bdcec266656628afb07892e6857a246cd2
5
5
  SHA512:
6
- metadata.gz: 8aabdafc971f1f449a25fb946cfda07475e8ab72b3c0b0b72c0e60c373d2b066e0898c582c1f3b2ac7cae0c1db90ebba5b66b5ad16ceca2c80f8a8c35ec3b658
7
- data.tar.gz: 6fdecb12fb040ae22f8011240564f53c500fd277a06d8798be5f5deefd56e1d2369b6a40834508b01be590e0762a303ffe605271e8e96e4dce3ab054d197cd67
6
+ metadata.gz: f046b9432b55a0e3bdd70d0dd99079d3175a42e1d81168beab1c64b32e9aa254e6e32168697211bd4ad3cae325525ef76978b6a0b80ea04091f848ee2683e6c3
7
+ data.tar.gz: 10066c8d60ab1ff2fb15bc94b2c7a38932a54573dffaafbebd110a8a078c80903cb31370f11b834262476734f94e400bdd5a15bdb20d66aacafc09027b236ea4
Binary file
@@ -1,5 +1,7 @@
1
1
  require 'invoice_printer'
2
2
 
3
+ # Only Regular and Bold versions are used in the template
4
+ # and therefore provided in the invoice_printer_fonts gem.
3
5
  class InvoicePrinter::Fonts
4
6
  ASSETS_PATH = File.expand_path('../../../assets', __FILE__)
5
7
 
@@ -13,8 +15,8 @@ class InvoicePrinter::Fonts
13
15
  {
14
16
  :normal => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Regular.ttf",
15
17
  :italic => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Regular.ttf",
16
- :bold => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Regular.ttf",
17
- :bold_italic => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Regular.ttf"
18
+ :bold => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Bold.ttf",
19
+ :bold_italic => "#{ASSETS_PATH}/fonts/opensans/OpenSans-Bold.ttf"
18
20
  }
19
21
  end
20
22
 
@@ -22,8 +24,8 @@ class InvoicePrinter::Fonts
22
24
  {
23
25
  :normal => "#{ASSETS_PATH}/fonts/overpass/Overpass-Regular.ttf",
24
26
  :italic => "#{ASSETS_PATH}/fonts/overpass/Overpass-Regular.ttf",
25
- :bold => "#{ASSETS_PATH}/fonts/overpass/Overpass-Regular.ttf",
26
- :bold_italic => "#{ASSETS_PATH}/fonts/overpass/Overpass-Regular.ttf"
27
+ :bold => "#{ASSETS_PATH}/fonts/overpass/Overpass-Bold.ttf",
28
+ :bold_italic => "#{ASSETS_PATH}/fonts/overpass/Overpass-Bold.ttf"
27
29
  }
28
30
  end
29
31
 
@@ -31,8 +33,8 @@ class InvoicePrinter::Fonts
31
33
  {
32
34
  :normal => "#{ASSETS_PATH}/fonts/roboto/Roboto-Regular.ttf",
33
35
  :italic => "#{ASSETS_PATH}/fonts/roboto/Roboto-Regular.ttf",
34
- :bold => "#{ASSETS_PATH}/fonts/roboto/Roboto-Regular.ttf",
35
- :bold_italic => "#{ASSETS_PATH}/fonts/roboto/Roboto-Regular.ttf"
36
+ :bold => "#{ASSETS_PATH}/fonts/roboto/Roboto-Bold.ttf",
37
+ :bold_italic => "#{ASSETS_PATH}/fonts/roboto/Roboto-Bold.ttf"
36
38
  }
37
39
  end
38
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoice_printer_fonts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Strzibny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-31 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: invoice_printer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.beta3
19
+ version: 2.2.0
20
20
  type: :runtime
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: 2.0.0.beta3
26
+ version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -62,10 +62,13 @@ files:
62
62
  - FONTS_LICENSE.txt
63
63
  - LICENSE.txt
64
64
  - assets/fonts/opensans/Apache-2.0.txt
65
+ - assets/fonts/opensans/OpenSans-Bold.ttf
65
66
  - assets/fonts/opensans/OpenSans-Regular.ttf
66
67
  - assets/fonts/overpass/OFL-1.1.txt
68
+ - assets/fonts/overpass/Overpass-Bold.ttf
67
69
  - assets/fonts/overpass/Overpass-Regular.ttf
68
70
  - assets/fonts/roboto/Apache-2.0.txt
71
+ - assets/fonts/roboto/Roboto-Bold.ttf
69
72
  - assets/fonts/roboto/Roboto-Regular.ttf
70
73
  - lib/invoice_printer/fonts.rb
71
74
  homepage: https://github.com/strzibny/invoice_printer
@@ -85,11 +88,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
88
  version: '2.4'
86
89
  required_rubygems_version: !ruby/object:Gem::Requirement
87
90
  requirements:
88
- - - ">"
91
+ - - ">="
89
92
  - !ruby/object:Gem::Version
90
- version: 1.3.1
93
+ version: '0'
91
94
  requirements: []
92
- rubygems_version: 3.0.3
95
+ rubygems_version: 3.2.3
93
96
  signing_key:
94
97
  specification_version: 4
95
98
  summary: Super simple PDF invoicing in pure Ruby