dorian 2.6.3 → 2.6.6
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/.node-version +1 -1
- data/.npm-version +1 -1
- data/.rubocop.yml +8 -11
- data/.ruby-version +1 -1
- data/.tool-versions +2 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +93 -72
- data/VERSION +1 -1
- data/dorian.gemspec +1 -1
- data/lib/dorian/bin.rb +7 -2
- data/package-lock.json +6 -6
- data/package.json +2 -2
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e00a7f1e5dfed603d96fae0d83398eb8aa66516a5f021662dd173e5c046c307
|
4
|
+
data.tar.gz: c57c1c6a77035fba7b38febfabb4a961e4bbe4150e7cef95bbdc9f4851c26625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20f65938785264079aacb27e360cd72fbd1b73601be6f4ed2dc5144256ff81341432f98c38d6b18e51f201ee83f8e6c5c80e46d75f6ac2427a242ddfe48bfaec
|
7
|
+
data.tar.gz: 2f483ae79afdc40657099256f4b28ba06cfd63a589b47ce8eb50b9e29c215a8fca2954e1bb1cb64694c858cf53db3cc8dac0f53d603bb2a2296275b5ee05acab
|
data/.node-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
24.4.1
|
data/.npm-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
11.4.2
|
data/.rubocop.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
---
|
2
2
|
AllCops:
|
3
3
|
Exclude:
|
4
|
-
- "
|
5
|
-
- "
|
6
|
-
-
|
7
|
-
- vendor/**/*
|
4
|
+
- "**/node_modules/**/*"
|
5
|
+
- "**/vendor/**/*"
|
6
|
+
- "**/db/schema.rb"
|
8
7
|
NewCops: enable
|
9
|
-
TargetRubyVersion: 3.
|
8
|
+
TargetRubyVersion: 3.0
|
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
|
-
|
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.
|
1
|
+
3.4.5
|
data/.tool-versions
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
ruby 3.
|
1
|
+
ruby 3.4.5
|
2
2
|
yarn 1.22.22
|
3
|
-
nodejs
|
3
|
+
nodejs 24.4.1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dorian (2.6.
|
4
|
+
dorian (2.6.6)
|
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 (
|
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.
|
40
|
-
base64 (0.
|
41
|
-
|
41
|
+
ast (2.4.3)
|
42
|
+
base64 (0.3.0)
|
43
|
+
benchmark (0.4.1)
|
44
|
+
bigdecimal (3.2.2)
|
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.
|
47
|
-
connection_pool (2.
|
48
|
-
csv (3.3.
|
49
|
-
diff-lcs (1.
|
49
|
+
concurrent-ruby (1.3.5)
|
50
|
+
connection_pool (2.5.3)
|
51
|
+
csv (3.3.5)
|
52
|
+
diff-lcs (1.6.2)
|
50
53
|
dorian-arguments (1.2.2)
|
51
54
|
bigdecimal
|
52
55
|
dorian-eval (1.5.0)
|
@@ -54,93 +57,107 @@ GEM
|
|
54
57
|
dorian-progress (1.1.2)
|
55
58
|
ruby-progressbar
|
56
59
|
dorian-to_struct (2.0.2)
|
57
|
-
drb (2.2.
|
60
|
+
drb (2.2.3)
|
58
61
|
geom2d (0.4.1)
|
59
|
-
git (
|
62
|
+
git (4.0.4)
|
60
63
|
activesupport (>= 5.0)
|
61
64
|
addressable (~> 2.8)
|
62
|
-
process_executer (~>
|
63
|
-
rchardet (~> 1.
|
65
|
+
process_executer (~> 4.0)
|
66
|
+
rchardet (~> 1.9)
|
64
67
|
haml (6.3.0)
|
65
68
|
temple (>= 0.8.2)
|
66
69
|
thor
|
67
70
|
tilt
|
68
|
-
hexapdf (
|
71
|
+
hexapdf (1.3.0)
|
69
72
|
cmdparse (~> 3.0, >= 3.0.3)
|
70
73
|
geom2d (~> 0.4, >= 0.4.1)
|
71
74
|
openssl (>= 2.2.1)
|
72
|
-
|
75
|
+
strscan (>= 3.1.2)
|
76
|
+
i18n (1.14.7)
|
73
77
|
concurrent-ruby (~> 1.0)
|
74
|
-
json (2.
|
75
|
-
language_server-protocol (3.17.0.
|
76
|
-
libv8-node (
|
77
|
-
libv8-node (
|
78
|
-
libv8-node (
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
78
|
+
json (2.13.0)
|
79
|
+
language_server-protocol (3.17.0.5)
|
80
|
+
libv8-node (24.1.0.0)
|
81
|
+
libv8-node (24.1.0.0-arm64-darwin)
|
82
|
+
libv8-node (24.1.0.0-x86_64-linux)
|
83
|
+
lint_roller (1.1.0)
|
84
|
+
logger (1.7.0)
|
85
|
+
mini_racer (0.19.0)
|
86
|
+
libv8-node (~> 24.1.0.0)
|
87
|
+
minitest (5.25.5)
|
88
|
+
openssl (3.3.0)
|
89
|
+
ostruct (0.6.3)
|
90
|
+
parallel (1.27.0)
|
91
|
+
parser (3.3.8.0)
|
87
92
|
ast (~> 2.4.1)
|
88
93
|
racc
|
89
94
|
prettier_print (1.2.1)
|
90
|
-
|
91
|
-
|
95
|
+
prism (1.4.0)
|
96
|
+
process_executer (4.0.0)
|
97
|
+
track_open_instances (~> 0.1)
|
98
|
+
public_suffix (6.0.2)
|
92
99
|
racc (1.8.1)
|
93
|
-
rack (3.1.
|
100
|
+
rack (3.1.16)
|
94
101
|
rainbow (3.1.1)
|
95
|
-
rchardet (1.
|
96
|
-
regexp_parser (2.
|
97
|
-
rspec (3.13.
|
102
|
+
rchardet (1.9.0)
|
103
|
+
regexp_parser (2.10.0)
|
104
|
+
rspec (3.13.1)
|
98
105
|
rspec-core (~> 3.13.0)
|
99
106
|
rspec-expectations (~> 3.13.0)
|
100
107
|
rspec-mocks (~> 3.13.0)
|
101
|
-
rspec-core (3.13.
|
108
|
+
rspec-core (3.13.5)
|
102
109
|
rspec-support (~> 3.13.0)
|
103
|
-
rspec-expectations (3.13.
|
110
|
+
rspec-expectations (3.13.5)
|
104
111
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
112
|
rspec-support (~> 3.13.0)
|
106
|
-
rspec-mocks (3.13.
|
113
|
+
rspec-mocks (3.13.5)
|
107
114
|
diff-lcs (>= 1.2.0, < 2.0)
|
108
115
|
rspec-support (~> 3.13.0)
|
109
|
-
rspec-support (3.13.
|
110
|
-
rubocop (1.
|
116
|
+
rspec-support (3.13.4)
|
117
|
+
rubocop (1.78.0)
|
111
118
|
json (~> 2.3)
|
112
|
-
language_server-protocol (
|
119
|
+
language_server-protocol (~> 3.17.0.2)
|
120
|
+
lint_roller (~> 1.1.0)
|
113
121
|
parallel (~> 1.10)
|
114
122
|
parser (>= 3.3.0.2)
|
115
123
|
rainbow (>= 2.2.2, < 4.0)
|
116
|
-
regexp_parser (>= 2.
|
117
|
-
rubocop-ast (>= 1.
|
124
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
125
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
118
126
|
ruby-progressbar (~> 1.7)
|
119
|
-
unicode-display_width (>= 2.4.0, <
|
120
|
-
rubocop-ast (1.
|
121
|
-
parser (>= 3.3.
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
rubocop (~> 1.
|
126
|
-
rubocop-
|
127
|
-
|
128
|
-
rubocop
|
129
|
-
rubocop-
|
127
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
128
|
+
rubocop-ast (1.46.0)
|
129
|
+
parser (>= 3.3.7.2)
|
130
|
+
prism (~> 1.4)
|
131
|
+
rubocop-capybara (2.22.1)
|
132
|
+
lint_roller (~> 1.1)
|
133
|
+
rubocop (~> 1.72, >= 1.72.1)
|
134
|
+
rubocop-factory_bot (2.27.1)
|
135
|
+
lint_roller (~> 1.1)
|
136
|
+
rubocop (~> 1.72, >= 1.72.1)
|
137
|
+
rubocop-performance (1.25.0)
|
138
|
+
lint_roller (~> 1.1)
|
139
|
+
rubocop (>= 1.75.0, < 2.0)
|
140
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
141
|
+
rubocop-rails (2.32.0)
|
130
142
|
activesupport (>= 4.2.0)
|
143
|
+
lint_roller (~> 1.1)
|
131
144
|
rack (>= 1.1)
|
132
|
-
rubocop (>= 1.
|
133
|
-
rubocop-ast (>= 1.
|
134
|
-
rubocop-rake (0.
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
rubocop (~> 1.
|
140
|
-
|
145
|
+
rubocop (>= 1.75.0, < 2.0)
|
146
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
147
|
+
rubocop-rake (0.7.1)
|
148
|
+
lint_roller (~> 1.1)
|
149
|
+
rubocop (>= 1.72.1)
|
150
|
+
rubocop-rspec (3.6.0)
|
151
|
+
lint_roller (~> 1.1)
|
152
|
+
rubocop (~> 1.72, >= 1.72.1)
|
153
|
+
rubocop-rspec_rails (2.31.0)
|
154
|
+
lint_roller (~> 1.1)
|
155
|
+
rubocop (~> 1.72, >= 1.72.1)
|
156
|
+
rubocop-rspec (~> 3.5)
|
141
157
|
ruby-progressbar (1.13.0)
|
142
|
-
securerandom (0.
|
143
|
-
|
158
|
+
securerandom (0.4.1)
|
159
|
+
strscan (3.1.5)
|
160
|
+
syntax_tree (6.3.0)
|
144
161
|
prettier_print (>= 1.2.0)
|
145
162
|
syntax_tree-haml (4.0.3)
|
146
163
|
haml (>= 5.2)
|
@@ -150,17 +167,21 @@ GEM
|
|
150
167
|
prettier_print
|
151
168
|
syntax_tree (>= 2.0.1)
|
152
169
|
temple (0.10.3)
|
153
|
-
terminal-table (
|
154
|
-
unicode-display_width (>= 1.1.1, <
|
155
|
-
thor (1.
|
156
|
-
tilt (2.
|
170
|
+
terminal-table (4.0.0)
|
171
|
+
unicode-display_width (>= 1.1.1, < 4)
|
172
|
+
thor (1.4.0)
|
173
|
+
tilt (2.6.1)
|
174
|
+
track_open_instances (0.1.15)
|
157
175
|
tzinfo (2.0.6)
|
158
176
|
concurrent-ruby (~> 1.0)
|
159
|
-
unicode-display_width (
|
177
|
+
unicode-display_width (3.1.4)
|
178
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
179
|
+
unicode-emoji (4.0.4)
|
180
|
+
uri (1.0.3)
|
160
181
|
w_syntax_tree-erb (0.12.0)
|
161
182
|
prettier_print (~> 1.2, >= 1.2.0)
|
162
183
|
syntax_tree (~> 6.1, >= 6.1.1)
|
163
|
-
yaml (0.
|
184
|
+
yaml (0.4.0)
|
164
185
|
|
165
186
|
PLATFORMS
|
166
187
|
arm64-darwin-23
|
@@ -180,7 +201,7 @@ DEPENDENCIES
|
|
180
201
|
rubocop-rspec_rails
|
181
202
|
|
182
203
|
RUBY VERSION
|
183
|
-
ruby 3.
|
204
|
+
ruby 3.4.5p51
|
184
205
|
|
185
206
|
BUNDLED WITH
|
186
|
-
2.
|
207
|
+
2.7.1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.6
|
data/dorian.gemspec
CHANGED
data/lib/dorian/bin.rb
CHANGED
@@ -1496,6 +1496,11 @@ class Dorian
|
|
1496
1496
|
|
1497
1497
|
def filetype(path)
|
1498
1498
|
ext = File.extname(path).to_s.downcase
|
1499
|
+
|
1500
|
+
if File.exists?(".format-ignore")
|
1501
|
+
return if File.read(".format-ignore").split.map(&:strip).include?(path)
|
1502
|
+
end
|
1503
|
+
|
1499
1504
|
return :directory if Dir.exist?(path)
|
1500
1505
|
return :symlink if File.symlink?(path)
|
1501
1506
|
return :ruby if RUBY_FILENAMES.include?(File.basename(path))
|
@@ -1550,7 +1555,7 @@ class Dorian
|
|
1550
1555
|
return :xml if ext == ".entitlements"
|
1551
1556
|
return :kotlin if ext == ".kt"
|
1552
1557
|
return :groovy if ext == ".gradle"
|
1553
|
-
return
|
1558
|
+
return nil if ext == ".properties"
|
1554
1559
|
return :binary if ext == ".jar"
|
1555
1560
|
return :objectivec if ext == ".h"
|
1556
1561
|
return :objectivec if ext == ".mm"
|
@@ -1630,7 +1635,7 @@ class Dorian
|
|
1630
1635
|
end
|
1631
1636
|
when :pdf
|
1632
1637
|
doc = HexaPDF::Document.open(path)
|
1633
|
-
doc.trailer.info.
|
1638
|
+
doc.trailer.info.each_key { |key| doc.trailer.info.delete(key) }
|
1634
1639
|
doc.write(path, update_fields: false)
|
1635
1640
|
after = File.read(path)
|
1636
1641
|
when :tex
|
data/package-lock.json
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
"prettier": "*"
|
11
11
|
},
|
12
12
|
"engines": {
|
13
|
-
"node": "
|
14
|
-
"npm": "
|
13
|
+
"node": "24.4.1",
|
14
|
+
"npm": "11.4.2"
|
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.
|
25
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.
|
26
|
-
"integrity": "sha512-
|
24
|
+
"version": "3.6.2",
|
25
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
|
26
|
+
"integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
|
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
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.
|
4
|
+
version: 2.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 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
|
@@ -377,15 +375,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
377
375
|
requirements:
|
378
376
|
- - ">="
|
379
377
|
- !ruby/object:Gem::Version
|
380
|
-
version: '3.
|
378
|
+
version: '3.0'
|
381
379
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
382
380
|
requirements:
|
383
381
|
- - ">="
|
384
382
|
- !ruby/object:Gem::Version
|
385
383
|
version: '0'
|
386
384
|
requirements: []
|
387
|
-
rubygems_version: 3.
|
388
|
-
signing_key:
|
385
|
+
rubygems_version: 3.6.9
|
389
386
|
specification_version: 4
|
390
387
|
summary: a collection of gems
|
391
388
|
test_files: []
|