dorian 2.6.3 → 2.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 207aa14484ef986a3a7d8c31862e5252196fa2ec8d736e0b733132641e6f696f
4
- data.tar.gz: fbd43455c747af16fb44a14de9d5b4c9649b169b2cc95fd26bac50a4d59f0c8d
3
+ metadata.gz: dbb5aee98433b8d93426e99869dbace7ecda8fac72bf55b22056de3a63b82a67
4
+ data.tar.gz: 31d7128b0bd2bb909a001c3f1ef127c077c1d898d944118709cfdb55d92b2e3e
5
5
  SHA512:
6
- metadata.gz: d925343950f9511d7e2ce5e40ae122942f14b580b08853c80cabb85db057edd3e80829c5b3919ec42c17d93a65fbbb2d77434d8d96e85cbed1f06341a3e3c331
7
- data.tar.gz: '028fa81c00ab8693602e80fff5ebfc54964f3965593c093f27c89f63ed263ae51f0307332d5341b9aff43fbb41398718b08c926a0c76fe71cf67cb9a3b8c71b9'
6
+ metadata.gz: 326fe09d03bd0a757036e8e36abe10baed929fc1a478c83c230262ca0c28a6d0906fe01bfff823608f8798790a4160b532f39670fab4df38598f0dd9aceca01a
7
+ data.tar.gz: fdbce0046af9f4e3e6d2f8680b6d5e0dc3e13dc50e44f1d2cbcc0f8b8f493e72b8ae3b83730fb9aadf9225ffcd9acf2477e08d73e3b27cca9a9c3d539a3ea1a4
data/.node-version CHANGED
@@ -1 +1 @@
1
- 22.5.1
1
+ 23.11.0
data/.npm-version CHANGED
@@ -1 +1 @@
1
- 10.8.2
1
+ 11.2.0
data/.rubocop.yml CHANGED
@@ -1,12 +1,11 @@
1
1
  ---
2
2
  AllCops:
3
3
  Exclude:
4
- - "*/node_modules/**/*"
5
- - "*/vendor/**/*"
6
- - node_modules/**/*
7
- - vendor/**/*
4
+ - "**/node_modules/**/*"
5
+ - "**/vendor/**/*"
6
+ - "**/db/schema.rb"
8
7
  NewCops: enable
9
- TargetRubyVersion: 3.3
8
+ TargetRubyVersion: 3.4
10
9
  Layout/ClosingHeredocIndentation:
11
10
  Enabled: false
12
11
  Layout/FirstArgumentIndentation:
@@ -23,6 +22,8 @@ Layout/MultilineMethodCallIndentation:
23
22
  Enabled: false
24
23
  Layout/MultilineOperationIndentation:
25
24
  Enabled: false
25
+ Layout/SpaceInsideHashLiteralBraces:
26
+ Enabled: false
26
27
  Lint/EmptyClass:
27
28
  Enabled: false
28
29
  Lint/MissingSuper:
@@ -101,16 +102,12 @@ Security/Eval:
101
102
  Enabled: false
102
103
  Style/CaseEquality:
103
104
  Enabled: false
104
- Style/DocumentDynamicEvalDefinition:
105
- Enabled: false
106
105
  Style/Documentation:
107
106
  Enabled: false
108
107
  Style/DoubleNegation:
109
108
  Enabled: false
110
109
  Style/EmptyMethod:
111
110
  Enabled: false
112
- Style/HashEachMethods:
113
- Enabled: false
114
111
  Style/IfUnlessModifier:
115
112
  Enabled: false
116
113
  Style/MultilineBlockChain:
@@ -123,11 +120,11 @@ Style/StringLiterals:
123
120
  Enabled: false
124
121
  Style/StringLiteralsInInterpolation:
125
122
  Enabled: false
126
- require:
123
+ plugins:
127
124
  - rubocop-factory_bot
128
125
  - rubocop-performance
129
126
  - rubocop-rails
130
127
  - rubocop-rake
131
128
  - rubocop-rspec
132
- - rubocop-rspec_rails
133
129
  - rubocop-capybara
130
+ - rubocop-rspec_rails
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.5
1
+ 3.4.2
data/.tool-versions CHANGED
@@ -1,3 +1,3 @@
1
- ruby 3.3.5
1
+ ruby 3.4.2
2
2
  yarn 1.22.22
3
- nodejs 22.5.1
3
+ nodejs 23.11.0
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- ruby "3.3.5"
7
+ ruby "3.4.2"
8
8
 
9
9
  gem "bundler-audit"
10
10
  gem "rspec"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dorian (2.6.3)
