invoice_printer_fonts 2.2.0.alpha1 → 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: 6e90edf1627aa46650e617888f2ce97b601870b2d428e4ba02b1a84c54bf1bb8
4
- data.tar.gz: c0f2eee0ab8f3d5de0c0b031d0b0f9cd840d30e5d7eee5a22f96d7f890aaafb2
3
+ metadata.gz: 12b34922c9fac8fac2c1a074da6457260ca1d9861226e0704f0bbfb67064df5e
4
+ data.tar.gz: 0bfe3fde674fb886a02021c848f024bdcec266656628afb07892e6857a246cd2
5
5
  SHA512:
6
- metadata.gz: 60ccfd370e7dd401cb1b8ead4b3f143a3ebe9bbcab7c6544b442dbf4123214a862f8d54e4c7da3580b2249ab2fad932d8d1ecded2fb37950469cd009fb7e8a87
7
- data.tar.gz: c085ab46bd3a589a804007369b70083dbf33915a6496fb60f040935e296fb6502857626a3b952a508c464ba2e124e2c04d8a758399287404e44b9368a7ce15bc
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.2.0.alpha1
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: 2021-04-16 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.2.0.alpha1
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.2.0.alpha1
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.2.0.rc.1
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