steppy 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7e6892375006e22092d3a4a3ab249d326bf46084f9d437fb18b8c271e8ecbe4
4
- data.tar.gz: 10929d2c331facf37247f56a2f21b54eddfd400ce79297b3e67c6e0a2d4a4e38
3
+ metadata.gz: 52fbcb959ea836b3812501583c7c46d8ec21f0a828169a0cbb47a1d7e4a42c5b
4
+ data.tar.gz: 0352cc8de69c37cdc2eede916222b1351a25b409c6b16a5103a1364bd81a82d5
5
5
  SHA512:
6
- metadata.gz: ce420c04b8d064706448a26cd2779eea3619e8d33a749f997ffb0eea74a1561bd2deea7a6f3e61efaab7134fb9cc8dc6ad3e9b7daf10184f71aa2c1fd7ce998f
7
- data.tar.gz: 59a2b2dc36b696d4cb52be3fb6124ed7d488887b33f3a67a48a46c53de53ee11c2ca0bb0f24f759a6f482faae561ae12b5a362c388d351bd40a7bb9cee3e5e2d
6
+ metadata.gz: 9b0228b70c1c8000ff6dc3c3674ae426c768e9bd6698dd7b7872b3e535d5513f8b3b327be36f1ab9100eae7ce033c674a1a4ce31ca2bdb39a6922ec6120e9500
7
+ data.tar.gz: 1f358c82cdbf4631e257442d92e7b658336f109d1a5e9ec309884a68c1c16185f0a0f395eccc38e9bdb5aad5a7f6efc32cfeec81762fbafb11320abb221b51fd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- steppy (0.5.1)
4
+ steppy (0.5.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/steppy.rb CHANGED
@@ -91,6 +91,10 @@ module Steppy
91
91
  end
92
92
 
93
93
  def steppy_run_steps(steps)
94
+ if !steps
95
+ return
96
+ end
97
+
94
98
  steps.each do |step|
95
99
  @steppy[:result] = step.key?(:step_if) ? steppy_if_block(step) : steppy_step(step)
96
100
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Steppy
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steppy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-18 00:00:00.000000000 Z
11
+ date: 2018-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler