maid 0.6.0.alpha.3 → 0.6.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -1
- data/ChangeLog +1 -1
- data/lib/maid/version.rb +1 -1
- data/maid.gemspec +6 -6
- data/spec/lib/maid/rake/single_rule_spec.rb +7 -2
- metadata +44 -47
data/.rspec
CHANGED
data/ChangeLog
CHANGED
@@ -4,7 +4,7 @@ maid (0.6.0) unstable; urgency=low
|
|
4
4
|
for Ruby 2.2.0.
|
5
5
|
* Jayson Rhynas: Add Safari download detection to "downloading?" (Closes: #121)
|
6
6
|
* Pedro Lambert: Add support for Rake tasks defined by Maid (Closes: #68, #123)
|
7
|
-
* Jurriaan Pruis: Add daemon mode and repeat support (Closes: #126)
|
7
|
+
* Jurriaan Pruis: Add daemon mode and repeat support (Closes: #126, #131)
|
8
8
|
|
9
9
|
-- Benjamin Oakes <hello@benjaminoakes.com> TODO
|
10
10
|
|
data/lib/maid/version.rb
CHANGED
data/maid.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_dependency('mime-types', '~> 2.0')
|
25
25
|
s.add_dependency('rubyzip', '~> 1.1.0')
|
26
26
|
s.add_dependency('xdg', '~> 2.2.3') # previous versions had bugs
|
27
|
-
s.add_dependency('listen', '~> 2.
|
27
|
+
s.add_dependency('listen', '~> 2.8.0')
|
28
28
|
s.add_dependency('rufus-scheduler', '~> 3.0.6')
|
29
29
|
|
30
30
|
# TODO: use one of these two gems instead of `mdfind`. **But** They have to work on Linux as well.
|
@@ -34,11 +34,11 @@ Gem::Specification.new do |s|
|
|
34
34
|
|
35
35
|
# Strategy: specific versions (since they're just for development)
|
36
36
|
s.add_development_dependency('fakefs', '~> 0.4.2')
|
37
|
-
s.add_development_dependency('guard', '~> 2.
|
38
|
-
s.add_development_dependency('guard-rspec', '~> 4.
|
39
|
-
s.add_development_dependency('rake', '~> 10.
|
40
|
-
s.add_development_dependency('redcarpet', '~> 3.
|
41
|
-
s.add_development_dependency('rspec', '
|
37
|
+
s.add_development_dependency('guard', '~> 2.10.4')
|
38
|
+
s.add_development_dependency('guard-rspec', '~> 4.5.0')
|
39
|
+
s.add_development_dependency('rake', '~> 10.4.2')
|
40
|
+
s.add_development_dependency('redcarpet', '~> 3.2.2') # Soft dependency of `yard`
|
41
|
+
s.add_development_dependency('rspec', '~> 3.1.0')
|
42
42
|
s.add_development_dependency('timecop', '~> 0.7.0')
|
43
43
|
s.add_development_dependency('yard', '~> 0.8.4')
|
44
44
|
|
@@ -8,8 +8,13 @@ module Maid
|
|
8
8
|
let(:task) { Proc.new {} }
|
9
9
|
|
10
10
|
describe '#initialize' do
|
11
|
-
|
12
|
-
|
11
|
+
it 'has a name' do
|
12
|
+
expect(single_rule.name). to eq(name)
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'has a task' do
|
16
|
+
expect(single_rule.task). to eq(task)
|
17
|
+
end
|
13
18
|
end
|
14
19
|
|
15
20
|
describe '#clean' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0.alpha.
|
4
|
+
version: 0.6.0.alpha.4
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2014-12-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: escape
|
16
|
-
requirement: &
|
16
|
+
requirement: &16193980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: 0.1.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *16193980
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: thor
|
30
|
-
requirement: &
|
30
|
+
requirement: &16190100 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -38,10 +38,10 @@ dependencies:
|
|
38
38
|
version: 1.0.0
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
|
-
version_requirements: *
|
41
|
+
version_requirements: *16190100
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: deprecated
|
44
|
-
requirement: &
|
44
|
+
requirement: &16165540 !ruby/object:Gem::Requirement
|
45
45
|
none: false
|
46
46
|
requirements:
|
47
47
|
- - ~>
|
@@ -49,10 +49,10 @@ dependencies:
|
|
49
49
|
version: 3.0.0
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
|
-
version_requirements: *
|
52
|
+
version_requirements: *16165540
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: mime-types
|
55
|
-
requirement: &
|
55
|
+
requirement: &16164520 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ~>
|
@@ -60,10 +60,10 @@ dependencies:
|
|
60
60
|
version: '2.0'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
|
-
version_requirements: *
|
63
|
+
version_requirements: *16164520
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: rubyzip
|
66
|
-
requirement: &
|
66
|
+
requirement: &16163540 !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|
69
69
|
- - ~>
|
@@ -71,10 +71,10 @@ dependencies:
|
|
71
71
|
version: 1.1.0
|
72
72
|
type: :runtime
|
73
73
|
prerelease: false
|
74
|
-
version_requirements: *
|
74
|
+
version_requirements: *16163540
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: xdg
|
77
|
-
requirement: &
|
77
|
+
requirement: &16162880 !ruby/object:Gem::Requirement
|
78
78
|
none: false
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
@@ -82,21 +82,21 @@ dependencies:
|
|
82
82
|
version: 2.2.3
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
|
-
version_requirements: *
|
85
|
+
version_requirements: *16162880
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: listen
|
88
|
-
requirement: &
|
88
|
+
requirement: &16162260 !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 2.
|
93
|
+
version: 2.8.0
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
|
-
version_requirements: *
|
96
|
+
version_requirements: *16162260
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rufus-scheduler
|
99
|
-
requirement: &
|
99
|
+
requirement: &16161600 !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|
102
102
|
- - ~>
|
@@ -104,10 +104,10 @@ dependencies:
|
|
104
104
|
version: 3.0.6
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
|
-
version_requirements: *
|
107
|
+
version_requirements: *16161600
|
108
108
|
- !ruby/object:Gem::Dependency
|
109
109
|
name: fakefs
|
110
|
-
requirement: &
|
110
|
+
requirement: &16161020 !ruby/object:Gem::Requirement
|
111
111
|
none: false
|
112
112
|
requirements:
|
113
113
|
- - ~>
|
@@ -115,68 +115,65 @@ dependencies:
|
|
115
115
|
version: 0.4.2
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
|
-
version_requirements: *
|
118
|
+
version_requirements: *16161020
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: guard
|
121
|
-
requirement: &
|
121
|
+
requirement: &16160460 !ruby/object:Gem::Requirement
|
122
122
|
none: false
|
123
123
|
requirements:
|
124
124
|
- - ~>
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: 2.
|
126
|
+
version: 2.10.4
|
127
127
|
type: :development
|
128
128
|
prerelease: false
|
129
|
-
version_requirements: *
|
129
|
+
version_requirements: *16160460
|
130
130
|
- !ruby/object:Gem::Dependency
|
131
131
|
name: guard-rspec
|
132
|
-
requirement: &
|
132
|
+
requirement: &16159780 !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|
135
135
|
- - ~>
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 4.
|
137
|
+
version: 4.5.0
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
|
-
version_requirements: *
|
140
|
+
version_requirements: *16159780
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: rake
|
143
|
-
requirement: &
|
143
|
+
requirement: &16159120 !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|
146
146
|
- - ~>
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version: 10.
|
148
|
+
version: 10.4.2
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
|
-
version_requirements: *
|
151
|
+
version_requirements: *16159120
|
152
152
|
- !ruby/object:Gem::Dependency
|
153
153
|
name: redcarpet
|
154
|
-
requirement: &
|
154
|
+
requirement: &16158460 !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|
157
157
|
- - ~>
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.
|
159
|
+
version: 3.2.2
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
|
-
version_requirements: *
|
162
|
+
version_requirements: *16158460
|
163
163
|
- !ruby/object:Gem::Dependency
|
164
164
|
name: rspec
|
165
|
-
requirement: &
|
165
|
+
requirement: &16157880 !ruby/object:Gem::Requirement
|
166
166
|
none: false
|
167
167
|
requirements:
|
168
|
-
- -
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '2.14'
|
171
|
-
- - <
|
168
|
+
- - ~>
|
172
169
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
170
|
+
version: 3.1.0
|
174
171
|
type: :development
|
175
172
|
prerelease: false
|
176
|
-
version_requirements: *
|
173
|
+
version_requirements: *16157880
|
177
174
|
- !ruby/object:Gem::Dependency
|
178
175
|
name: timecop
|
179
|
-
requirement: &
|
176
|
+
requirement: &16113640 !ruby/object:Gem::Requirement
|
180
177
|
none: false
|
181
178
|
requirements:
|
182
179
|
- - ~>
|
@@ -184,10 +181,10 @@ dependencies:
|
|
184
181
|
version: 0.7.0
|
185
182
|
type: :development
|
186
183
|
prerelease: false
|
187
|
-
version_requirements: *
|
184
|
+
version_requirements: *16113640
|
188
185
|
- !ruby/object:Gem::Dependency
|
189
186
|
name: yard
|
190
|
-
requirement: &
|
187
|
+
requirement: &16112840 !ruby/object:Gem::Requirement
|
191
188
|
none: false
|
192
189
|
requirements:
|
193
190
|
- - ~>
|
@@ -195,10 +192,10 @@ dependencies:
|
|
195
192
|
version: 0.8.4
|
196
193
|
type: :development
|
197
194
|
prerelease: false
|
198
|
-
version_requirements: *
|
195
|
+
version_requirements: *16112840
|
199
196
|
- !ruby/object:Gem::Dependency
|
200
197
|
name: rb-inotify
|
201
|
-
requirement: &
|
198
|
+
requirement: &16111980 !ruby/object:Gem::Requirement
|
202
199
|
none: false
|
203
200
|
requirements:
|
204
201
|
- - ~>
|
@@ -206,10 +203,10 @@ dependencies:
|
|
206
203
|
version: 0.9.0
|
207
204
|
type: :development
|
208
205
|
prerelease: false
|
209
|
-
version_requirements: *
|
206
|
+
version_requirements: *16111980
|
210
207
|
- !ruby/object:Gem::Dependency
|
211
208
|
name: rb-fsevent
|
212
|
-
requirement: &
|
209
|
+
requirement: &16110740 !ruby/object:Gem::Requirement
|
213
210
|
none: false
|
214
211
|
requirements:
|
215
212
|
- - ~>
|
@@ -217,7 +214,7 @@ dependencies:
|
|
217
214
|
version: 0.9.2
|
218
215
|
type: :development
|
219
216
|
prerelease: false
|
220
|
-
version_requirements: *
|
217
|
+
version_requirements: *16110740
|
221
218
|
description: ! 'Be lazy: let Maid clean up after you. Think of it as "Hazel for hackers".'
|
222
219
|
email:
|
223
220
|
- hello@benjaminoakes.com
|