runbook 0.16.0 → 0.16.1

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: d8094ea43f8e96a2c1ccaf981248b84bef276b714460cd0b5c3fa1795f736e3a
4
- data.tar.gz: 229c3d600c9bcd985451333027ac639a87e922547fa74e6688cef3db96373931
3
+ metadata.gz: 327e40dc7d06ef4ea604565750b4a6bd8aa7950453911d1d5331bb12f2dee453
4
+ data.tar.gz: ccd9929823ffbee857e883baaafc8aed5f1a95dd074b327dd2156fc669bd4aac
5
5
  SHA512:
6
- metadata.gz: be0ebd6c86a3ccaf34af851fe20d660a70752d7c4e32bbae9c14f6406e841ff230971e7c95f206da670594528af36ea3a97b4481e9981ca41753ede34b305fb8
7
- data.tar.gz: f5b4f2b9d0c043e1eb10242f09892fa5011d1fd36e8325e83f46dccef50db3bd9691677379a82a70cc3697fa41c965c93f924ac8742f20868ce64b097d0aef55
6
+ metadata.gz: bce6f3b3bac537977fa9b94281bc3112d129259ae9b6caae1fe2b2eacb7653a192ab25e38aa0bf6b13cc8b3803d26c92d8cf620ba87376f91e5e3da75bb4e9a0
7
+ data.tar.gz: dfd5d2f7119852045414ab57b1ec16b64154e4b6dcca84526ed832dccfd10171df37ec433e41d47a0dd2af6884415ee2ce2c18fb141564ea7ddae93ee392e351
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ This log maintains a list of all substantive changes to Runbook. The log include
4
4
 
5
5
  ## master
6
6
 
7
+ ## `v0.16.1` (2019-11-25)
8
+
9
+ ### Fixes:
10
+
11
+ * Fix bug preventing skipping of steps not nested in sections (Thanks celeen!)
12
+
7
13
  ## `v0.16.0` (2019-11-22)
8
14
 
9
15
  ### Fixes:
data/lib/runbook/run.rb CHANGED
@@ -233,9 +233,9 @@ module Runbook
233
233
  return
234
234
  when :skip
235
235
  position = metadata[:position]
236
- current_step = position.split(".")[-1].to_i
237
- new_step = current_step + 1
238
- start_at = position.gsub(/\.#{current_step}$/, ".#{new_step}")
236
+ split_position = position.split(".")
237
+ new_step = (split_position.pop.to_i + 1).to_s
238
+ start_at = (split_position << new_step).join(".")
239
239
  metadata[:start_at] = start_at
240
240
  when :jump
241
241
  result = toolbox.ask("What position would you like to jump to?")
@@ -1,3 +1,3 @@
1
1
  module Runbook
2
- VERSION = "0.16.0"
2
+ VERSION = "0.16.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pblesi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-22 00:00:00.000000000 Z
11
+ date: 2019-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport