tasking 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasking/task.rb +4 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4981b897e547aedf77da48a0f5a2f89c5448fd299470279ffda024a5289233e4
4
- data.tar.gz: d28311cbd4a57f46fe4be001db419bc292b0978d78eca671b620ab0aae2517c7
3
+ metadata.gz: 25a99b719e370cd961b800d77d68edd993ccd00b0514260639fb3bba6bc18938
4
+ data.tar.gz: 383b0ecd9a132c200844ce499483a56d9b11eb0f9d52406a4f554c41d14b63aa
5
5
  SHA512:
6
- metadata.gz: c88afa523ba6e423767229752cf1c43d2b1f9712e3b6617d561525c69a9dc9e023afaaf11af7ee26939b5e21ef1878920d7817141dcd080297e17219ac612b6e
7
- data.tar.gz: 493bae7a0ace2c82abe526e6b8a9f13072313a99ca15b8dc1783c321bfbbe62052844c22d23ee91b35287f5d514ac3dbad54eb9ad29c32e41cd3c9b306b32c69
6
+ metadata.gz: fe802073a5b50d1f403caec63e349610ac9da911063fbbc158ea6c861e6c9b96c75fce2b7ce4286aa781aaee1bfc18a827cc6e5e8dec9fde2ca9561ccdd400fd
7
+ data.tar.gz: 7c48127a7b84dd735958cf2a57ec1864b544153e536b8f2358b1c6a5cbb24d6f5cba24b5141271dfc41f1802ed0e506d1a196453605746a83ba756563b330b1d
@@ -21,7 +21,10 @@ module Tasking
21
21
  end
22
22
 
23
23
  def execute( options = {} )
24
- total_options = @options.merge( options )
24
+ total_options = Options.build(parent_namespace.options.dup)
25
+ total_options.merge!( @options )
26
+ total_options.merge!( options )
27
+
25
28
  execute_task_chain( before_filters, total_options, "Unknown before task '%s' for task '#{@name}'" )
26
29
  block&.call( total_options )
27
30
  execute_task_chain( after_filters, total_options, "Unknown after task '%s' for task '#{@name}'" )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tasking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Riedel
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-12 00:00:00.000000000 Z
11
+ date: 2020-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -68,7 +68,7 @@ homepage: https://github.com/sriedel/tasking
68
68
  licenses:
69
69
  - GPL-2.0
70
70
  metadata: {}
71
- post_install_message:
71
+ post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
74
74
  - lib
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubygems_version: 3.1.2
87
- signing_key:
87
+ signing_key:
88
88
  specification_version: 4
89
89
  summary: A lightweight task runner DSL
90
90
  test_files: []