webtranslateit-payday 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitattributes +1 -0
- data/.github/dependabot.yml +11 -0
- data/.github/workflows/ci.yml +53 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +11 -0
- data/.rubocop_todo.yml +22 -0
- data/CHANGELOG.md +76 -0
- data/Gemfile +3 -0
- data/Guardfile +10 -0
- data/README.md +175 -0
- data/Rakefile +12 -0
- data/fonts/NotoSans-Bold.ttf +0 -0
- data/fonts/NotoSans-Regular.ttf +0 -0
- data/lib/generators/payday/setup/USAGE +30 -0
- data/lib/generators/payday/setup/setup_generator.rb +44 -0
- data/lib/generators/payday/setup/templates/invoice.rb +5 -0
- data/lib/generators/payday/setup/templates/line_item.rb +5 -0
- data/lib/generators/payday/setup/templates/migration.rb +26 -0
- data/lib/payday/config.rb +35 -0
- data/lib/payday/i18n.rb +3 -0
- data/lib/payday/invoice.rb +52 -0
- data/lib/payday/invoiceable.rb +87 -0
- data/lib/payday/line_item.rb +46 -0
- data/lib/payday/line_itemable.rb +12 -0
- data/lib/payday/locale/de.yml +23 -0
- data/lib/payday/locale/en.yml +22 -0
- data/lib/payday/locale/es.yml +22 -0
- data/lib/payday/locale/fr.yml +22 -0
- data/lib/payday/locale/nl.yml +22 -0
- data/lib/payday/locale/zh-CN.yml +21 -0
- data/lib/payday/pdf_renderer.rb +322 -0
- data/lib/payday/version.rb +5 -0
- data/lib/payday.rb +18 -0
- data/payday.gemspec +35 -0
- data/spec/assets/default_logo.png +0 -0
- data/spec/assets/svg.pdf +2501 -0
- data/spec/assets/testing.pdf +14178 -0
- data/spec/assets/testing_predefined_amount.pdf +0 -0
- data/spec/assets/tiger.svg +52 -0
- data/spec/invoice_spec.rb +244 -0
- data/spec/line_item_spec.rb +30 -0
- data/spec/pdf_renderer_spec.rb +11 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/asset_matchers.rb +26 -0
- metadata +297 -0
metadata
ADDED
@@ -0,0 +1,297 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: webtranslateit-payday
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.7
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alan Johnson
|
8
|
+
- Edouard Briere
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2022-02-04 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: i18n
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0.7'
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2.0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0.7'
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: money
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '6.5'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '6.5'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: prawn
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- - "<"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.5'
|
72
|
+
type: :runtime
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.0'
|
79
|
+
- - "<"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '2.5'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: prawn-svg
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.15.0
|
89
|
+
- - "<"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.32.1
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.15.0
|
99
|
+
- - "<"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.32.1
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: prawn-table
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 0.2.2
|
109
|
+
type: :runtime
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 0.2.2
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: rexml
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
type: :runtime
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: guard
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
type: :development
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
name: guard-rspec
|
146
|
+
requirement: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
type: :development
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: guard-rubocop
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
name: rspec
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 3.10.0
|
179
|
+
type: :development
|
180
|
+
prerelease: false
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 3.10.0
|
186
|
+
- !ruby/object:Gem::Dependency
|
187
|
+
name: rubocop
|
188
|
+
requirement: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
193
|
+
type: :development
|
194
|
+
prerelease: false
|
195
|
+
version_requirements: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
- !ruby/object:Gem::Dependency
|
201
|
+
name: rubocop-rspec
|
202
|
+
requirement: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
type: :development
|
208
|
+
prerelease: false
|
209
|
+
version_requirements: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
description: Payday is a library for rendering invoices to pdf.
|
215
|
+
email:
|
216
|
+
- edouard@webtranslateit.com
|
217
|
+
executables: []
|
218
|
+
extensions: []
|
219
|
+
extra_rdoc_files: []
|
220
|
+
files:
|
221
|
+
- ".gitattributes"
|
222
|
+
- ".github/dependabot.yml"
|
223
|
+
- ".github/workflows/ci.yml"
|
224
|
+
- ".gitignore"
|
225
|
+
- ".rubocop.yml"
|
226
|
+
- ".rubocop_todo.yml"
|
227
|
+
- CHANGELOG.md
|
228
|
+
- Gemfile
|
229
|
+
- Guardfile
|
230
|
+
- README.md
|
231
|
+
- Rakefile
|
232
|
+
- fonts/NotoSans-Bold.ttf
|
233
|
+
- fonts/NotoSans-Regular.ttf
|
234
|
+
- lib/generators/payday/setup/USAGE
|
235
|
+
- lib/generators/payday/setup/setup_generator.rb
|
236
|
+
- lib/generators/payday/setup/templates/invoice.rb
|
237
|
+
- lib/generators/payday/setup/templates/line_item.rb
|
238
|
+
- lib/generators/payday/setup/templates/migration.rb
|
239
|
+
- lib/payday.rb
|
240
|
+
- lib/payday/config.rb
|
241
|
+
- lib/payday/i18n.rb
|
242
|
+
- lib/payday/invoice.rb
|
243
|
+
- lib/payday/invoiceable.rb
|
244
|
+
- lib/payday/line_item.rb
|
245
|
+
- lib/payday/line_itemable.rb
|
246
|
+
- lib/payday/locale/de.yml
|
247
|
+
- lib/payday/locale/en.yml
|
248
|
+
- lib/payday/locale/es.yml
|
249
|
+
- lib/payday/locale/fr.yml
|
250
|
+
- lib/payday/locale/nl.yml
|
251
|
+
- lib/payday/locale/zh-CN.yml
|
252
|
+
- lib/payday/pdf_renderer.rb
|
253
|
+
- lib/payday/version.rb
|
254
|
+
- payday.gemspec
|
255
|
+
- spec/assets/default_logo.png
|
256
|
+
- spec/assets/svg.pdf
|
257
|
+
- spec/assets/testing.pdf
|
258
|
+
- spec/assets/testing_predefined_amount.pdf
|
259
|
+
- spec/assets/tiger.svg
|
260
|
+
- spec/invoice_spec.rb
|
261
|
+
- spec/line_item_spec.rb
|
262
|
+
- spec/pdf_renderer_spec.rb
|
263
|
+
- spec/spec_helper.rb
|
264
|
+
- spec/support/asset_matchers.rb
|
265
|
+
homepage: https://github.com/webtranslateit/payday
|
266
|
+
licenses: []
|
267
|
+
metadata: {}
|
268
|
+
post_install_message:
|
269
|
+
rdoc_options: []
|
270
|
+
require_paths:
|
271
|
+
- lib
|
272
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
273
|
+
requirements:
|
274
|
+
- - ">="
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: '2.5'
|
277
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '0'
|
282
|
+
requirements: []
|
283
|
+
rubygems_version: 3.0.9
|
284
|
+
signing_key:
|
285
|
+
specification_version: 4
|
286
|
+
summary: A simple library for rendering invoices.
|
287
|
+
test_files:
|
288
|
+
- spec/assets/default_logo.png
|
289
|
+
- spec/assets/svg.pdf
|
290
|
+
- spec/assets/testing.pdf
|
291
|
+
- spec/assets/testing_predefined_amount.pdf
|
292
|
+
- spec/assets/tiger.svg
|
293
|
+
- spec/invoice_spec.rb
|
294
|
+
- spec/line_item_spec.rb
|
295
|
+
- spec/pdf_renderer_spec.rb
|
296
|
+
- spec/spec_helper.rb
|
297
|
+
- spec/support/asset_matchers.rb
|