guard-rspectacle 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -0
- data/lib/guard/rspectacle.rb +1 -1
- data/lib/guard/rspectacle/version.rb +1 -1
- data/lib/guard/rspectacle/version.rbc +203 -0
- metadata +54 -20
data/README.md
CHANGED
@@ -159,6 +159,13 @@ easily (suggest if you know how?). So just keep in mind: **you are monkey-patchi
|
|
159
159
|
Please have a look at the rock solid [guard-rspec](https://github.com/guard/guard-rspec). Guard::RSpectacle uses it
|
160
160
|
for continuous testing.
|
161
161
|
|
162
|
+
## Shameless self promotion
|
163
|
+
|
164
|
+
Developed by Michael Kessler, sponsored by [mksoft.ch](https://mksoft.ch).
|
165
|
+
|
166
|
+
If you like Guard::RSpectacle, you can watch the repository at [GitHub](https://github.com/netzpirat/guard-rspectacle) and
|
167
|
+
follow [@netzpirat](https://twitter.com/#!/netzpirat) on Twitter for project updates.
|
168
|
+
|
162
169
|
## Issues
|
163
170
|
|
164
171
|
You can report issues and feature requests to [GitHub Issues](https://github.com/netzpirat/guard-rspectacle/issues).
|
data/lib/guard/rspectacle.rb
CHANGED
@@ -88,7 +88,7 @@ module Guard
|
|
88
88
|
# @param [Array<String>] paths the changed paths and files
|
89
89
|
# @raise [:task_has_failed] when run_on_change has failed
|
90
90
|
#
|
91
|
-
def
|
91
|
+
def run_on_changes(paths)
|
92
92
|
specs = Inspector.clean(paths)
|
93
93
|
return false if specs.empty?
|
94
94
|
|
@@ -0,0 +1,203 @@
|
|
1
|
+
!RBIX
|
2
|
+
9595534255132031488
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
5
|
54
|
+
Guard
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
5
|
67
|
+
Guard
|
68
|
+
i
|
69
|
+
28
|
70
|
+
5
|
71
|
+
66
|
72
|
+
99
|
73
|
+
7
|
74
|
+
0
|
75
|
+
65
|
76
|
+
49
|
77
|
+
1
|
78
|
+
2
|
79
|
+
13
|
80
|
+
99
|
81
|
+
12
|
82
|
+
7
|
83
|
+
2
|
84
|
+
12
|
85
|
+
7
|
86
|
+
3
|
87
|
+
12
|
88
|
+
65
|
89
|
+
12
|
90
|
+
49
|
91
|
+
4
|
92
|
+
4
|
93
|
+
15
|
94
|
+
49
|
95
|
+
2
|
96
|
+
0
|
97
|
+
11
|
98
|
+
I
|
99
|
+
6
|
100
|
+
I
|
101
|
+
0
|
102
|
+
I
|
103
|
+
0
|
104
|
+
I
|
105
|
+
0
|
106
|
+
n
|
107
|
+
p
|
108
|
+
5
|
109
|
+
x
|
110
|
+
17
|
111
|
+
RSpectacleVersion
|
112
|
+
x
|
113
|
+
11
|
114
|
+
open_module
|
115
|
+
x
|
116
|
+
15
|
117
|
+
__module_init__
|
118
|
+
M
|
119
|
+
1
|
120
|
+
n
|
121
|
+
n
|
122
|
+
x
|
123
|
+
17
|
124
|
+
RSpectacleVersion
|
125
|
+
i
|
126
|
+
12
|
127
|
+
5
|
128
|
+
66
|
129
|
+
65
|
130
|
+
7
|
131
|
+
0
|
132
|
+
7
|
133
|
+
1
|
134
|
+
64
|
135
|
+
49
|
136
|
+
2
|
137
|
+
2
|
138
|
+
11
|
139
|
+
I
|
140
|
+
3
|
141
|
+
I
|
142
|
+
0
|
143
|
+
I
|
144
|
+
0
|
145
|
+
I
|
146
|
+
0
|
147
|
+
n
|
148
|
+
p
|
149
|
+
3
|
150
|
+
x
|
151
|
+
7
|
152
|
+
VERSION
|
153
|
+
s
|
154
|
+
5
|
155
|
+
0.2.0
|
156
|
+
x
|
157
|
+
9
|
158
|
+
const_set
|
159
|
+
p
|
160
|
+
3
|
161
|
+
I
|
162
|
+
2
|
163
|
+
I
|
164
|
+
4
|
165
|
+
I
|
166
|
+
c
|
167
|
+
x
|
168
|
+
74
|
169
|
+
/Users/michi/Repositories/guard-rspectacle/lib/guard/rspectacle/version.rb
|
170
|
+
p
|
171
|
+
0
|
172
|
+
x
|
173
|
+
13
|
174
|
+
attach_method
|
175
|
+
p
|
176
|
+
3
|
177
|
+
I
|
178
|
+
2
|
179
|
+
I
|
180
|
+
2
|
181
|
+
I
|
182
|
+
1c
|
183
|
+
x
|
184
|
+
74
|
185
|
+
/Users/michi/Repositories/guard-rspectacle/lib/guard/rspectacle/version.rb
|
186
|
+
p
|
187
|
+
0
|
188
|
+
x
|
189
|
+
13
|
190
|
+
attach_method
|
191
|
+
p
|
192
|
+
3
|
193
|
+
I
|
194
|
+
0
|
195
|
+
I
|
196
|
+
1
|
197
|
+
I
|
198
|
+
1c
|
199
|
+
x
|
200
|
+
74
|
201
|
+
/Users/michi/Repositories/guard-rspectacle/lib/guard/rspectacle/version.rb
|
202
|
+
p
|
203
|
+
0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rspectacle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,27 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 1.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rspec
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,32 +37,47 @@ dependencies:
|
|
32
37
|
version: 2.8.0
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.8.0
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: bundler
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
|
-
- -
|
51
|
+
- - ! '>='
|
42
52
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
53
|
+
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: guard-rspec
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
|
-
- -
|
67
|
+
- - ! '>='
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
69
|
+
version: '0'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: yard
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: kramdown
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ! '>='
|
@@ -76,7 +101,12 @@ dependencies:
|
|
76
101
|
version: '0'
|
77
102
|
type: :development
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
80
110
|
description: Guard::RSpectacle automatically tests your code with RSpec
|
81
111
|
email:
|
82
112
|
- michi@netzpiraten.ch
|
@@ -92,6 +122,7 @@ files:
|
|
92
122
|
- lib/guard/rspectacle/runner.rb
|
93
123
|
- lib/guard/rspectacle/templates/Guardfile
|
94
124
|
- lib/guard/rspectacle/version.rb
|
125
|
+
- lib/guard/rspectacle/version.rbc
|
95
126
|
- lib/guard/rspectacle.rb
|
96
127
|
- LICENSE
|
97
128
|
- README.md
|
@@ -107,6 +138,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
138
|
- - ! '>='
|
108
139
|
- !ruby/object:Gem::Version
|
109
140
|
version: '0'
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
hash: 1422361966854392374
|
110
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
145
|
none: false
|
112
146
|
requirements:
|
@@ -115,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
149
|
version: 1.3.6
|
116
150
|
requirements: []
|
117
151
|
rubyforge_project: guard-rspec
|
118
|
-
rubygems_version: 1.8.
|
152
|
+
rubygems_version: 1.8.24
|
119
153
|
signing_key:
|
120
154
|
specification_version: 3
|
121
155
|
summary: Guard gem for RSpec testing
|