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 CHANGED
@@ -1,3 +1,3 @@
1
1
  --colour
2
2
  --profile
3
- -fs
3
+ --format documentation
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
 
@@ -1,3 +1,3 @@
1
1
  module Maid
2
- VERSION = '0.6.0.alpha.3'
2
+ VERSION = '0.6.0.alpha.4'
3
3
  end
@@ -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.7.9')
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.6.1')
38
- s.add_development_dependency('guard-rspec', '~> 4.3.1')
39
- s.add_development_dependency('rake', '~> 10.3.2')
40
- s.add_development_dependency('redcarpet', '~> 3.1.2') # Soft dependency of `yard`
41
- s.add_development_dependency('rspec', '>= 2.14', '< 3.0')
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
- its(:name) { should eq(name) }
12
- its(:task) { should eq(task) }
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.3
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: &17252340 !ruby/object:Gem::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: *17252340
27
+ version_requirements: *16193980
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: thor
30
- requirement: &17251340 !ruby/object:Gem::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: *17251340
41
+ version_requirements: *16190100
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: deprecated
44
- requirement: &17249860 !ruby/object:Gem::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: *17249860
52
+ version_requirements: *16165540
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: mime-types
55
- requirement: &17249340 !ruby/object:Gem::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: *17249340
63
+ version_requirements: *16164520
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rubyzip
66
- requirement: &17248660 !ruby/object:Gem::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: *17248660
74
+ version_requirements: *16163540
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: xdg
77
- requirement: &17247680 !ruby/object:Gem::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: *17247680
85
+ version_requirements: *16162880
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: listen
88
- requirement: &17246700 !ruby/object:Gem::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.7.9
93
+ version: 2.8.0
94
94
  type: :runtime
95
95
  prerelease: false
96
- version_requirements: *17246700
96
+ version_requirements: *16162260
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rufus-scheduler
99
- requirement: &17233580 !ruby/object:Gem::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: *17233580
107
+ version_requirements: *16161600
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: fakefs
110
- requirement: &17232800 !ruby/object:Gem::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: *17232800
118
+ version_requirements: *16161020
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: guard
121
- requirement: &17232080 !ruby/object:Gem::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.6.1
126
+ version: 2.10.4
127
127
  type: :development
128
128
  prerelease: false
129
- version_requirements: *17232080
129
+ version_requirements: *16160460
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: guard-rspec
132
- requirement: &17231520 !ruby/object:Gem::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.3.1
137
+ version: 4.5.0
138
138
  type: :development
139
139
  prerelease: false
140
- version_requirements: *17231520
140
+ version_requirements: *16159780
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: rake
143
- requirement: &17230980 !ruby/object:Gem::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.3.2
148
+ version: 10.4.2
149
149
  type: :development
150
150
  prerelease: false
151
- version_requirements: *17230980
151
+ version_requirements: *16159120
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: redcarpet
154
- requirement: &17230180 !ruby/object:Gem::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.1.2
159
+ version: 3.2.2
160
160
  type: :development
161
161
  prerelease: false
162
- version_requirements: *17230180
162
+ version_requirements: *16158460
163
163
  - !ruby/object:Gem::Dependency
164
164
  name: rspec
165
- requirement: &17229180 !ruby/object:Gem::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: '3.0'
170
+ version: 3.1.0
174
171
  type: :development
175
172
  prerelease: false
176
- version_requirements: *17229180
173
+ version_requirements: *16157880
177
174
  - !ruby/object:Gem::Dependency
178
175
  name: timecop
179
- requirement: &17228420 !ruby/object:Gem::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: *17228420
184
+ version_requirements: *16113640
188
185
  - !ruby/object:Gem::Dependency
189
186
  name: yard
190
- requirement: &17227860 !ruby/object:Gem::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: *17227860
195
+ version_requirements: *16112840
199
196
  - !ruby/object:Gem::Dependency
200
197
  name: rb-inotify
201
- requirement: &17227100 !ruby/object:Gem::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: *17227100
206
+ version_requirements: *16111980
210
207
  - !ruby/object:Gem::Dependency
211
208
  name: rb-fsevent
212
- requirement: &17226400 !ruby/object:Gem::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: *17226400
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