4
+ dorian (2.6.4)
5
5
  csv
6
6
  dorian-arguments
7
7
  dorian-eval
@@ -23,8 +23,9 @@ PATH
23
23
  GEM
24
24
  remote: https://rubygems.org/
25
25
  specs:
26
- activesupport (7.2.1)
26
+ activesupport (8.0.2)
27
27
  base64
28
+ benchmark (>= 0.3)
28
29
  bigdecimal
29
30
  concurrent-ruby (~> 1.0, >= 1.3.1)
30
31
  connection_pool (>= 2.2.5)
@@ -34,19 +35,21 @@ GEM
34
35
  minitest (>= 5.1)
35
36
  securerandom (>= 0.3)
36
37
  tzinfo (~> 2.0, >= 2.0.5)
38
+ uri (>= 0.13.1)
37
39
  addressable (2.8.7)
38
40
  public_suffix (>= 2.0.2, < 7.0)
39
- ast (2.4.2)
41
+ ast (2.4.3)
40
42
  base64 (0.2.0)
41
- bigdecimal (3.1.8)
43
+ benchmark (0.4.0)
44
+ bigdecimal (3.1.9)
42
45
  bundler-audit (0.9.2)
43
46
  bundler (>= 1.2.0, < 3)
44
47
  thor (~> 1.0)
45
48
  cmdparse (3.0.7)
46
- concurrent-ruby (1.3.4)
47
- connection_pool (2.4.1)
48
- csv (3.3.0)
49
- diff-lcs (1.5.1)
49
+ concurrent-ruby (1.3.5)
50
+ connection_pool (2.5.0)
51
+ csv (3.3.3)
52
+ diff-lcs (1.6.1)
50
53
  dorian-arguments (1.2.2)
51
54
  bigdecimal
52
55
  dorian-eval (1.5.0)
@@ -56,90 +59,103 @@ GEM
56
59
  dorian-to_struct (2.0.2)
57
60
  drb (2.2.1)
58
61
  geom2d (0.4.1)
59
- git (2.3.0)
62
+ git (3.0.0)
60
63
  activesupport (>= 5.0)
61
64
  addressable (~> 2.8)
62
- process_executer (~> 1.1)
63
- rchardet (~> 1.8)
65
+ process_executer (~> 1.3)
66
+ rchardet (~> 1.9)
64
67
  haml (6.3.0)
65
68
  temple (>= 0.8.2)
66
69
  thor
67
70
  tilt
68
- hexapdf (0.47.0)
71
+ hexapdf (1.2.0)
69
72
  cmdparse (~> 3.0, >= 3.0.3)
70
73
  geom2d (~> 0.4, >= 0.4.1)
71
74
  openssl (>= 2.2.1)
72
- i18n (1.14.6)
75
+ strscan (>= 3.1.2)
76
+ i18n (1.14.7)
73
77
  concurrent-ruby (~> 1.0)
74
- json (2.7.2)
75
- language_server-protocol (3.17.0.3)
76
- libv8-node (18.19.0.0)
77
- libv8-node (18.19.0.0-arm64-darwin)
78
- libv8-node (18.19.0.0-x86_64-linux)
79
- logger (1.6.1)
80
- mini_racer (0.16.0)
81
- libv8-node (~> 18.19.0.0)
82
- minitest (5.25.1)
83
- openssl (3.2.0)
84
- ostruct (0.6.0)
78
+ json (2.10.2)
79
+ language_server-protocol (3.17.0.4)
80
+ libv8-node (23.6.1.0)
81
+ libv8-node (23.6.1.0-arm64-darwin)
82
+ libv8-node (23.6.1.0-x86_64-linux)
83
+ lint_roller (1.1.0)
84
+ logger (1.7.0)
85
+ mini_racer (0.18.1)
86
+ libv8-node (~> 23.6.1.0)
87
+ minitest (5.25.5)
88
+ openssl (3.3.0)
89
+ ostruct (0.6.1)
85
90
  parallel (1.26.3)
86
- parser (3.3.5.0)
91
+ parser (3.3.7.4)
87
92
  ast (~> 2.4.1)
88
93
  racc
89
94
  prettier_print (1.2.1)
90
- process_executer (1.1.0)
95
+ prism (1.4.0)
96
+ process_executer (1.3.0)
91
97
  public_suffix (6.0.1)
92
98
  racc (1.8.1)
93
- rack (3.1.7)
99
+ rack (3.1.12)
94
100
  rainbow (3.1.1)
