lookout-rake 3.0.2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -5
- data/lib/lookout-rake-3.0/version.rb +17 -3
- metadata +71 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf413baae226ab7c2e45c8d2a885cc59158b9dc0
|
4
|
+
data.tar.gz: 59c0ceef9ad01a728c4bee41ea768a85a3892fed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47264e5cee4fd5f02b952337beb7f19f062795359fddafaf42fdd8048c22d1b3deb114a8597ef7a3dfd6d309934363c8ffb50bdcfca53705101a48425fbe0e54
|
7
|
+
data.tar.gz: aa5d02069211e15633217b68d08c63bd53e2f65083ce163c23542953170aba6ec2a89ab402071658ef24e02af2a8ad0db5feb38166e9688a95cf4a3d80f9385a
|
data/Rakefile
CHANGED
@@ -5,11 +5,7 @@ require 'inventory-rake-1.0'
|
|
5
5
|
$:.unshift File.expand_path('../lib', __FILE__)
|
6
6
|
require 'lookout-rake-3.0'
|
7
7
|
|
8
|
-
Inventory::Rake::Tasks.define Lookout::Rake::Version
|
9
|
-
s.author = 'Nikolai Weibull'
|
10
|
-
s.email = 'now@bitwi.se'
|
11
|
-
s.homepage = 'https://github.com/now/lookout-rake'
|
12
|
-
}
|
8
|
+
Inventory::Rake::Tasks.define Lookout::Rake::Version
|
13
9
|
|
14
10
|
Inventory::Rake::Tasks.unless_installing_dependencies do
|
15
11
|
Lookout::Rake::Tasks::Test.new
|
@@ -3,13 +3,27 @@
|
|
3
3
|
require 'inventory-1.0'
|
4
4
|
|
5
5
|
module Lookout::Rake
|
6
|
-
Version = Inventory.new(3,
|
6
|
+
Version = Inventory.new(3, 1, 0){
|
7
|
+
authors{
|
8
|
+
author 'Nikolai Weibull', 'now@disu.se'
|
9
|
+
}
|
10
|
+
|
11
|
+
homepage 'http://disu.se/software/lookout-rake'
|
12
|
+
|
13
|
+
licenses{
|
14
|
+
license 'LGPLv3+',
|
15
|
+
'GNU Lesser General Public License, version 3 or later',
|
16
|
+
'http://www.gnu.org/licenses/'
|
17
|
+
}
|
18
|
+
|
7
19
|
def dependencies
|
8
20
|
super + Inventory::Dependencies.new{
|
9
|
-
development 'inventory-rake', 1,
|
21
|
+
development 'inventory-rake', 1, 6, 0
|
22
|
+
development 'inventory-rake-tasks-yard', 1, 4, 0
|
23
|
+
development 'lookout', 3, 0, 0
|
10
24
|
development 'yard', 0, 8, 0
|
11
25
|
development 'yard-heuristics', 1, 1, 0
|
12
|
-
runtime 'rake',
|
26
|
+
runtime 'rake', 10, 0, 0, :feature => 'rake'
|
13
27
|
}
|
14
28
|
end
|
15
29
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lookout-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolai Weibull
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04
|
11
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inventory
|
@@ -16,16 +16,30 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: inventory-rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.6'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: inventory-rake-tasks-yard
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ~>
|
@@ -38,6 +52,20 @@ dependencies:
|
|
38
52
|
- - ~>
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '1.4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: lookout
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: yard
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,48 +100,48 @@ dependencies:
|
|
72
100
|
requirements:
|
73
101
|
- - ~>
|
74
102
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0
|
103
|
+
version: '10.0'
|
76
104
|
type: :runtime
|
77
105
|
prerelease: false
|
78
106
|
version_requirements: !ruby/object:Gem::Requirement
|
79
107
|
requirements:
|
80
108
|
- - ~>
|
81
109
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0
|
110
|
+
version: '10.0'
|
83
111
|
description: |2
|
84
112
|
Lookout-Rake
|
85
113
|
|
86
|
-
Lookout-Rake provides Rake
|
114
|
+
Lookout-Rake provides Rake┬╣ tasks for testing using Lookout.
|
87
115
|
|
88
|
-
|
116
|
+
┬╣ See http://rake.rubyforge.org/
|
89
117
|
|
90
|
-
|
118
|
+
§ Installation
|
91
119
|
|
92
120
|
Install Lookout-Rake with
|
93
121
|
|
94
122
|
% gem install lookout-rake
|
95
123
|
|
96
|
-
|
124
|
+
§ Usage
|
97
125
|
|
98
|
-
Include the following code in your
|
126
|
+
Include the following code in your ‹Rakefile›:
|
99
127
|
|
100
128
|
require 'lookout-rake-3.0'
|
101
129
|
|
102
130
|
Lookout::Rake::Tasks::Test.new
|
103
131
|
|
104
|
-
If the
|
105
|
-
|
106
|
-
There
|
132
|
+
If the ‹:default› task hasn’t been defined it’ll be set to depend on the
|
133
|
+
‹:test› task. The ‹:check› task will also depend on the ‹:test› task.
|
134
|
+
There’s also a ‹:test:coverage› task that gets defined that uses the
|
107
135
|
coverage library that comes with Ruby 1.9 to check the test coverage when
|
108
136
|
the tests are run.
|
109
137
|
|
110
|
-
You can hook up your test task to use your Inventory
|
138
|
+
You can hook up your test task to use your Inventory┬╣:
|
111
139
|
|
112
140
|
load File.expand_path('../lib/library-X.0/version.rb', __FILE__)
|
113
141
|
|
114
142
|
Lookout::Rake::Tasks::Test.new :inventory => Library::Version
|
115
143
|
|
116
|
-
Also, if you use the tasks that come with Inventory-Rake
|
144
|
+
Also, if you use the tasks that come with Inventory-Rake┬▓, the test task
|
117
145
|
will hook into the inventory you tell them to use automatically, that is,
|
118
146
|
the following will do:
|
119
147
|
|
@@ -123,24 +151,24 @@ description: |2
|
|
123
151
|
|
124
152
|
Lookout::Rake::Tasks::Test.new
|
125
153
|
|
126
|
-
For further usage information, see the {API documentation}
|
154
|
+
For further usage information, see the {API documentation}┬│.
|
127
155
|
|
128
|
-
|
129
|
-
|
130
|
-
|
156
|
+
┬╣ Inventory: http://disu.se/software/inventory/
|
157
|
+
┬▓ Inventory-Rake: http://disu.se/software/inventory-rake/
|
158
|
+
┬│ API: http://disu.se/software/lookout-rake/api/Lookout/Rake/Tasks/Test/
|
131
159
|
|
132
|
-
|
160
|
+
§ Integration
|
133
161
|
|
134
|
-
To use Lookout together with Vim
|
135
|
-
|
162
|
+
To use Lookout together with Vim¹, place ‹contrib/rakelookout.vim› in
|
163
|
+
‹~/.vim/compiler› and add
|
136
164
|
|
137
165
|
compiler rakelookout
|
138
166
|
|
139
|
-
to
|
167
|
+
to ‹~/.vim/after/ftplugin/ruby.vim›. Executing ‹:make› from inside Vim
|
140
168
|
will now run your tests and an errors and failures can be visited with
|
141
|
-
|
169
|
+
‹:cnext›. Execute ‹:help quickfix› for additional information.
|
142
170
|
|
143
|
-
Another useful addition to your
|
171
|
+
Another useful addition to your ‹~/.vim/after/ftplugin/ruby.vim› file may
|
144
172
|
be
|
145
173
|
|
146
174
|
nnoremap <buffer> <silent> <Leader>M <Esc>:call <SID>run_test()<CR>
|
@@ -156,15 +184,15 @@ description: |2
|
|
156
184
|
execute 'make' 'TEST=' . shellescape(test) line
|
157
185
|
endfunction
|
158
186
|
|
159
|
-
Now, pressing
|
187
|
+
Now, pressing ‹<Leader>M› will either run all tests for a given class, if
|
160
188
|
the implementation file is active, or run the test at or just before the
|
161
|
-
cursor, if the test file is active. This is useful if you
|
189
|
+
cursor, if the test file is active. This is useful if youΓÇÖre currently
|
162
190
|
receiving a lot of errors and/or failures and want to focus on those
|
163
191
|
associated with a specific class or on a specific test.
|
164
192
|
|
165
|
-
|
193
|
+
┬╣ Find out more about Vim at http://www.vim.org/
|
166
194
|
|
167
|
-
|
195
|
+
§ Financing
|
168
196
|
|
169
197
|
Currently, most of my time is spent at my day job and in my rather busy
|
170
198
|
private life. Please motivate me to spend time on this piece of software
|
@@ -174,22 +202,23 @@ description: |2
|
|
174
202
|
to have other people give me the things that I need to continue living
|
175
203
|
under the rules of said society. So, if you feel that this piece of
|
176
204
|
software has helped you out enough to warrant a reward, please PayPal a
|
177
|
-
donation to now@disu.se
|
205
|
+
donation to now@disu.se┬╣. Thanks! Your support wonΓÇÖt go unnoticed!
|
178
206
|
|
179
|
-
|
207
|
+
┬╣ Send a donation:
|
180
208
|
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now%40disu%2ese&item_name=Nikolai%20Weibull%20Software%20Services
|
181
209
|
|
182
|
-
|
210
|
+
§ Reporting Bugs
|
183
211
|
|
184
|
-
Please report any bugs that you encounter to the {issue tracker}
|
212
|
+
Please report any bugs that you encounter to the {issue tracker}┬╣.
|
185
213
|
|
186
|
-
|
214
|
+
┬╣ See https://github.com/now/lookout-rake/issues
|
187
215
|
|
188
|
-
|
216
|
+
§ Authors
|
189
217
|
|
190
218
|
Nikolai Weibull wrote the code, the tests, the manual pages, and this
|
191
219
|
README.
|
192
|
-
email:
|
220
|
+
email:
|
221
|
+
- now@disu.se
|
193
222
|
executables: []
|
194
223
|
extensions: []
|
195
224
|
extra_rdoc_files: []
|
@@ -206,8 +235,9 @@ files:
|
|
206
235
|
- test/unit/lookout-rake-3.0/version.rb
|
207
236
|
- README
|
208
237
|
- Rakefile
|
209
|
-
homepage:
|
210
|
-
licenses:
|
238
|
+
homepage: http://disu.se/software/lookout-rake
|
239
|
+
licenses:
|
240
|
+
- LGPLv3+
|
211
241
|
metadata: {}
|
212
242
|
post_install_message:
|
213
243
|
rdoc_options: []
|
@@ -225,8 +255,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
255
|
version: '0'
|
226
256
|
requirements: []
|
227
257
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.0.
|
258
|
+
rubygems_version: 2.0.2
|
229
259
|
signing_key:
|
230
260
|
specification_version: 4
|
231
|
-
summary: Lookout-Rake provides Rake
|
261
|
+
summary: Lookout-Rake provides Rake┬╣ tasks for testing using Lookout.
|
232
262
|
test_files: []
|