webtranslateit-payday 1.7.4 → 2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +18 -3
- data/lib/payday/config.rb +4 -4
- data/lib/payday/invoice_presenter.rb +162 -0
- data/lib/payday/markup.rb +61 -0
- data/lib/payday/pdf_renderer.rb +54 -323
- data/lib/payday/qr_code.rb +99 -0
- data/lib/payday/templates/invoice.typ +171 -0
- data/lib/payday.rb +5 -5
- data/payday.gemspec +9 -6
- metadata +18 -83
- data/.gitattributes +0 -1
- data/.github/dependabot.yml +0 -28
- data/.github/release-drafter.yml +0 -36
- data/.github/workflows/ci.yml +0 -47
- data/.github/workflows/release-drafter.yml +0 -24
- data/.gitignore +0 -8
- data/.rubocop.yml +0 -16
- data/.rubocop_todo.yml +0 -0
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -210
- data/Guardfile +0 -12
- data/Rakefile +0 -14
- data/spec/assets/example_invoice_with_qr.pdf +0 -0
- data/spec/assets/svg.pdf +0 -2568
- data/spec/assets/testing.pdf +1 -14241
- data/spec/assets/testing_es.pdf +0 -0
- data/spec/assets/testing_predefined_amount.pdf +0 -0
- data/spec/assets/tiger.svg +0 -52
- data/spec/invoice_spec.rb +0 -403
- data/spec/line_item_spec.rb +0 -34
- data/spec/pdf_renderer_spec.rb +0 -15
- data/spec/spec_helper.rb +0 -11
- data/spec/support/asset_matchers.rb +0 -28
- /data/{spec → lib/payday}/assets/default_logo.png +0 -0
data/lib/payday.rb
CHANGED
|
@@ -8,14 +8,14 @@ loader.setup
|
|
|
8
8
|
require 'active_support/core_ext/object/blank' # For Object#blank? method
|
|
9
9
|
require 'bigdecimal'
|
|
10
10
|
require 'date'
|
|
11
|
+
require 'json'
|
|
11
12
|
require 'money'
|
|
12
|
-
require '
|
|
13
|
-
require 'prawn/table'
|
|
14
|
-
require 'prawn-svg'
|
|
13
|
+
require 'typst'
|
|
15
14
|
require 'time'
|
|
16
15
|
|
|
17
|
-
# Load translations
|
|
18
|
-
|
|
16
|
+
# Load our own translations. This has to resolve against the gem rather than the working
|
|
17
|
+
# directory, or the locales only load when the process happens to be running from the gem root.
|
|
18
|
+
I18n.load_path.concat(Dir[File.expand_path('../config/locales/*.yml', __dir__)])
|
|
19
19
|
|
|
20
20
|
module Payday
|
|
21
21
|
end
|
data/payday.gemspec
CHANGED
|
@@ -2,26 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'webtranslateit-payday'
|
|
5
|
-
s.version = '
|
|
5
|
+
s.version = '2.0.0'
|
|
6
6
|
s.required_ruby_version = '>= 3.2'
|
|
7
7
|
s.platform = Gem::Platform::RUBY
|
|
8
8
|
s.authors = ['Alan Johnson', 'Edouard Briere']
|
|
9
9
|
s.email = ['edouard@webtranslateit.com']
|
|
10
10
|
s.homepage = 'https://github.com/webtranslateit/payday'
|
|
11
11
|
s.summary = 'A simple library for rendering invoices.'
|
|
12
|
-
s.description = 'Payday is a library for rendering invoices to pdf.'
|
|
12
|
+
s.description = 'Payday is a library for rendering invoices to pdf, using Typst.'
|
|
13
13
|
s.license = 'MIT'
|
|
14
14
|
|
|
15
15
|
s.add_dependency 'activesupport', '>= 7', '< 9'
|
|
16
16
|
s.add_dependency 'i18n', '~> 1.12', '< 2'
|
|
17
17
|
s.add_dependency 'money', '>= 6.16', '< 8.0'
|
|
18
|
-
s.add_dependency 'prawn', '~> 2.4', '< 3'
|
|
19
|
-
s.add_dependency 'prawn-svg', '~> 0.32', '< 1'
|
|
20
|
-
s.add_dependency 'prawn-table', '~> 0.2', '< 1'
|
|
21
18
|
s.add_dependency 'rqrcode', '>= 2', '< 4'
|
|
19
|
+
s.add_dependency 'typst', '~> 0.15'
|
|
22
20
|
s.add_dependency 'zeitwerk', '~> 2.6', '< 3'
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
# Only what the gem needs at run time, plus the docs. The spec suite carries several
|
|
23
|
+
# hundred kilobytes of reference PDFs that nobody installing this wants.
|
|
24
|
+
root_files = %w[README.md CHANGELOG.md payday.gemspec].freeze
|
|
25
|
+
s.files = `git ls-files -z`.split("\x0").select do |path|
|
|
26
|
+
path.start_with?('lib/', 'config/locales/', 'fonts/') || root_files.include?(path)
|
|
27
|
+
end
|
|
25
28
|
s.require_paths = ['lib']
|
|
26
29
|
s.metadata['rubygems_mfa_required'] = 'true'
|
|
27
30
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webtranslateit-payday
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alan Johnson
|
|
@@ -71,85 +71,39 @@ dependencies:
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '8.0'
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
|
-
name:
|
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
|
76
|
-
requirements:
|
|
77
|
-
- - "~>"
|
|
78
|
-
- !ruby/object:Gem::Version
|
|
79
|
-
version: '2.4'
|
|
80
|
-
- - "<"
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '3'
|
|
83
|
-
type: :runtime
|
|
84
|
-
prerelease: false
|
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - "~>"
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '2.4'
|
|
90
|
-
- - "<"
|
|
91
|
-
- !ruby/object:Gem::Version
|
|
92
|
-
version: '3'
|
|
93
|
-
- !ruby/object:Gem::Dependency
|
|
94
|
-
name: prawn-svg
|
|
74
|
+
name: rqrcode
|
|
95
75
|
requirement: !ruby/object:Gem::Requirement
|
|
96
76
|
requirements:
|
|
97
|
-
- - "
|
|
77
|
+
- - ">="
|
|
98
78
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: '
|
|
79
|
+
version: '2'
|
|
100
80
|
- - "<"
|
|
101
81
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '
|
|
82
|
+
version: '4'
|
|
103
83
|
type: :runtime
|
|
104
84
|
prerelease: false
|
|
105
85
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
86
|
requirements:
|
|
107
|
-
- - "
|
|
87
|
+
- - ">="
|
|
108
88
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '
|
|
89
|
+
version: '2'
|
|
110
90
|
- - "<"
|
|
111
91
|
- !ruby/object:Gem::Version
|
|
112
|
-
version: '
|
|
92
|
+
version: '4'
|
|
113
93
|
- !ruby/object:Gem::Dependency
|
|
114
|
-
name:
|
|
94
|
+
name: typst
|
|
115
95
|
requirement: !ruby/object:Gem::Requirement
|
|
116
96
|
requirements:
|
|
117
97
|
- - "~>"
|
|
118
98
|
- !ruby/object:Gem::Version
|
|
119
|
-
version: '0.
|
|
120
|
-
- - "<"
|
|
121
|
-
- !ruby/object:Gem::Version
|
|
122
|
-
version: '1'
|
|
99
|
+
version: '0.15'
|
|
123
100
|
type: :runtime
|
|
124
101
|
prerelease: false
|
|
125
102
|
version_requirements: !ruby/object:Gem::Requirement
|
|
126
103
|
requirements:
|
|
127
104
|
- - "~>"
|
|
128
105
|
- !ruby/object:Gem::Version
|
|
129
|
-
version: '0.
|
|
130
|
-
- - "<"
|
|
131
|
-
- !ruby/object:Gem::Version
|
|
132
|
-
version: '1'
|
|
133
|
-
- !ruby/object:Gem::Dependency
|
|
134
|
-
name: rqrcode
|
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
|
136
|
-
requirements:
|
|
137
|
-
- - ">="
|
|
138
|
-
- !ruby/object:Gem::Version
|
|
139
|
-
version: '2'
|
|
140
|
-
- - "<"
|
|
141
|
-
- !ruby/object:Gem::Version
|
|
142
|
-
version: '4'
|
|
143
|
-
type: :runtime
|
|
144
|
-
prerelease: false
|
|
145
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
146
|
-
requirements:
|
|
147
|
-
- - ">="
|
|
148
|
-
- !ruby/object:Gem::Version
|
|
149
|
-
version: '2'
|
|
150
|
-
- - "<"
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '4'
|
|
106
|
+
version: '0.15'
|
|
153
107
|
- !ruby/object:Gem::Dependency
|
|
154
108
|
name: zeitwerk
|
|
155
109
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -170,27 +124,15 @@ dependencies:
|
|
|
170
124
|
- - "<"
|
|
171
125
|
- !ruby/object:Gem::Version
|
|
172
126
|
version: '3'
|
|
173
|
-
description: Payday is a library for rendering invoices to pdf.
|
|
127
|
+
description: Payday is a library for rendering invoices to pdf, using Typst.
|
|
174
128
|
email:
|
|
175
129
|
- edouard@webtranslateit.com
|
|
176
130
|
executables: []
|
|
177
131
|
extensions: []
|
|
178
132
|
extra_rdoc_files: []
|
|
179
133
|
files:
|
|
180
|
-
- ".gitattributes"
|
|
181
|
-
- ".github/dependabot.yml"
|
|
182
|
-
- ".github/release-drafter.yml"
|
|
183
|
-
- ".github/workflows/ci.yml"
|
|
184
|
-
- ".github/workflows/release-drafter.yml"
|
|
185
|
-
- ".gitignore"
|
|
186
|
-
- ".rubocop.yml"
|
|
187
|
-
- ".rubocop_todo.yml"
|
|
188
134
|
- CHANGELOG.md
|
|
189
|
-
- Gemfile
|
|
190
|
-
- Gemfile.lock
|
|
191
|
-
- Guardfile
|
|
192
135
|
- README.md
|
|
193
|
-
- Rakefile
|
|
194
136
|
- config/locales/payday.de.yml
|
|
195
137
|
- config/locales/payday.en.yml
|
|
196
138
|
- config/locales/payday.es.yml
|
|
@@ -205,25 +147,18 @@ files:
|
|
|
205
147
|
- lib/generators/payday/setup/templates/line_item.rb
|
|
206
148
|
- lib/generators/payday/setup/templates/migration.rb
|
|
207
149
|
- lib/payday.rb
|
|
150
|
+
- lib/payday/assets/default_logo.png
|
|
208
151
|
- lib/payday/config.rb
|
|
209
152
|
- lib/payday/invoice.rb
|
|
153
|
+
- lib/payday/invoice_presenter.rb
|
|
210
154
|
- lib/payday/invoiceable.rb
|
|
211
155
|
- lib/payday/line_item.rb
|
|
212
156
|
- lib/payday/line_itemable.rb
|
|
157
|
+
- lib/payday/markup.rb
|
|
213
158
|
- lib/payday/pdf_renderer.rb
|
|
159
|
+
- lib/payday/qr_code.rb
|
|
160
|
+
- lib/payday/templates/invoice.typ
|
|
214
161
|
- payday.gemspec
|
|
215
|
-
- spec/assets/default_logo.png
|
|
216
|
-
- spec/assets/example_invoice_with_qr.pdf
|
|
217
|
-
- spec/assets/svg.pdf
|
|
218
|
-
- spec/assets/testing.pdf
|
|
219
|
-
- spec/assets/testing_es.pdf
|
|
220
|
-
- spec/assets/testing_predefined_amount.pdf
|
|
221
|
-
- spec/assets/tiger.svg
|
|
222
|
-
- spec/invoice_spec.rb
|
|
223
|
-
- spec/line_item_spec.rb
|
|
224
|
-
- spec/pdf_renderer_spec.rb
|
|
225
|
-
- spec/spec_helper.rb
|
|
226
|
-
- spec/support/asset_matchers.rb
|
|
227
162
|
homepage: https://github.com/webtranslateit/payday
|
|
228
163
|
licenses:
|
|
229
164
|
- MIT
|
|
@@ -243,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
178
|
- !ruby/object:Gem::Version
|
|
244
179
|
version: '0'
|
|
245
180
|
requirements: []
|
|
246
|
-
rubygems_version:
|
|
181
|
+
rubygems_version: 3.6.9
|
|
247
182
|
specification_version: 4
|
|
248
183
|
summary: A simple library for rendering invoices.
|
|
249
184
|
test_files: []
|
data/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*.pdf binary
|
data/.github/dependabot.yml
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
|
3
|
-
# Please see the documentation for all configuration options:
|
|
4
|
-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
updates:
|
|
8
|
-
- package-ecosystem: "bundler" # See documentation for possible values
|
|
9
|
-
directory: "/" # Location of package manifests
|
|
10
|
-
schedule:
|
|
11
|
-
interval: "weekly"
|
|
12
|
-
day: "monday"
|
|
13
|
-
time: "04:00"
|
|
14
|
-
reviewers:
|
|
15
|
-
- edouard
|
|
16
|
-
assignees:
|
|
17
|
-
- edouard
|
|
18
|
-
|
|
19
|
-
- package-ecosystem: github-actions
|
|
20
|
-
directory: "/"
|
|
21
|
-
schedule:
|
|
22
|
-
interval: weekly
|
|
23
|
-
day: monday
|
|
24
|
-
time: "04:00"
|
|
25
|
-
reviewers:
|
|
26
|
-
- edouard
|
|
27
|
-
assignees:
|
|
28
|
-
- edouard
|
data/.github/release-drafter.yml
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
name-template: '$RESOLVED_VERSION 🌈'
|
|
2
|
-
tag-template: '$RESOLVED_VERSION'
|
|
3
|
-
categories:
|
|
4
|
-
- title: '🚀 Features'
|
|
5
|
-
labels:
|
|
6
|
-
- 'feature'
|
|
7
|
-
- 'enhancement'
|
|
8
|
-
- title: '🐛 Bug Fixes'
|
|
9
|
-
labels:
|
|
10
|
-
- 'bug'
|
|
11
|
-
- 'design'
|
|
12
|
-
- 'performance'
|
|
13
|
-
- title: '🧰 Maintenance'
|
|
14
|
-
labels:
|
|
15
|
-
- 'admin'
|
|
16
|
-
- 'refactoring'
|
|
17
|
-
- 'dependencies'
|
|
18
|
-
- 'github_actions'
|
|
19
|
-
- 'tests'
|
|
20
|
-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
|
21
|
-
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
|
22
|
-
version-resolver:
|
|
23
|
-
major:
|
|
24
|
-
labels:
|
|
25
|
-
- 'major'
|
|
26
|
-
minor:
|
|
27
|
-
labels:
|
|
28
|
-
- 'minor'
|
|
29
|
-
patch:
|
|
30
|
-
labels:
|
|
31
|
-
- 'patch'
|
|
32
|
-
default: patch
|
|
33
|
-
template: |
|
|
34
|
-
## Changes
|
|
35
|
-
|
|
36
|
-
$CHANGES
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
-
# They are provided by a third-party and are governed by
|
|
3
|
-
# separate terms of service, privacy policy, and support
|
|
4
|
-
# documentation.
|
|
5
|
-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
-
|
|
8
|
-
name: Ruby
|
|
9
|
-
|
|
10
|
-
on: push
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
test:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
strategy:
|
|
16
|
-
matrix:
|
|
17
|
-
ruby-version: ['3.2', '3.3', '3.4', '4.0']
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v7
|
|
21
|
-
- name: Set up Ruby
|
|
22
|
-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
23
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
24
|
-
uses: ruby/setup-ruby@v1
|
|
25
|
-
with:
|
|
26
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
27
|
-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
28
|
-
- name: Run tests
|
|
29
|
-
run: bundle exec rspec
|
|
30
|
-
|
|
31
|
-
linters:
|
|
32
|
-
name: Linters
|
|
33
|
-
runs-on: ubuntu-latest
|
|
34
|
-
timeout-minutes: 10
|
|
35
|
-
|
|
36
|
-
steps:
|
|
37
|
-
- name: Checkout repository
|
|
38
|
-
uses: actions/checkout@v7
|
|
39
|
-
|
|
40
|
-
- name: Install ruby and gems
|
|
41
|
-
uses: ruby/setup-ruby@v1
|
|
42
|
-
with:
|
|
43
|
-
ruby-version: 3.3.6 # Use .ruby-version file instead of duplicating here and in Gemfile?
|
|
44
|
-
bundler-cache: true
|
|
45
|
-
|
|
46
|
-
- name: Run ruby linter
|
|
47
|
-
run: bundle exec rubocop --format github
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: Release Drafter
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
# branches to consider in the event; optional, defaults to all
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
jobs:
|
|
9
|
-
update_release_draft:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
steps:
|
|
12
|
-
# (Optional) GitHub Enterprise requires GHE_HOST variable set
|
|
13
|
-
#- name: Set GHE_HOST
|
|
14
|
-
# run: |
|
|
15
|
-
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
|
|
16
|
-
|
|
17
|
-
# Drafts your next Release notes as Pull Requests are merged into "master"
|
|
18
|
-
- uses: release-drafter/release-drafter@v7
|
|
19
|
-
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
|
|
20
|
-
# with:
|
|
21
|
-
# config-name: my-config.yml
|
|
22
|
-
# disable-autolabeler: true
|
|
23
|
-
env:
|
|
24
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
plugins:
|
|
2
|
-
- rubocop-performance
|
|
3
|
-
- rubocop-rspec
|
|
4
|
-
|
|
5
|
-
inherit_from:
|
|
6
|
-
- https://raw.githubusercontent.com/webtranslateit/webtranslateit/main/.rubocop_common.yml
|
|
7
|
-
- .rubocop_todo.yml
|
|
8
|
-
|
|
9
|
-
AllCops:
|
|
10
|
-
TargetRubyVersion: 3.2
|
|
11
|
-
Exclude:
|
|
12
|
-
- lib/generators/**/*
|
|
13
|
-
|
|
14
|
-
inherit_mode:
|
|
15
|
-
merge:
|
|
16
|
-
- Exclude
|
data/.rubocop_todo.yml
DELETED
|
File without changes
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
webtranslateit-payday (1.7.4)
|
|
5
|
-
activesupport (>= 7, < 9)
|
|
6
|
-
i18n (~> 1.12, < 2)
|
|
7
|
-
money (>= 6.16, < 8.0)
|
|
8
|
-
prawn (~> 2.4, < 3)
|
|
9
|
-
prawn-svg (~> 0.32, < 1)
|
|
10
|
-
prawn-table (~> 0.2, < 1)
|
|
11
|
-
rqrcode (>= 2, < 4)
|
|
12
|
-
zeitwerk (~> 2.6, < 3)
|
|
13
|
-
|
|
14
|
-
GEM
|
|
15
|
-
remote: https://rubygems.org/
|
|
16
|
-
specs:
|
|
17
|
-
activesupport (8.1.3.1)
|
|
18
|
-
base64
|
|
19
|
-
bigdecimal
|
|
20
|
-
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
21
|
-
connection_pool (>= 2.2.5)
|
|
22
|
-
drb
|
|
23
|
-
i18n (>= 1.6, < 2)
|
|
24
|
-
json
|
|
25
|
-
logger (>= 1.4.2)
|
|
26
|
-
minitest (>= 5.1)
|
|
27
|
-
securerandom (>= 0.3)
|
|
28
|
-
tzinfo (~> 2.0, >= 2.0.5)
|
|
29
|
-
uri (>= 0.13.1)
|
|
30
|
-
addressable (2.9.0)
|
|
31
|
-
public_suffix (>= 2.0.2, < 8.0)
|
|
32
|
-
ast (2.4.3)
|
|
33
|
-
base64 (0.3.0)
|
|
34
|
-
bigdecimal (3.3.1)
|
|
35
|
-
chunky_png (1.4.0)
|
|
36
|
-
coderay (1.1.3)
|
|
37
|
-
concurrent-ruby (1.3.8)
|
|
38
|
-
connection_pool (3.0.2)
|
|
39
|
-
css_parser (1.22.0)
|
|
40
|
-
addressable
|
|
41
|
-
diff-lcs (1.6.2)
|
|
42
|
-
drb (2.2.3)
|
|
43
|
-
ffi (1.17.4)
|
|
44
|
-
ffi (1.17.4-aarch64-linux-gnu)
|
|
45
|
-
ffi (1.17.4-aarch64-linux-musl)
|
|
46
|
-
ffi (1.17.4-aarch64-mingw-ucrt)
|
|
47
|
-
ffi (1.17.4-arm-linux-gnu)
|
|
48
|
-
ffi (1.17.4-arm-linux-musl)
|
|
49
|
-
ffi (1.17.4-arm64-darwin)
|
|
50
|
-
ffi (1.17.4-x86-linux-gnu)
|
|
51
|
-
ffi (1.17.4-x86-linux-musl)
|
|
52
|
-
ffi (1.17.4-x86_64-darwin)
|
|
53
|
-
ffi (1.17.4-x86_64-linux-gnu)
|
|
54
|
-
ffi (1.17.4-x86_64-linux-musl)
|
|
55
|
-
formatador (1.2.3)
|
|
56
|
-
reline
|
|
57
|
-
guard (2.20.2)
|
|
58
|
-
formatador (>= 0.2.4)
|
|
59
|
-
listen (>= 2.7, < 4.0)
|
|
60
|
-
logger (~> 1.6)
|
|
61
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
62
|
-
nenv (~> 0.1)
|
|
63
|
-
notiffany (~> 0.0)
|
|
64
|
-
pry (>= 0.13.0)
|
|
65
|
-
shellany (~> 0.0)
|
|
66
|
-
thor (>= 0.18.1)
|
|
67
|
-
guard-compat (1.2.1)
|
|
68
|
-
guard-rspec (4.7.3)
|
|
69
|
-
guard (~> 2.1)
|
|
70
|
-
guard-compat (~> 1.1)
|
|
71
|
-
rspec (>= 2.99.0, < 4.0)
|
|
72
|
-
guard-rubocop (1.5.0)
|
|
73
|
-
guard (~> 2.0)
|
|
74
|
-
rubocop (< 2.0)
|
|
75
|
-
i18n (1.15.2)
|
|
76
|
-
concurrent-ruby (~> 1.0)
|
|
77
|
-
io-console (0.8.2)
|
|
78
|
-
json (2.21.2)
|
|
79
|
-
language_server-protocol (3.17.0.6)
|
|
80
|
-
lint_roller (1.1.0)
|
|
81
|
-
listen (3.10.0)
|
|
82
|
-
logger
|
|
83
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
84
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
|
85
|
-
logger (1.7.0)
|
|
86
|
-
lumberjack (1.4.2)
|
|
87
|
-
matrix (0.4.3)
|
|
88
|
-
method_source (1.1.0)
|
|
89
|
-
minitest (6.0.6)
|
|
90
|
-
drb (~> 2.0)
|
|
91
|
-
prism (~> 1.5)
|
|
92
|
-
money (7.1.1)
|
|
93
|
-
bigdecimal
|
|
94
|
-
i18n (~> 1.9)
|
|
95
|
-
nenv (0.3.0)
|
|
96
|
-
notiffany (0.1.3)
|
|
97
|
-
nenv (~> 0.1)
|
|
98
|
-
shellany (~> 0.0)
|
|
99
|
-
parallel (1.28.0)
|
|
100
|
-
parser (3.3.12.0)
|
|
101
|
-
ast (~> 2.4.1)
|
|
102
|
-
racc
|
|
103
|
-
pdf-core (0.10.0)
|
|
104
|
-
prawn (2.5.0)
|
|
105
|
-
matrix (~> 0.4)
|
|
106
|
-
pdf-core (~> 0.10.0)
|
|
107
|
-
ttfunk (~> 1.8)
|
|
108
|
-
prawn-svg (0.40.3)
|
|
109
|
-
css_parser (>= 1.17.1, < 4)
|
|
110
|
-
matrix (~> 0.4.2)
|
|
111
|
-
prawn (>= 0.11.1, < 3)
|
|
112
|
-
rexml (>= 3.4.2, < 4)
|
|
113
|
-
prawn-table (0.2.2)
|
|
114
|
-
prawn (>= 1.3.0, < 3.0.0)
|
|
115
|
-
prism (1.9.0)
|
|
116
|
-
pry (0.16.0)
|
|
117
|
-
coderay (~> 1.1)
|
|
118
|
-
method_source (~> 1.0)
|
|
119
|
-
reline (>= 0.6.0)
|
|
120
|
-
public_suffix (7.0.5)
|
|
121
|
-
racc (1.8.1)
|
|
122
|
-
rainbow (3.1.1)
|
|
123
|
-
rb-fsevent (0.11.2)
|
|
124
|
-
rb-inotify (0.11.1)
|
|
125
|
-
ffi (~> 1.0)
|
|
126
|
-
regexp_parser (2.12.0)
|
|
127
|
-
reline (0.6.3)
|
|
128
|
-
io-console (~> 0.5)
|
|
129
|
-
rexml (3.4.4)
|
|
130
|
-
rqrcode (3.2.0)
|
|
131
|
-
chunky_png (~> 1.0)
|
|
132
|
-
rqrcode_core (~> 2.0)
|
|
133
|
-
rqrcode_core (2.1.0)
|
|
134
|
-
rspec (3.13.2)
|
|
135
|
-
rspec-core (~> 3.13.0)
|
|
136
|
-
rspec-expectations (~> 3.13.0)
|
|
137
|
-
rspec-mocks (~> 3.13.0)
|
|
138
|
-
rspec-core (3.13.6)
|
|
139
|
-
rspec-support (~> 3.13.0)
|
|
140
|
-
rspec-expectations (3.13.5)
|
|
141
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
142
|
-
rspec-support (~> 3.13.0)
|
|
143
|
-
rspec-mocks (3.13.6)
|
|
144
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
145
|
-
rspec-support (~> 3.13.0)
|
|
146
|
-
rspec-support (3.13.6)
|
|
147
|
-
rubocop (1.89.0)
|
|
148
|
-
json (~> 2.3)
|
|
149
|
-
language_server-protocol (~> 3.17.0.2)
|
|
150
|
-
lint_roller (~> 1.1.0)
|
|
151
|
-
parallel (>= 1.10)
|
|
152
|
-
parser (>= 3.3.0.2)
|
|
153
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
154
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
|
155
|
-
rubocop-ast (>= 1.49.0, < 2.0)
|
|
156
|
-
ruby-progressbar (~> 1.7)
|
|
157
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
|
158
|
-
rubocop-ast (1.50.0)
|
|
159
|
-
parser (>= 3.3.7.2)
|
|
160
|
-
prism (~> 1.7)
|
|
161
|
-
rubocop-performance (1.26.1)
|
|
162
|
-
lint_roller (~> 1.1)
|
|
163
|
-
rubocop (>= 1.75.0, < 2.0)
|
|
164
|
-
rubocop-ast (>= 1.47.1, < 2.0)
|
|
165
|
-
rubocop-rspec (3.10.2)
|
|
166
|
-
lint_roller (~> 1.1)
|
|
167
|
-
regexp_parser (>= 2.0)
|
|
168
|
-
rubocop (~> 1.86, >= 1.86.2)
|
|
169
|
-
ruby-progressbar (1.13.0)
|
|
170
|
-
securerandom (0.4.1)
|
|
171
|
-
shellany (0.0.1)
|
|
172
|
-
thor (1.5.0)
|
|
173
|
-
ttfunk (1.8.0)
|
|
174
|
-
bigdecimal (~> 3.1)
|
|
175
|
-
tzinfo (2.0.6)
|
|
176
|
-
concurrent-ruby (~> 1.0)
|
|
177
|
-
unicode-display_width (3.2.0)
|
|
178
|
-
unicode-emoji (~> 4.1)
|
|
179
|
-
unicode-emoji (4.2.0)
|
|
180
|
-
uri (1.1.1)
|
|
181
|
-
zeitwerk (2.8.3)
|
|
182
|
-
|
|
183
|
-
PLATFORMS
|
|
184
|
-
aarch64-linux-gnu
|
|
185
|
-
aarch64-linux-musl
|
|
186
|
-
aarch64-mingw-ucrt
|
|
187
|
-
arm-linux-gnu
|
|
188
|
-
arm-linux-musl
|
|
189
|
-
arm64-darwin
|
|
190
|
-
ruby
|
|
191
|
-
x86-linux-gnu
|
|
192
|
-
x86-linux-musl
|
|
193
|
-
x86_64-darwin
|
|
194
|
-
x86_64-linux
|
|
195
|
-
x86_64-linux-gnu
|
|
196
|
-
x86_64-linux-musl
|
|
197
|
-
|
|
198
|
-
DEPENDENCIES
|
|
199
|
-
guard
|
|
200
|
-
guard-rspec
|
|
201
|
-
guard-rubocop
|
|
202
|
-
matrix
|
|
203
|
-
rspec (~> 3.13.2)
|
|
204
|
-
rubocop
|
|
205
|
-
rubocop-performance
|
|
206
|
-
rubocop-rspec
|
|
207
|
-
webtranslateit-payday!
|
|
208
|
-
|
|
209
|
-
BUNDLED WITH
|
|
210
|
-
4.0.18
|
data/Guardfile
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
guard :rspec, cmd: 'bundle exec rspec --color --format progress' do
|
|
4
|
-
watch(%r{^spec/.+_spec\.rb$})
|
|
5
|
-
watch('spec/spec_helper.rb') { 'spec' }
|
|
6
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
guard :rubocop do
|
|
10
|
-
watch(/.+\.rb$/)
|
|
11
|
-
watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
|
|
12
|
-
end
|
data/Rakefile
DELETED
|
Binary file
|