95
- rchardet (1.8.0)
96
- regexp_parser (2.9.2)
101
+ rchardet (1.9.0)
102
+ regexp_parser (2.10.0)
97
103
  rspec (3.13.0)
98
104
  rspec-core (~> 3.13.0)
99
105
  rspec-expectations (~> 3.13.0)
100
106
  rspec-mocks (~> 3.13.0)
101
- rspec-core (3.13.1)
107
+ rspec-core (3.13.3)
102
108
  rspec-support (~> 3.13.0)
103
109
  rspec-expectations (3.13.3)
104
110
  diff-lcs (>= 1.2.0, < 2.0)
105
111
  rspec-support (~> 3.13.0)
106
- rspec-mocks (3.13.1)
112
+ rspec-mocks (3.13.2)
107
113
  diff-lcs (>= 1.2.0, < 2.0)
108
114
  rspec-support (~> 3.13.0)
109
- rspec-support (3.13.1)
110
- rubocop (1.66.1)
115
+ rspec-support (3.13.2)
116
+ rubocop (1.75.2)
111
117
  json (~> 2.3)
112
- language_server-protocol (>= 3.17.0)
118
+ language_server-protocol (~> 3.17.0.2)
119
+ lint_roller (~> 1.1.0)
113
120
  parallel (~> 1.10)
114
121
  parser (>= 3.3.0.2)
115
122
  rainbow (>= 2.2.2, < 4.0)
116
- regexp_parser (>= 2.4, < 3.0)
117
- rubocop-ast (>= 1.32.2, < 2.0)
123
+ regexp_parser (>= 2.9.3, < 3.0)
124
+ rubocop-ast (>= 1.44.0, < 2.0)
118
125
  ruby-progressbar (~> 1.7)
119
- unicode-display_width (>= 2.4.0, < 3.0)
120
- rubocop-ast (1.32.3)
121
- parser (>= 3.3.1.0)
122
- rubocop-capybara (2.21.0)
123
- rubocop (~> 1.41)
124
- rubocop-factory_bot (2.26.1)
125
- rubocop (~> 1.61)
126
- rubocop-performance (1.22.1)
127
- rubocop (>= 1.48.1, < 2.0)
128
- rubocop-ast (>= 1.31.1, < 2.0)
129
- rubocop-rails (2.26.1)
126
+ unicode-display_width (>= 2.4.0, < 4.0)
127
+ rubocop-ast (1.44.0)
128
+ parser (>= 3.3.7.2)
129
+ prism (~> 1.4)
130
+ rubocop-capybara (2.22.1)
131
+ lint_roller (~> 1.1)
132
+ rubocop (~> 1.72, >= 1.72.1)
133
+ rubocop-factory_bot (2.27.1)
134
+ lint_roller (~> 1.1)
135
+ rubocop (~> 1.72, >= 1.72.1)
136
+ rubocop-performance (1.25.0)
137
+ lint_roller (~> 1.1)
138
+ rubocop (>= 1.75.0, < 2.0)
139
+ rubocop-ast (>= 1.38.0, < 2.0)
140
+ rubocop-rails (2.31.0)
130
141
  activesupport (>= 4.2.0)
142
+ lint_roller (~> 1.1)
131
143
  rack (>= 1.1)
132
- rubocop (>= 1.52.0, < 2.0)
133
- rubocop-ast (>= 1.31.1, < 2.0)
134
- rubocop-rake (0.6.0)
135
- rubocop (~> 1.0)
136
- rubocop-rspec (3.0.5)
137
- rubocop (~> 1.61)
138
- rubocop-rspec_rails (2.30.0)
139
- rubocop (~> 1.61)
140
- rubocop-rspec (~> 3, >= 3.0.1)
144
+ rubocop (>= 1.75.0, < 2.0)
145
+ rubocop-ast (>= 1.38.0, < 2.0)
146
+ rubocop-rake (0.7.1)
147
+ lint_roller (~> 1.1)
148
+ rubocop (>= 1.72.1)
149
+ rubocop-rspec (3.5.0)
150
+ lint_roller (~> 1.1)
151
+ rubocop (~> 1.72, >= 1.72.1)
152
+ rubocop-rspec_rails (2.31.0)
153
+ lint_roller (~> 1.1)
154
+ rubocop (~> 1.72, >= 1.72.1)
155
+ rubocop-rspec (~> 3.5)
141
156
  ruby-progressbar (1.13.0)
142
- securerandom (0.3.1)
157
+ securerandom (0.4.1)
158
+ strscan (3.1.2)
143
159
  syntax_tree (6.2.0)
144
160
  prettier_print (>= 1.2.0)
