invoice_printer_fonts 2.2.0.alpha1 → 2.3.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: 6e90edf1627aa46650e617888f2ce97b601870b2d428e4ba02b1a84c54bf1bb8
4
- data.tar.gz: c0f2eee0ab8f3d5de0c0b031d0b0f9cd840d30e5d7eee5a22f96d7f890aaafb2
3
+ metadata.gz: 90993b628851a42773d9173c648661f39eb2d8a941aa5be4734e6e70234beb61
4
+ data.tar.gz: 1582e775c058f8d554381ac1de2727b4fb353ac2c12eea27fe9b51d2f591086b
5
5
  SHA512:
6
- metadata.gz: 60ccfd370e7dd401cb1b8ead4b3f143a3ebe9bbcab7c6544b442dbf4123214a862f8d54e4c7da3580b2249ab2fad932d8d1ecded2fb37950469cd009fb7e8a87
7
- data.tar.gz: c085ab46bd3a589a804007369b70083dbf33915a6496fb60f040935e296fb6502857626a3b952a508c464ba2e124e2c04d8a758399287404e44b9368a7ce15bc
6
+ metadata.gz: 9419e4150f81f7f162aedf2690219c853cefcea80dd6fea14cfb792e2849dafa78261afcde839bb8771f766e18ba99864b60c7edeca04cdfdaafd7347a763f93
7
+ data.tar.gz: 1abe7d4cdc60c25a10be1129d2ac9b7edcfd3d5ee5d86685436b82dcaddf4cc1d949fbcb199c3d974860f019242e6ea133f6f3dc2bdf7c44fd915baff2f6587a
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.2.0.alpha1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Strzibny
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-16 00:00:00.000000000 Z
11
+ date: 2023-02-11 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.2.0.alpha1
19
+ version: 2.3.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.2.0.alpha1
26
+ version: 2.3.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
@@ -74,7 +77,7 @@ licenses:
74
77
  - OFL 1.1
75
78
  - Apache 2.0
76
79
  metadata: {}
77
- post_install_message:
80
+ post_install_message:
78
81
  rdoc_options: []
79
82
  require_paths:
80
83
  - lib
@@ -85,12 +88,12 @@ 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.2.0.rc.1
93
- signing_key:
95
+ rubygems_version: 3.3.3
96
+ signing_key:
94
97
  specification_version: 4
95
98
  summary: Super simple PDF invoicing in pure Ruby
96
99
  test_files: []