tasking 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasking/task.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a99b719e370cd961b800d77d68edd993ccd00b0514260639fb3bba6bc18938
|
4
|
+
data.tar.gz: 383b0ecd9a132c200844ce499483a56d9b11eb0f9d52406a4f554c41d14b63aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe802073a5b50d1f403caec63e349610ac9da911063fbbc158ea6c861e6c9b96c75fce2b7ce4286aa781aaee1bfc18a827cc6e5e8dec9fde2ca9561ccdd400fd
|
7
|
+
data.tar.gz: 7c48127a7b84dd735958cf2a57ec1864b544153e536b8f2358b1c6a5cbb24d6f5cba24b5141271dfc41f1802ed0e506d1a196453605746a83ba756563b330b1d
|
data/lib/tasking/task.rb
CHANGED
@@ -21,7 +21,10 @@ module Tasking
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def execute( options = {} )
|
24
|
-
total_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.
|
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-
|
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: []
|