145
161
  syntax_tree-haml (4.0.3)
@@ -150,17 +166,20 @@ GEM
150
166
  prettier_print
151
167
  syntax_tree (>= 2.0.1)
152
168
  temple (0.10.3)
153
- terminal-table (3.0.2)
154
- unicode-display_width (>= 1.1.1, < 3)
169
+ terminal-table (4.0.0)
170
+ unicode-display_width (>= 1.1.1, < 4)
155
171
  thor (1.3.2)
156
- tilt (2.4.0)
172
+ tilt (2.6.0)
157
173
  tzinfo (2.0.6)
158
174
  concurrent-ruby (~> 1.0)
159
- unicode-display_width (2.6.0)
175
+ unicode-display_width (3.1.4)
176
+ unicode-emoji (~> 4.0, >= 4.0.4)
177
+ unicode-emoji (4.0.4)
178
+ uri (1.0.3)
160
179
  w_syntax_tree-erb (0.12.0)
161
180
  prettier_print (~> 1.2, >= 1.2.0)
162
181
  syntax_tree (~> 6.1, >= 6.1.1)
163
- yaml (0.3.0)
182
+ yaml (0.4.0)
164
183
 
165
184
  PLATFORMS
166
185
  arm64-darwin-23
@@ -180,7 +199,7 @@ DEPENDENCIES
180
199
  rubocop-rspec_rails
181
200
 
182
201
  RUBY VERSION
183
- ruby 3.3.5p100
202
+ ruby 3.4.2p28
184
203
 
185
204
  BUNDLED WITH
186
- 2.5.18
205
+ 2.6.7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.6.4
data/lib/dorian/bin.rb CHANGED
@@ -1550,7 +1550,7 @@ class Dorian
1550
1550
  return :xml if ext == ".entitlements"
1551
1551
  return :kotlin if ext == ".kt"
1552
1552
  return :groovy if ext == ".gradle"
1553
- return :groovy if ext == ".properties"
1553
+ return nil if ext == ".properties"
1554
1554
  return :binary if ext == ".jar"
1555
1555
  return :objectivec if ext == ".h"
1556
1556
  return :objectivec if ext == ".mm"
@@ -1630,7 +1630,7 @@ class Dorian
1630
1630
  end
1631
1631
  when :pdf
1632
1632
  doc = HexaPDF::Document.open(path)
1633
- doc.trailer.info.each { |key, _| doc.trailer.info.delete(key) }
1633
+ doc.trailer.info.each_key { |key| doc.trailer.info.delete(key) }
1634
1634
  doc.write(path, update_fields: false)
1635
1635
  after = File.read(path)
1636
1636
  when :tex
data/package-lock.json CHANGED
@@ -10,8 +10,8 @@
10
10
  "prettier": "*"
11
11
  },
12
12
  "engines": {
13
- "node": "22.5.1",
14
- "npm": "10.8.2"
13
+ "node": "23.11.0",
14
+ "npm": "11.2.0"
15
15
  }
16
16
  },
17
17
  "node_modules/groovy-beautify": {
@@ -21,9 +21,9 @@
21
21
  "license": "MIT"
22
22
  },
23
23
  "node_modules/prettier": {
24
- "version": "3.3.3",
25
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz",
26
- "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
24
+ "version": "3.5.3",
25
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
26
+ "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
27
27
  "license": "MIT",
28
28
  "bin": {
29
29
  "prettier": "bin/prettier.cjs"
@@ -36,4 +36,4 @@
36
36
  }
37
37
  }
38
38
  }
39
- }
39
+ }
data/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "prettier": "*"
5
5
  },
6
6
  "engines": {
7
- "node": "22.5.1",
8
- "npm": "10.8.2"
7
+ "node": "23.11.0",
8
+ "npm": "11.2.0"
9
9
  },
10
10
  "license": "MIT"
11
11
  }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.3
4
+ version: 2.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
10
+ date: 2025-04-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: csv
@@ -369,7 +368,6 @@ licenses:
369
368
  - MIT
370
369
  metadata:
371
370
  rubygems_mfa_required: 'true'
372
- post_install_message:
373
371
  rdoc_options: []
374
372
  require_paths:
375
373
  - lib
@@ -384,8 +382,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
384
382
  - !ruby/object:Gem::Version
385
383
  version: '0'
386
384
  requirements: []
387
- rubygems_version: 3.5.16
388
- signing_key:
385
+ rubygems_version: 3.6.2
389
386
  specification_version: 4
390
387
  summary: a collection of gems
391
388
  test_files: []