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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97ab005c387e2f35351a4e607c175e93e74f65351af082b1b7b00c9eb5b72215
4
- data.tar.gz: afdb16ce7c48011a526fb920c98ae1363bad94e48e44118415cd45805c001d37
3
+ metadata.gz: 92d5a05287b25f475620dca322544f8a33ada44902ea33e695962e741aa95639
4
+ data.tar.gz: 2010fdb9e6f0666c076b78ee91597a04d018e5e0e5c8394cf404b8cf3e2695c7
5
5
  SHA512:
6
- metadata.gz: 4bd104e28920114821cd562c8c478068310d3995af4f04ea3f8dbdcb0b1bec5ed3bee893893512cbaa084340d34b7214468fbfa1be66cc5fcbebb2d8e4350274
7
- data.tar.gz: 25583fcdd8373e6ec3fcdd76e0c6fd1b8791f9bb412e9254737caf1da0398566242e3d3661ae210e739cb31ac454bae0e45dded010d5ce87b44837f0bfbb9e46
6
+ metadata.gz: bc3119e722f5d9a7a599e4b6be95aa04bb35094fbabadb04b9b888c5c53ee2eea0bbde935dd818cefd67e40f91422f651f5b0fe168f342f55f0d15863eaa095c
7
+ data.tar.gz: 3ea85d3b117b2e56281ed67c7b47ccac7b73dca1350d030aba56b115c23ad4ec15e2f02962c17e370433340fe9a1faa4450cd2acf91cc4ce4a8ac05a2df2111d
@@ -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
@@ -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@v2
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@v2.3.5
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 (2002-08-29)
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 (2002-08-16)
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 (2002-08-16)
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 (2002-08-16)
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 (2002-08-09)
32
+ ## 1.5.0 (2022-08-09)
24
33
 
25
34
  * Rubocop offences fixes.
26
35
 
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ gem 'guard'
8
8
  gem 'guard-rspec'
9
9
  gem 'guard-rubocop'
10
10
  gem 'matrix'
11
- gem 'rspec', '~> 3.11.0'
11
+ gem 'rspec', '~> 3.12.0'
12
12
  gem 'rubocop'
13
13
  gem 'rubocop-performance'
14
14
  gem 'rubocop-rspec'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webtranslateit-payday (1.6.3)
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.3.1)
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.1)
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.1.10)
26
- css_parser (1.11.0)
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.12.0)
48
+ i18n (1.14.1)
49
49
  concurrent-ruby (~> 1.0)
50
- json (2.6.2)
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.16.3)
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.22.1)
65
- parser (3.1.2.1)
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.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.5.0)
85
+ regexp_parser (2.8.0)
86
86
  rexml (3.2.5)
87
- rspec (3.11.0)
88
- rspec-core (~> 3.11.0)
89
- rspec-expectations (~> 3.11.0)
90
- rspec-mocks (~> 3.11.0)
91
- rspec-core (3.11.0)
92
- rspec-support (~> 3.11.0)
93
- rspec-expectations (3.11.0)
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.11.0)
96
- rspec-mocks (3.11.1)
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.11.0)
99
- rspec-support (3.11.0)
100
- rubocop (1.35.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.1.2.1)
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.20.1, < 2.0)
107
+ rubocop-ast (>= 1.28.0, < 2.0)
108
108
  ruby-progressbar (~> 1.7)
109
- unicode-display_width (>= 1.4.0, < 3.0)
110
- rubocop-ast (1.21.0)
111
- parser (>= 3.1.1.0)
112
- rubocop-performance (1.14.3)
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.12.1)
116
- rubocop (~> 1.31)
117
- ruby-progressbar (1.11.0)
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.5)
127
+ tzinfo (2.0.6)
122
128
  concurrent-ruby (~> 1.0)
123
- unicode-display_width (2.2.0)
124
- zeitwerk (2.6.0)
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.11.0)
143
+ rspec (~> 3.12.0)
137
144
  rubocop
138
145
  rubocop-performance
139
146
  rubocop-rspec
data/payday.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'webtranslateit-payday'
5
- s.version = '1.6.3'
5
+ s.version = '1.6.5'
6
6
  s.required_ruby_version = '>= 3.1'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Alan Johnson', 'Edouard Briere']
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=\'888888\'>From date to date</color>")
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.3
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: 2022-08-29 00:00:00.000000000 Z
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.3.7
227
+ rubygems_version: 3.4.13
228
228
  signing_key:
229
229
  specification_version: 4
230
230
  summary: A simple library for rendering invoices.