maid 0.8.0.alpha.3 → 0.9.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/test.yml +36 -0
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/AUTHORS.md +1 -0
- data/ChangeLog +13 -1
- data/README.md +6 -7
- data/Vagrantfile +1 -2
- data/lib/maid/app.rb +21 -0
- data/lib/maid/maid.rb +2 -2
- data/lib/maid/repeat.rb +3 -2
- data/lib/maid/rules.sample.rb +1 -1
- data/lib/maid/tools.rb +7 -7
- data/lib/maid/version.rb +1 -1
- data/maid.gemspec +19 -18
- data/script/vagrant-test-all +2 -2
- data/spec/dependency_spec.rb +1 -1
- data/spec/lib/maid/app_spec.rb +67 -17
- data/spec/lib/maid/maid_spec.rb +15 -0
- data/spec/lib/maid/tools_spec.rb +128 -110
- data/spec/lib/maid/trash_migration_spec.rb +21 -15
- data/spec/spec_helper.rb +1 -0
- metadata +205 -126
- data/.travis.yml +0 -15
metadata
CHANGED
@@ -1,259 +1,341 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease: 6
|
4
|
+
version: 0.9.0.alpha.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Benjamin Oakes
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2023-03-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: escape
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.0.1
|
22
|
-
- - <
|
20
|
+
- - "<"
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: 0.1.0
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.0.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.1.0
|
28
33
|
- !ruby/object:Gem::Dependency
|
29
34
|
name: thor
|
30
|
-
requirement:
|
31
|
-
none: false
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
32
36
|
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 0.14.0
|
36
|
-
- - <
|
37
|
+
- - "~>"
|
37
38
|
- !ruby/object:Gem::Version
|
38
|
-
version: 1.
|
39
|
+
version: 1.2.1
|
39
40
|
type: :runtime
|
40
41
|
prerelease: false
|
41
|
-
version_requirements:
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.2.1
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: deprecated
|
44
|
-
requirement:
|
45
|
-
none: false
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
46
50
|
requirements:
|
47
|
-
- - ~>
|
51
|
+
- - "~>"
|
48
52
|
- !ruby/object:Gem::Version
|
49
53
|
version: 3.0.0
|
50
54
|
type: :runtime
|
51
55
|
prerelease: false
|
52
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.0.0
|
53
61
|
- !ruby/object:Gem::Dependency
|
54
62
|
name: dimensions
|
55
|
-
requirement:
|
56
|
-
none: false
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
57
64
|
requirements:
|
58
|
-
- -
|
65
|
+
- - ">="
|
59
66
|
- !ruby/object:Gem::Version
|
60
67
|
version: 1.0.0
|
61
|
-
- - <
|
68
|
+
- - "<"
|
62
69
|
- !ruby/object:Gem::Version
|
63
70
|
version: '2.0'
|
64
71
|
type: :runtime
|
65
72
|
prerelease: false
|
66
|
-
version_requirements:
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.0.0
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.0'
|
67
81
|
- !ruby/object:Gem::Dependency
|
68
82
|
name: mime-types
|
69
|
-
requirement:
|
70
|
-
none: false
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
71
84
|
requirements:
|
72
|
-
- - ~>
|
85
|
+
- - "~>"
|
73
86
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
87
|
+
version: '3.0'
|
88
|
+
- - "<"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '4.0'
|
75
91
|
type: :runtime
|
76
92
|
prerelease: false
|
77
|
-
version_requirements:
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3.0'
|
98
|
+
- - "<"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '4.0'
|
78
101
|
- !ruby/object:Gem::Dependency
|
79
102
|
name: rubyzip
|
80
|
-
requirement:
|
81
|
-
none: false
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
82
104
|
requirements:
|
83
|
-
- - ~>
|
105
|
+
- - "~>"
|
84
106
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
107
|
+
version: 2.3.2
|
86
108
|
type: :runtime
|
87
109
|
prerelease: false
|
88
|
-
version_requirements:
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 2.3.2
|
89
115
|
- !ruby/object:Gem::Dependency
|
90
116
|
name: xdg
|
91
|
-
requirement:
|
92
|
-
none: false
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
93
118
|
requirements:
|
94
|
-
- - ~>
|
119
|
+
- - "~>"
|
95
120
|
- !ruby/object:Gem::Version
|
96
121
|
version: 2.2.3
|
97
122
|
type: :runtime
|
98
123
|
prerelease: false
|
99
|
-
version_requirements:
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 2.2.3
|
100
129
|
- !ruby/object:Gem::Dependency
|
101
130
|
name: listen
|
102
|
-
requirement:
|
103
|
-
none: false
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
104
132
|
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: 2.8.0
|
108
|
-
- - <
|
133
|
+
- - "~>"
|
109
134
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
135
|
+
version: 3.8.0
|
111
136
|
type: :runtime
|
112
137
|
prerelease: false
|
113
|
-
version_requirements:
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 3.8.0
|
114
143
|
- !ruby/object:Gem::Dependency
|
115
144
|
name: rufus-scheduler
|
116
|
-
requirement:
|
117
|
-
none: false
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
118
146
|
requirements:
|
119
|
-
- - ~>
|
147
|
+
- - "~>"
|
120
148
|
- !ruby/object:Gem::Version
|
121
|
-
version: 3.
|
149
|
+
version: 3.8.2
|
122
150
|
type: :runtime
|
123
151
|
prerelease: false
|
124
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 3.8.2
|
125
157
|
- !ruby/object:Gem::Dependency
|
126
158
|
name: exifr
|
127
|
-
requirement:
|
128
|
-
none: false
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
129
160
|
requirements:
|
130
|
-
- - ~>
|
161
|
+
- - "~>"
|
131
162
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.
|
163
|
+
version: 1.3.10
|
133
164
|
type: :runtime
|
134
165
|
prerelease: false
|
135
|
-
version_requirements:
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 1.3.10
|
136
171
|
- !ruby/object:Gem::Dependency
|
137
172
|
name: geocoder
|
138
|
-
requirement:
|
139
|
-
none: false
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
140
174
|
requirements:
|
141
|
-
- - ~>
|
175
|
+
- - "~>"
|
142
176
|
- !ruby/object:Gem::Version
|
143
|
-
version: 1.
|
177
|
+
version: 1.8.1
|
144
178
|
type: :runtime
|
145
179
|
prerelease: false
|
146
|
-
version_requirements:
|
180
|
+
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - "~>"
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 1.8.1
|
147
185
|
- !ruby/object:Gem::Dependency
|
148
186
|
name: fakefs
|
149
|
-
requirement:
|
150
|
-
none: false
|
187
|
+
requirement: !ruby/object:Gem::Requirement
|
151
188
|
requirements:
|
152
|
-
- - ~>
|
189
|
+
- - "~>"
|
153
190
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
191
|
+
version: 2.4.0
|
155
192
|
type: :development
|
156
193
|
prerelease: false
|
157
|
-
version_requirements:
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - "~>"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 2.4.0
|
158
199
|
- !ruby/object:Gem::Dependency
|
159
200
|
name: guard
|
160
|
-
requirement:
|
161
|
-
none: false
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
162
202
|
requirements:
|
163
|
-
- - ~>
|
203
|
+
- - "~>"
|
164
204
|
- !ruby/object:Gem::Version
|
165
205
|
version: 2.12.5
|
166
206
|
type: :development
|
167
207
|
prerelease: false
|
168
|
-
version_requirements:
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - "~>"
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 2.12.5
|
169
213
|
- !ruby/object:Gem::Dependency
|
170
214
|
name: guard-rspec
|
171
|
-
requirement:
|
172
|
-
none: false
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
173
216
|
requirements:
|
174
|
-
- - ~>
|
217
|
+
- - "~>"
|
175
218
|
- !ruby/object:Gem::Version
|
176
|
-
version: 4.
|
219
|
+
version: 4.6.2
|
177
220
|
type: :development
|
178
221
|
prerelease: false
|
179
|
-
version_requirements:
|
222
|
+
version_requirements: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - "~>"
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: 4.6.2
|
180
227
|
- !ruby/object:Gem::Dependency
|
181
228
|
name: rake
|
182
|
-
requirement:
|
183
|
-
none: false
|
229
|
+
requirement: !ruby/object:Gem::Requirement
|
184
230
|
requirements:
|
185
|
-
- - ~>
|
231
|
+
- - "~>"
|
186
232
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
233
|
+
version: 13.0.6
|
188
234
|
type: :development
|
189
235
|
prerelease: false
|
190
|
-
version_requirements:
|
236
|
+
version_requirements: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - "~>"
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: 13.0.6
|
191
241
|
- !ruby/object:Gem::Dependency
|
192
242
|
name: redcarpet
|
193
|
-
requirement:
|
194
|
-
none: false
|
243
|
+
requirement: !ruby/object:Gem::Requirement
|
195
244
|
requirements:
|
196
|
-
- - ~>
|
245
|
+
- - "~>"
|
197
246
|
- !ruby/object:Gem::Version
|
198
|
-
version: 3.
|
247
|
+
version: 3.6.0
|
199
248
|
type: :development
|
200
249
|
prerelease: false
|
201
|
-
version_requirements:
|
250
|
+
version_requirements: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - "~>"
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: 3.6.0
|
202
255
|
- !ruby/object:Gem::Dependency
|
203
256
|
name: rspec
|
204
|
-
requirement:
|
205
|
-
none: false
|
257
|
+
requirement: !ruby/object:Gem::Requirement
|
206
258
|
requirements:
|
207
|
-
- - ~>
|
259
|
+
- - "~>"
|
208
260
|
- !ruby/object:Gem::Version
|
209
|
-
version: 3.
|
261
|
+
version: 3.12.0
|
210
262
|
type: :development
|
211
263
|
prerelease: false
|
212
|
-
version_requirements:
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - "~>"
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 3.12.0
|
213
269
|
- !ruby/object:Gem::Dependency
|
214
270
|
name: timecop
|
215
|
-
requirement:
|
216
|
-
none: false
|
271
|
+
requirement: !ruby/object:Gem::Requirement
|
217
272
|
requirements:
|
218
|
-
- - ~>
|
273
|
+
- - "~>"
|
219
274
|
- !ruby/object:Gem::Version
|
220
|
-
version: 0.
|
275
|
+
version: 0.9.6
|
221
276
|
type: :development
|
222
277
|
prerelease: false
|
223
|
-
version_requirements:
|
278
|
+
version_requirements: !ruby/object:Gem::Requirement
|
279
|
+
requirements:
|
280
|
+
- - "~>"
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: 0.9.6
|
224
283
|
- !ruby/object:Gem::Dependency
|
225
284
|
name: yard
|
226
|
-
requirement:
|
227
|
-
|
285
|
+
requirement: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: 0.9.11
|
290
|
+
type: :development
|
291
|
+
prerelease: false
|
292
|
+
version_requirements: !ruby/object:Gem::Requirement
|
293
|
+
requirements:
|
294
|
+
- - ">="
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
version: 0.9.11
|
297
|
+
- !ruby/object:Gem::Dependency
|
298
|
+
name: pry-byebug
|
299
|
+
requirement: !ruby/object:Gem::Requirement
|
228
300
|
requirements:
|
229
|
-
- -
|
301
|
+
- - ">="
|
230
302
|
- !ruby/object:Gem::Version
|
231
|
-
version: 0
|
303
|
+
version: '0'
|
232
304
|
type: :development
|
233
305
|
prerelease: false
|
234
|
-
version_requirements:
|
306
|
+
version_requirements: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - ">="
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '0'
|
235
311
|
- !ruby/object:Gem::Dependency
|
236
312
|
name: rb-inotify
|
237
|
-
requirement:
|
238
|
-
none: false
|
313
|
+
requirement: !ruby/object:Gem::Requirement
|
239
314
|
requirements:
|
240
|
-
- - ~>
|
315
|
+
- - "~>"
|
241
316
|
- !ruby/object:Gem::Version
|
242
|
-
version: 0.
|
317
|
+
version: 0.10.1
|
243
318
|
type: :development
|
244
319
|
prerelease: false
|
245
|
-
version_requirements:
|
320
|
+
version_requirements: !ruby/object:Gem::Requirement
|
321
|
+
requirements:
|
322
|
+
- - "~>"
|
323
|
+
- !ruby/object:Gem::Version
|
324
|
+
version: 0.10.1
|
246
325
|
- !ruby/object:Gem::Dependency
|
247
326
|
name: rb-fsevent
|
248
|
-
requirement:
|
249
|
-
none: false
|
327
|
+
requirement: !ruby/object:Gem::Requirement
|
250
328
|
requirements:
|
251
|
-
- - ~>
|
329
|
+
- - "~>"
|
252
330
|
- !ruby/object:Gem::Version
|
253
|
-
version: 0.
|
331
|
+
version: 0.11.2
|
254
332
|
type: :development
|
255
333
|
prerelease: false
|
256
|
-
version_requirements:
|
334
|
+
version_requirements: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - "~>"
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: 0.11.2
|
257
339
|
description: Be lazy. Let Maid clean up after you, based on rules you define. Think
|
258
340
|
of it as "Hazel for hackers".
|
259
341
|
email:
|
@@ -263,12 +345,12 @@ executables:
|
|
263
345
|
extensions: []
|
264
346
|
extra_rdoc_files: []
|
265
347
|
files:
|
266
|
-
- .
|
267
|
-
- .
|
268
|
-
- .
|
269
|
-
- .ruby-
|
270
|
-
- .
|
271
|
-
- .yardopts
|
348
|
+
- ".github/workflows/test.yml"
|
349
|
+
- ".gitignore"
|
350
|
+
- ".rspec"
|
351
|
+
- ".ruby-gemset"
|
352
|
+
- ".ruby-version"
|
353
|
+
- ".yardopts"
|
272
354
|
- AUTHORS.md
|
273
355
|
- CONTRIBUTING.md
|
274
356
|
- ChangeLog
|
@@ -328,28 +410,25 @@ files:
|
|
328
410
|
homepage: http://github.com/benjaminoakes/maid
|
329
411
|
licenses:
|
330
412
|
- GPLv2
|
413
|
+
metadata: {}
|
331
414
|
post_install_message:
|
332
415
|
rdoc_options: []
|
333
416
|
require_paths:
|
334
417
|
- lib
|
335
418
|
required_ruby_version: !ruby/object:Gem::Requirement
|
336
|
-
none: false
|
337
419
|
requirements:
|
338
|
-
- -
|
420
|
+
- - ">="
|
339
421
|
- !ruby/object:Gem::Version
|
340
|
-
version:
|
422
|
+
version: 2.7.0
|
341
423
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
342
|
-
none: false
|
343
424
|
requirements:
|
344
|
-
- -
|
425
|
+
- - ">"
|
345
426
|
- !ruby/object:Gem::Version
|
346
427
|
version: 1.3.1
|
347
428
|
requirements: []
|
348
|
-
|
349
|
-
rubygems_version: 1.8.11
|
429
|
+
rubygems_version: 3.3.26
|
350
430
|
signing_key:
|
351
|
-
specification_version:
|
431
|
+
specification_version: 4
|
352
432
|
summary: Be lazy. Let Maid clean up after you, based on rules you define. Think of
|
353
433
|
it as "Hazel for hackers".
|
354
434
|
test_files: []
|
355
|
-
has_rdoc:
|