receipts 2.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,49 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: receipts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-03-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: prawn
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.3.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 3.0.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.3.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 3.0.0
33
- - !ruby/object:Gem::Dependency
34
- name: prawn-table
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: 0.2.1
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: 0.2.1
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
47
12
  description: Receipts for your Rails application that works with any payment provider.
48
13
  email:
49
14
  - excid3@gmail.com
@@ -51,6 +16,7 @@ executables: []
51
16
  extensions: []
52
17
  extra_rdoc_files: []
53
18
  files:
19
+ - ".standard.yml"
54
20
  - CHANGELOG.md
55
21
  - Gemfile
56
22
  - LICENSE.txt
@@ -63,11 +29,22 @@ files:
63
29
  - examples/statement.pdf
64
30
  - lib/receipts.rb
65
31
  - lib/receipts/base.rb
32
+ - lib/receipts/fonts/Inter-Bold.ttf
33
+ - lib/receipts/fonts/Inter-Regular.ttf
34
+ - lib/receipts/fonts/OFL.txt
66
35
  - lib/receipts/invoice.rb
36
+ - lib/receipts/pdf/document.rb
37
+ - lib/receipts/pdf/font.rb
38
+ - lib/receipts/pdf/geometry.rb
39
+ - lib/receipts/pdf/image.rb
40
+ - lib/receipts/pdf/inline_format.rb
41
+ - lib/receipts/pdf/table.rb
42
+ - lib/receipts/pdf/text_layout.rb
43
+ - lib/receipts/pdf/true_type.rb
44
+ - lib/receipts/pdf/writer.rb
67
45
  - lib/receipts/receipt.rb
68
46
  - lib/receipts/statement.rb
69
47
  - lib/receipts/version.rb
70
- - receipts.gemspec
71
48
  homepage: https://github.com/excid3/receipts
72
49
  licenses:
73
50
  - MIT
@@ -75,7 +52,6 @@ metadata:
75
52
  homepage_uri: https://github.com/excid3/receipts
76
53
  source_code_uri: https://github.com/excid3/receipts
77
54
  changelog_uri: https://github.com/excid3/receipts/blob/master/CHANGELOG.md
78
- post_install_message:
79
55
  rdoc_options: []
80
56
  require_paths:
81
57
  - lib
@@ -83,15 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
59
  requirements:
84
60
  - - ">="
85
61
  - !ruby/object:Gem::Version
86
- version: '0'
62
+ version: '2.7'
87
63
  required_rubygems_version: !ruby/object:Gem::Requirement
88
64
  requirements:
89
65
  - - ">="
90
66
  - !ruby/object:Gem::Version
91
67
  version: '0'
92
68
  requirements: []
93
- rubygems_version: 3.5.4
94
- signing_key:
69
+ rubygems_version: 4.0.21
95
70
  specification_version: 4
96
71
  summary: Receipts for your Rails application that works with any payment provider.
97
72
  test_files: []
data/receipts.gemspec DELETED
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/receipts/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "receipts"
7
- spec.version = Receipts::VERSION
8
- spec.authors = ["Chris Oliver"]
9
- spec.email = ["excid3@gmail.com"]
10
-
11
- spec.summary = "Receipts for your Rails application that works with any payment provider."
12
- spec.description = "Receipts for your Rails application that works with any payment provider."
13
- spec.homepage = "https://github.com/excid3/receipts"
14
- spec.license = "MIT"
15
-
16
- spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = spec.homepage
18
- spec.metadata["changelog_uri"] = "https://github.com/excid3/receipts/blob/master/CHANGELOG.md"
19
-
20
- # Specify which files should be added to the gem when it is released.
21
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
- `git ls-files -z`.split("\x0").reject do |f|
24
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
25
- end
26
- end
27
- spec.bindir = "exe"
28
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
- spec.require_paths = ["lib"]
30
-
31
- spec.add_dependency "prawn", ">= 1.3.0", "< 3.0.0"
32
- spec.add_dependency "prawn-table", "~> 0.2.1"
33
- end