henry-container 0.0.50 → 0.0.51
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.
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/environment.rb +1 -0
- data/lib/henry/task/rspec_task.rb +12 -1
- metadata +2 -2
data/lib/henry/environment.rb
CHANGED
@@ -58,7 +58,7 @@ module Henry
|
|
58
58
|
#
|
59
59
|
# @return [String]
|
60
60
|
def custom_options
|
61
|
-
"#{self.format_options} #{self.report_options}"
|
61
|
+
"#{self.format_options} #{self.tags_options} #{self.report_options}"
|
62
62
|
end
|
63
63
|
|
64
64
|
# Returns the default rspec_opts.
|
@@ -74,6 +74,17 @@ module Henry
|
|
74
74
|
def format_options
|
75
75
|
"--format #{self.data.options['format'] || 'documentation'} --out #{OUT_PATH}"
|
76
76
|
end
|
77
|
+
|
78
|
+
# Returns the rspec_opts related with tags to be run.
|
79
|
+
#
|
80
|
+
# @return [String]
|
81
|
+
def tags_options
|
82
|
+
return '' if self.data.options['tags'].nil?
|
83
|
+
|
84
|
+
self.data.options['tags'].collect do |tag|
|
85
|
+
"--tag #{tag}"
|
86
|
+
end.join(' ')
|
87
|
+
end
|
77
88
|
|
78
89
|
# Returns the rspec_opts related with report paaths and formats.
|
79
90
|
#
|
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.
|
4
|
+
version: 0.0.51
|
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-08-
|
12
|
+
date: 2012-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|