diddy 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/diddy.gemspec +1 -1
  2. data/lib/diddy/script.rb +1 -1
  3. metadata +2 -2
data/diddy.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "diddy"
7
- gem.version = '0.6.0'
7
+ gem.version = '0.7.0'
8
8
  gem.authors = ["Diederick Lawson", "Marcel de Graaf"]
9
9
  gem.email = ["diederick@altovista.nl", "mail@marceldegraaf.net"]
10
10
  gem.description = %q{Diddy script runner}
data/lib/diddy/script.rb CHANGED
@@ -39,7 +39,7 @@ module Diddy
39
39
  steps_instance = find_steps_instance_for(description)
40
40
 
41
41
  # check if step exists
42
- if steps_instance.class.has_step?(description)
42
+ if steps_instance && steps_instance.class.has_step?(description)
43
43
  @steps << Diddy::Step.new(
44
44
  description: description,
45
45
  steps_instance: steps_instance,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-29 00:00:00.000000000 Z
13
+ date: 2013-02-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: term/aniscolor