henry-container 0.0.65 → 0.0.66

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/bin/release.sh CHANGED
@@ -11,7 +11,7 @@ gem inabox henry-container-${gem_version}.gem
11
11
 
12
12
  rm henry-container-${gem_version}.gem
13
13
 
14
- git pull origin develop
15
- git push origin develop
14
+ git pull origin master
15
+ git push origin master
16
16
  git tag -a -m "henry-container-${gem_version}" henry-container-${gem_version}
17
17
  git push --tags
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.65'
6
+ VERSION = '0.0.66'
7
7
 
8
8
  end
9
9
 
@@ -38,6 +38,7 @@ module Henry
38
38
  File.open(OUT_PATH, 'w') { |f| }
39
39
 
40
40
  # Makes available the cucumber rake task.
41
+ Rake.application.clear
41
42
  Cucumber::Rake::Task.new do |t|
42
43
  if self.data.options
43
44
  t.cucumber_opts = "#{self.custom_options} #{extended_context['options']}"
@@ -20,10 +20,7 @@ module Henry
20
20
  # Executes the Task and returns its results.
21
21
  def execute
22
22
  begin
23
- unless Rake.application[self.application_name].invoke
24
- Rake.application[self.application_name].reenable
25
- Rake.application[self.application_name].invoke
26
- end
23
+ Rake.application[self.application_name].invoke
27
24
 
28
25
  self.execution.code = 'OK'
29
26
  self.execution.message = 'OK'
@@ -20,7 +20,7 @@ module Henry
20
20
  # The Rspec Rake Application name.
21
21
  #
22
22
  # @return [String] the rake application name.
23
- APPLICATION_NAME = 'rspec'
23
+ APPLICATION_NAME = 'spec'
24
24
 
25
25
  def application_name
26
26
  APPLICATION_NAME
@@ -38,6 +38,7 @@ module Henry
38
38
  File.open(OUT_PATH, 'w') { |f| }
39
39
 
40
40
  # Makes available the spec rake task.
41
+ Rake.application.clear
41
42
  RSpec::Core::RakeTask.new do |t|
42
43
  if self.data.options
43
44
  t.pattern = self.data.options['pattern'] || 'spec/*'
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.65
4
+ version: 0.0.66
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-10-30 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake