maid 0.8.0.alpha.4 → 0.9.0.alpha.2
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 +2 -0
- data/ChangeLog +11 -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 +18 -17
- 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 +204 -128
- data/.travis.yml +0 -15
metadata
CHANGED
@@ -1,262 +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.2
|
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-19 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
|
-
- -
|
37
|
+
- - "~>"
|
34
38
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
36
|
-
- - <
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 1.0.0
|
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
|
-
- -
|
133
|
+
- - "~>"
|
106
134
|
- !ruby/object:Gem::Version
|
107
|
-
version:
|
108
|
-
- - <
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 3.1.0
|
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
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: 3.0.6
|
122
|
-
- - <
|
147
|
+
- - "~>"
|
123
148
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.2
|
149
|
+
version: 3.8.2
|
125
150
|
type: :runtime
|
126
151
|
prerelease: false
|
127
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 3.8.2
|
128
157
|
- !ruby/object:Gem::Dependency
|
129
158
|
name: exifr
|
130
|
-
requirement:
|
131
|
-
none: false
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
132
160
|
requirements:
|
133
|
-
- - ~>
|
161
|
+
- - "~>"
|
134
162
|
- !ruby/object:Gem::Version
|
135
|
-
version: 1.
|
163
|
+
version: 1.3.10
|
136
164
|
type: :runtime
|
137
165
|
prerelease: false
|
138
|
-
version_requirements:
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 1.3.10
|
139
171
|
- !ruby/object:Gem::Dependency
|
140
172
|
name: geocoder
|
141
|
-
requirement:
|
142
|
-
none: false
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
143
174
|
requirements:
|
144
|
-
- - ~>
|
175
|
+
- - "~>"
|
145
176
|
- !ruby/object:Gem::Version
|
146
|
-
version: 1.
|
177
|
+
version: 1.8.1
|
147
178
|
type: :runtime
|
148
179
|
prerelease: false
|
149
|
-
version_requirements:
|
180
|
+
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - "~>"
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 1.8.1
|
150
185
|
- !ruby/object:Gem::Dependency
|
151
186
|
name: fakefs
|
152
|
-
requirement:
|
153
|
-
none: false
|
187
|
+
requirement: !ruby/object:Gem::Requirement
|
154
188
|
requirements:
|
155
|
-
- - ~>
|
189
|
+
- - "~>"
|
156
190
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
191
|
+
version: 2.4.0
|
158
192
|
type: :development
|
159
193
|
prerelease: false
|
160
|
-
version_requirements:
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - "~>"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 2.4.0
|
161
199
|
- !ruby/object:Gem::Dependency
|
162
200
|
name: guard
|
163
|
-
requirement:
|
164
|
-
none: false
|
201
|
+
requirement: !ruby/object:Gem::Requirement
|
165
202
|
requirements:
|
166
|
-
- - ~>
|
203
|
+
- - "~>"
|
167
204
|
- !ruby/object:Gem::Version
|
168
205
|
version: 2.12.5
|
169
206
|
type: :development
|
170
207
|
prerelease: false
|
171
|
-
version_requirements:
|
208
|
+
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
requirements:
|
210
|
+
- - "~>"
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: 2.12.5
|
172
213
|
- !ruby/object:Gem::Dependency
|
173
214
|
name: guard-rspec
|
174
|
-
requirement:
|
175
|
-
none: false
|
215
|
+
requirement: !ruby/object:Gem::Requirement
|
176
216
|
requirements:
|
177
|
-
- - ~>
|
217
|
+
- - "~>"
|
178
218
|
- !ruby/object:Gem::Version
|
179
219
|
version: 4.6.2
|
180
220
|
type: :development
|
181
221
|
prerelease: false
|
182
|
-
version_requirements:
|
222
|
+
version_requirements: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - "~>"
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: 4.6.2
|
183
227
|
- !ruby/object:Gem::Dependency
|
184
228
|
name: rake
|
185
|
-
requirement:
|
186
|
-
none: false
|
229
|
+
requirement: !ruby/object:Gem::Requirement
|
187
230
|
requirements:
|
188
|
-
- - ~>
|
231
|
+
- - "~>"
|
189
232
|
- !ruby/object:Gem::Version
|
190
|
-
version:
|
233
|
+
version: 13.0.6
|
191
234
|
type: :development
|
192
235
|
prerelease: false
|
193
|
-
version_requirements:
|
236
|
+
version_requirements: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - "~>"
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: 13.0.6
|
194
241
|
- !ruby/object:Gem::Dependency
|
195
242
|
name: redcarpet
|
196
|
-
requirement:
|
197
|
-
none: false
|
243
|
+
requirement: !ruby/object:Gem::Requirement
|
198
244
|
requirements:
|
199
|
-
- - ~>
|
245
|
+
- - "~>"
|
200
246
|
- !ruby/object:Gem::Version
|
201
|
-
version: 3.
|
247
|
+
version: 3.6.0
|
202
248
|
type: :development
|
203
249
|
prerelease: false
|
204
|
-
version_requirements:
|
250
|
+
version_requirements: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - "~>"
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: 3.6.0
|
205
255
|
- !ruby/object:Gem::Dependency
|
206
256
|
name: rspec
|
207
|
-
requirement:
|
208
|
-
none: false
|
257
|
+
requirement: !ruby/object:Gem::Requirement
|
209
258
|
requirements:
|
210
|
-
- - ~>
|
259
|
+
- - "~>"
|
211
260
|
- !ruby/object:Gem::Version
|
212
|
-
version: 3.
|
261
|
+
version: 3.12.0
|
213
262
|
type: :development
|
214
263
|
prerelease: false
|
215
|
-
version_requirements:
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - "~>"
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 3.12.0
|
216
269
|
- !ruby/object:Gem::Dependency
|
217
270
|
name: timecop
|
218
|
-
requirement:
|
219
|
-
none: false
|
271
|
+
requirement: !ruby/object:Gem::Requirement
|
220
272
|
requirements:
|
221
|
-
- - ~>
|
273
|
+
- - "~>"
|
222
274
|
- !ruby/object:Gem::Version
|
223
|
-
version: 0.
|
275
|
+
version: 0.9.6
|
224
276
|
type: :development
|
225
277
|
prerelease: false
|
226
|
-
version_requirements:
|
278
|
+
version_requirements: !ruby/object:Gem::Requirement
|
279
|
+
requirements:
|
280
|
+
- - "~>"
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: 0.9.6
|
227
283
|
- !ruby/object:Gem::Dependency
|
228
284
|
name: yard
|
229
|
-
requirement:
|
230
|
-
|
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
|
231
300
|
requirements:
|
232
|
-
- -
|
301
|
+
- - ">="
|
233
302
|
- !ruby/object:Gem::Version
|
234
|
-
version: 0
|
303
|
+
version: '0'
|
235
304
|
type: :development
|
236
305
|
prerelease: false
|
237
|
-
version_requirements:
|
306
|
+
version_requirements: !ruby/object:Gem::Requirement
|
307
|
+
requirements:
|
308
|
+
- - ">="
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: '0'
|
238
311
|
- !ruby/object:Gem::Dependency
|
239
312
|
name: rb-inotify
|
240
|
-
requirement:
|
241
|
-
none: false
|
313
|
+
requirement: !ruby/object:Gem::Requirement
|
242
314
|
requirements:
|
243
|
-
- - ~>
|
315
|
+
- - "~>"
|
244
316
|
- !ruby/object:Gem::Version
|
245
|
-
version: 0.
|
317
|
+
version: 0.10.1
|
246
318
|
type: :development
|
247
319
|
prerelease: false
|
248
|
-
version_requirements:
|
320
|
+
version_requirements: !ruby/object:Gem::Requirement
|
321
|
+
requirements:
|
322
|
+
- - "~>"
|
323
|
+
- !ruby/object:Gem::Version
|
324
|
+
version: 0.10.1
|
249
325
|
- !ruby/object:Gem::Dependency
|
250
326
|
name: rb-fsevent
|
251
|
-
requirement:
|
252
|
-
none: false
|
327
|
+
requirement: !ruby/object:Gem::Requirement
|
253
328
|
requirements:
|
254
|
-
- - ~>
|
329
|
+
- - "~>"
|
255
330
|
- !ruby/object:Gem::Version
|
256
|
-
version: 0.
|
331
|
+
version: 0.11.2
|
257
332
|
type: :development
|
258
333
|
prerelease: false
|
259
|
-
version_requirements:
|
334
|
+
version_requirements: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - "~>"
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: 0.11.2
|
260
339
|
description: Be lazy. Let Maid clean up after you, based on rules you define. Think
|
261
340
|
of it as "Hazel for hackers".
|
262
341
|
email:
|
@@ -266,12 +345,12 @@ executables:
|
|
266
345
|
extensions: []
|
267
346
|
extra_rdoc_files: []
|
268
347
|
files:
|
269
|
-
- .
|
270
|
-
- .
|
271
|
-
- .
|
272
|
-
- .ruby-
|
273
|
-
- .
|
274
|
-
- .yardopts
|
348
|
+
- ".github/workflows/test.yml"
|
349
|
+
- ".gitignore"
|
350
|
+
- ".rspec"
|
351
|
+
- ".ruby-gemset"
|
352
|
+
- ".ruby-version"
|
353
|
+
- ".yardopts"
|
275
354
|
- AUTHORS.md
|
276
355
|
- CONTRIBUTING.md
|
277
356
|
- ChangeLog
|
@@ -331,28 +410,25 @@ files:
|
|
331
410
|
homepage: http://github.com/benjaminoakes/maid
|
332
411
|
licenses:
|
333
412
|
- GPLv2
|
413
|
+
metadata: {}
|
334
414
|
post_install_message:
|
335
415
|
rdoc_options: []
|
336
416
|
require_paths:
|
337
417
|
- lib
|
338
418
|
required_ruby_version: !ruby/object:Gem::Requirement
|
339
|
-
none: false
|
340
419
|
requirements:
|
341
|
-
- -
|
420
|
+
- - ">="
|
342
421
|
- !ruby/object:Gem::Version
|
343
|
-
version:
|
422
|
+
version: 2.7.0
|
344
423
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
345
|
-
none: false
|
346
424
|
requirements:
|
347
|
-
- -
|
425
|
+
- - ">"
|
348
426
|
- !ruby/object:Gem::Version
|
349
427
|
version: 1.3.1
|
350
428
|
requirements: []
|
351
|
-
|
352
|
-
rubygems_version: 1.8.11
|
429
|
+
rubygems_version: 3.3.26
|
353
430
|
signing_key:
|
354
|
-
specification_version:
|
431
|
+
specification_version: 4
|
355
432
|
summary: Be lazy. Let Maid clean up after you, based on rules you define. Think of
|
356
433
|
it as "Hazel for hackers".
|
357
434
|
test_files: []
|
358
|
-
has_rdoc:
|