henry-container 0.0.38 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.38'
6
+ VERSION = '0.0.39'
7
7
 
8
8
  end
9
9
 
@@ -32,8 +32,13 @@ module Henry
32
32
 
33
33
  # Makes available the spec rake task.
34
34
  RSpec::Core::RakeTask.new do |t|
35
- t.pattern = (self.data.options && self.data.options['pattern']) || 'spec/*'
36
- t.rspec_opts = '--out rspec.out'
35
+ if self.data.options
36
+ t.pattern = self.data.options['pattern'] || 'spec/*'
37
+ t.rspec_opts = "--out rspec.out --format #{self.data.options['format'] || 'documentation'}"
38
+ else
39
+ t.pattern = 'spec/*'
40
+ t.rspec_opts = '--out rspec.out'
41
+ end
37
42
  end
38
43
 
39
44
  self.export_params(params)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.38
4
+ version: 0.0.39
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-30 00:00:00.000000000 Z
12
+ date: 2012-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake