guard-rspec 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -138,16 +138,15 @@ directly communicating with the RSpec DRb server. This avoids the extra overhea
138
138
  shell, bundler and loading RSpec's environment just to send a DRb message. It shaves off a
139
139
  second or two before the specs start to run; they should run almost immediately.
140
140
 
141
-
142
- Notification
143
- ------------
141
+ ## Notification
144
142
 
145
143
  The notification feature is only available for RSpec < 2, and RSpec >= 2.4 (due to the multiple-formatters feature that was present in RSpec 1, was removed in RSpec 2 and reintroduced in RSpec 2.4). So if you are using a version between 2 and 2.4, you should disable the notification with <tt>:notification => false</tt>. Otherwise, nothing will be displayed in the terminal when your specs will run.
146
144
 
145
+ Note that setting the environment variable `SPEC_OPTS` can cause notifications to fail.
146
+
147
147
  The best solution is still to update RSpec to the latest version!
148
148
 
149
- Formatters
150
- ----------
149
+ ## Formatters
151
150
 
152
151
  The `:formatter` option has been removed since CLI arguments can be passed through the `:cli` option. If you want to use the former Instafail formatter, you need to use [rspec-instafail](http://rubygems.org/gems/rspec-instafail) gem instead:
153
152
 
@@ -163,8 +162,7 @@ end
163
162
 
164
163
  Default formatter is the `progress` formatter (same as RSpec default).
165
164
 
166
- Running a subset of all specs
167
- -----------
165
+ ## Running a subset of all specs
168
166
 
169
167
  The `:all_on_start` and `:all_after_pass` options cause all specs located in the `spec` directory to be run. If there
170
168
  are some specs you want to skip, you can tag them with RSpec metadata (such as `:slow => true`)
@@ -188,28 +186,29 @@ group 'unit-tests' do
188
186
  end
189
187
  ```
190
188
 
189
+ ## Development
191
190
 
192
- Development
193
- -----------
191
+ * Documentation hosted at [RubyDoc](http://rubydoc.info/github/guard/guard-rspec/master/frames).
192
+ * Source hosted at [GitHub](https://github.com/guard/guard-rspec).
194
193
 
195
- * Source hosted at [GitHub](https://github.com/guard/guard-rspec)
196
- * Report issues/Questions/Feature requests on [GitHub Issues](https://github.com/guard/guard-rspec/issues)
194
+ Pull requests are very welcome! Please try to follow these simple rules if applicable:
197
195
 
198
- Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change
199
- you make.
196
+ * Please create a topic branch for every separate change you make.
197
+ * Make sure your patches are well tested. All specs run with `rake spec:portability` must pass.
198
+ * Update the [README](https://github.com/guard/guard-rspec/blob/master/README.md).
199
+ * Please **do not change** the version number.
200
200
 
201
- Testing
202
- -------
201
+ For questions please join us in our [Google group](http://groups.google.com/group/guard-dev) or on
202
+ `#guard` (irc.freenode.net).
203
+
204
+ ### Testing
203
205
 
204
206
  Please run `rake spec:prepare_fixtures` once before launching specs.
205
207
 
206
- Author
207
- ------
208
+ ### Author
208
209
 
209
- [Thibaud Guillaume-Gentil](https://github.com/thibaudgg)
210
+ [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) ([@thibaudgg](http://twitter.com/thibaudgg))
210
211
 
211
- Contributors
212
- ------------
212
+ ### Contributors
213
213
 
214
214
  [https://github.com/guard/guard-rspec/contributors](https://github.com/guard/guard-rspec/contributors)
215
-
@@ -22,6 +22,10 @@ module Guard
22
22
  :zeus => false
23
23
  }.merge(options)
24
24
 
25
+ unless ENV['SPEC_OPTS'].nil?
26
+ UI.warning "The SPEC_OPTS environment variable is present. This can conflict with guard-rspec, particularly notifications."
27
+ end
28
+
25
29
  deprecations_warnings
26
30
  end
27
31
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RSpecVersion
3
- VERSION = "2.4.0"
3
+ VERSION = "2.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,25 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
5
4
  prerelease:
5
+ version: 2.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thibaud Guillaume-Gentil
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-17 00:00:00.000000000 Z
12
+ date: 2013-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
+ type: :runtime
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: '1.1'
22
- type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
@@ -29,13 +29,13 @@ dependencies:
29
29
  version: '1.1'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rspec
32
+ type: :runtime
32
33
  requirement: !ruby/object:Gem::Requirement
33
34
  none: false
34
35
  requirements:
35
36
  - - ~>
36
37
  - !ruby/object:Gem::Version
37
38
  version: '2.11'
38
- type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
@@ -45,13 +45,13 @@ dependencies:
45
45
  version: '2.11'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bundler
48
+ type: :development
48
49
  requirement: !ruby/object:Gem::Requirement
49
50
  none: false
50
51
  requirements:
51
52
  - - ~>
52
53
  - !ruby/object:Gem::Version
53
54
  version: '1.1'
54
- type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
@@ -86,9 +86,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  - - ! '>='
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
- segments:
90
- - 0
91
- hash: 359439846919578835
92
89
  required_rubygems_version: !ruby/object:Gem::Requirement
93
90
  none: false
94
91
  requirements: