webtranslateit-payday 1.6.3 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +15 -0
- data/.github/workflows/ci.yml +4 -8
- data/CHANGELOG.md +14 -5
- data/Gemfile +1 -1
- data/Gemfile.lock +44 -37
- data/payday.gemspec +1 -1
- data/spec/invoice_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92d5a05287b25f475620dca322544f8a33ada44902ea33e695962e741aa95639
|
4
|
+
data.tar.gz: 2010fdb9e6f0666c076b78ee91597a04d018e5e0e5c8394cf404b8cf3e2695c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc3119e722f5d9a7a599e4b6be95aa04bb35094fbabadb04b9b888c5c53ee2eea0bbde935dd818cefd67e40f91422f651f5b0fe168f342f55f0d15863eaa095c
|
7
|
+
data.tar.gz: 3ea85d3b117b2e56281ed67c7b47ccac7b73dca1350d030aba56b115c23ad4ec15e2f02962c17e370433340fe9a1faa4450cd2acf91cc4ce4a8ac05a2df2111d
|
data/.github/dependabot.yml
CHANGED
@@ -11,3 +11,18 @@ updates:
|
|
11
11
|
interval: "weekly"
|
12
12
|
day: "monday"
|
13
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/workflows/ci.yml
CHANGED
@@ -7,21 +7,17 @@
|
|
7
7
|
|
8
8
|
name: Ruby
|
9
9
|
|
10
|
-
on:
|
11
|
-
push:
|
12
|
-
branches:
|
13
|
-
pull_request:
|
14
|
-
branches:
|
10
|
+
on: push
|
15
11
|
|
16
12
|
jobs:
|
17
13
|
test:
|
18
14
|
runs-on: ubuntu-latest
|
19
15
|
strategy:
|
20
16
|
matrix:
|
21
|
-
ruby-version: ['3.1']
|
17
|
+
ruby-version: ['3.1', '3.2']
|
22
18
|
|
23
19
|
steps:
|
24
|
-
- uses: actions/checkout@
|
20
|
+
- uses: actions/checkout@v3
|
25
21
|
- name: Set up Ruby
|
26
22
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
27
23
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
@@ -39,7 +35,7 @@ jobs:
|
|
39
35
|
|
40
36
|
steps:
|
41
37
|
- name: Checkout repository
|
42
|
-
uses: actions/checkout@
|
38
|
+
uses: actions/checkout@v3
|
43
39
|
|
44
40
|
- name: Install ruby and gems
|
45
41
|
uses: ruby/setup-ruby@v1
|
data/CHANGELOG.md
CHANGED
@@ -1,18 +1,27 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
## 1.6.
|
3
|
+
## 1.6.5 (2023-06-16)
|
4
|
+
|
5
|
+
* Add ruby 3.2 to test matrix.
|
6
|
+
* Dependencies update.
|
7
|
+
|
8
|
+
## 1.6.4 (2022-10-24)
|
9
|
+
|
10
|
+
* Code refactoring.
|
11
|
+
|
12
|
+
## 1.6.3 (2022-08-29)
|
4
13
|
|
5
14
|
* Fix styling of Notes heading.
|
6
15
|
|
7
|
-
## 1.6.2 (
|
16
|
+
## 1.6.2 (2022-08-16)
|
8
17
|
|
9
18
|
* Use rubocop-performance and fix one performance issue.
|
10
19
|
|
11
|
-
## 1.6.1 (
|
20
|
+
## 1.6.1 (2022-08-16)
|
12
21
|
|
13
22
|
* Fix booting of Payday. It requires the module Payday to be declared.
|
14
23
|
|
15
|
-
## 1.6.0 (
|
24
|
+
## 1.6.0 (2022-08-16)
|
16
25
|
|
17
26
|
* Set up release-drafter.
|
18
27
|
* Don’t leave gemspec dependencies open ended.
|
@@ -20,7 +29,7 @@
|
|
20
29
|
* Inherit rubocop styles from our defaults and fix offences.
|
21
30
|
* Load gem’s files using Zeitwerk.
|
22
31
|
|
23
|
-
## 1.5.0 (
|
32
|
+
## 1.5.0 (2022-08-09)
|
24
33
|
|
25
34
|
* Rubocop offences fixes.
|
26
35
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
webtranslateit-payday (1.6.
|
4
|
+
webtranslateit-payday (1.6.5)
|
5
5
|
activesupport (~> 7, < 8)
|
6
6
|
i18n (~> 1.12, < 2)
|
7
7
|
money (~> 6.16, < 7)
|
@@ -13,17 +13,17 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (7.0.
|
16
|
+
activesupport (7.0.5)
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
18
|
i18n (>= 1.6, < 2)
|
19
19
|
minitest (>= 5.1)
|
20
20
|
tzinfo (~> 2.0)
|
21
|
-
addressable (2.8.
|
21
|
+
addressable (2.8.4)
|
22
22
|
public_suffix (>= 2.0.2, < 6.0)
|
23
23
|
ast (2.4.2)
|
24
24
|
coderay (1.1.3)
|
25
|
-
concurrent-ruby (1.
|
26
|
-
css_parser (1.
|
25
|
+
concurrent-ruby (1.2.2)
|
26
|
+
css_parser (1.14.0)
|
27
27
|
addressable
|
28
28
|
diff-lcs (1.5.0)
|
29
29
|
ffi (1.15.5)
|
@@ -45,24 +45,24 @@ GEM
|
|
45
45
|
guard-rubocop (1.5.0)
|
46
46
|
guard (~> 2.0)
|
47
47
|
rubocop (< 2.0)
|
48
|
-
i18n (1.
|
48
|
+
i18n (1.14.1)
|
49
49
|
concurrent-ruby (~> 1.0)
|
50
|
-
json (2.6.
|
50
|
+
json (2.6.3)
|
51
51
|
listen (3.7.1)
|
52
52
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
53
53
|
rb-inotify (~> 0.9, >= 0.9.10)
|
54
54
|
lumberjack (1.2.8)
|
55
55
|
matrix (0.4.2)
|
56
56
|
method_source (1.0.0)
|
57
|
-
minitest (5.
|
57
|
+
minitest (5.18.0)
|
58
58
|
money (6.16.0)
|
59
59
|
i18n (>= 0.6.4, <= 2)
|
60
60
|
nenv (0.3.0)
|
61
61
|
notiffany (0.1.3)
|
62
62
|
nenv (~> 0.1)
|
63
63
|
shellany (~> 0.0)
|
64
|
-
parallel (1.
|
65
|
-
parser (3.
|
64
|
+
parallel (1.23.0)
|
65
|
+
parser (3.2.2.1)
|
66
66
|
ast (~> 2.4.1)
|
67
67
|
pdf-core (0.9.0)
|
68
68
|
prawn (2.4.0)
|
@@ -77,54 +77,61 @@ GEM
|
|
77
77
|
pry (0.14.1)
|
78
78
|
coderay (~> 1.1)
|
79
79
|
method_source (~> 1.0)
|
80
|
-
public_suffix (5.0.
|
80
|
+
public_suffix (5.0.1)
|
81
81
|
rainbow (3.1.1)
|
82
82
|
rb-fsevent (0.11.1)
|
83
83
|
rb-inotify (0.10.1)
|
84
84
|
ffi (~> 1.0)
|
85
|
-
regexp_parser (2.
|
85
|
+
regexp_parser (2.8.0)
|
86
86
|
rexml (3.2.5)
|
87
|
-
rspec (3.
|
88
|
-
rspec-core (~> 3.
|
89
|
-
rspec-expectations (~> 3.
|
90
|
-
rspec-mocks (~> 3.
|
91
|
-
rspec-core (3.
|
92
|
-
rspec-support (~> 3.
|
93
|
-
rspec-expectations (3.
|
87
|
+
rspec (3.12.0)
|
88
|
+
rspec-core (~> 3.12.0)
|
89
|
+
rspec-expectations (~> 3.12.0)
|
90
|
+
rspec-mocks (~> 3.12.0)
|
91
|
+
rspec-core (3.12.0)
|
92
|
+
rspec-support (~> 3.12.0)
|
93
|
+
rspec-expectations (3.12.0)
|
94
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-mocks (3.
|
95
|
+
rspec-support (~> 3.12.0)
|
96
|
+
rspec-mocks (3.12.0)
|
97
97
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
-
rspec-support (~> 3.
|
99
|
-
rspec-support (3.
|
100
|
-
rubocop (1.
|
98
|
+
rspec-support (~> 3.12.0)
|
99
|
+
rspec-support (3.12.0)
|
100
|
+
rubocop (1.52.0)
|
101
101
|
json (~> 2.3)
|
102
102
|
parallel (~> 1.10)
|
103
|
-
parser (>= 3.
|
103
|
+
parser (>= 3.2.0.0)
|
104
104
|
rainbow (>= 2.2.2, < 4.0)
|
105
105
|
regexp_parser (>= 1.8, < 3.0)
|
106
106
|
rexml (>= 3.2.5, < 4.0)
|
107
|
-
rubocop-ast (>= 1.
|
107
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
108
108
|
ruby-progressbar (~> 1.7)
|
109
|
-
unicode-display_width (>=
|
110
|
-
rubocop-ast (1.
|
111
|
-
parser (>= 3.
|
112
|
-
rubocop-
|
109
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
110
|
+
rubocop-ast (1.29.0)
|
111
|
+
parser (>= 3.2.1.0)
|
112
|
+
rubocop-capybara (2.18.0)
|
113
|
+
rubocop (~> 1.41)
|
114
|
+
rubocop-factory_bot (2.22.0)
|
115
|
+
rubocop (~> 1.33)
|
116
|
+
rubocop-performance (1.18.0)
|
113
117
|
rubocop (>= 1.7.0, < 2.0)
|
114
118
|
rubocop-ast (>= 0.4.0)
|
115
|
-
rubocop-rspec (2.
|
116
|
-
rubocop (~> 1.
|
117
|
-
|
119
|
+
rubocop-rspec (2.22.0)
|
120
|
+
rubocop (~> 1.33)
|
121
|
+
rubocop-capybara (~> 2.17)
|
122
|
+
rubocop-factory_bot (~> 2.22)
|
123
|
+
ruby-progressbar (1.13.0)
|
118
124
|
shellany (0.0.1)
|
119
125
|
thor (1.2.1)
|
120
126
|
ttfunk (1.7.0)
|
121
|
-
tzinfo (2.0.
|
127
|
+
tzinfo (2.0.6)
|
122
128
|
concurrent-ruby (~> 1.0)
|
123
|
-
unicode-display_width (2.2
|
124
|
-
zeitwerk (2.6.
|
129
|
+
unicode-display_width (2.4.2)
|
130
|
+
zeitwerk (2.6.8)
|
125
131
|
|
126
132
|
PLATFORMS
|
127
133
|
arm64-darwin-21
|
134
|
+
arm64-darwin-22
|
128
135
|
x86_64-darwin-21
|
129
136
|
x86_64-linux
|
130
137
|
|
@@ -133,7 +140,7 @@ DEPENDENCIES
|
|
133
140
|
guard-rspec
|
134
141
|
guard-rubocop
|
135
142
|
matrix
|
136
|
-
rspec (~> 3.
|
143
|
+
rspec (~> 3.12.0)
|
137
144
|
rubocop
|
138
145
|
rubocop-performance
|
139
146
|
rubocop-rspec
|
data/payday.gemspec
CHANGED
data/spec/invoice_spec.rb
CHANGED
@@ -219,7 +219,7 @@ module Payday # rubocop:todo Metrics/ModuleLength
|
|
219
219
|
|
220
220
|
invoice.add_line_item(price: 10, quantity: 3, description: 'Extra Users')
|
221
221
|
invoice.add_line_item(predefined_amount: 79,
|
222
|
-
description: "Flat Fee\n<color rgb
|
222
|
+
description: "Flat Fee\n<color rgb='888888'>From date to date</color>")
|
223
223
|
|
224
224
|
expect(invoice.render_pdf).to match_binary_asset 'testing_predefined_amount.pdf'
|
225
225
|
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: 1.6.
|
4
|
+
version: 1.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Johnson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: '0'
|
226
226
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
227
|
+
rubygems_version: 3.4.13
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: A simple library for rendering invoices.
|